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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxSVGFileDC swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3228 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
, num
);
3235 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3237 self
->SetIndex(num
);
3242 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3244 return self
->GetIndex();
3250 SWIGINTERNINLINE PyObject
*
3251 SWIG_From_size_t (size_t value
)
3253 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3257 SWIGINTERNINLINE
int
3258 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3261 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3262 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3266 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3268 wxImage
img(cursorName
, type
);
3269 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3270 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3271 return new wxCursor(img
);
3273 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3276 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3279 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3282 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3283 return self
->operator bool();
3286 #include <wx/fontutil.h>
3287 #include <wx/fontmap.h>
3288 #include <wx/fontenum.h>
3290 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3291 return self
->ToString();
3294 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3295 { wxPyRaiseNotImplemented(); return NULL
; }
3297 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3298 { wxPyRaiseNotImplemented(); return false; }
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxString
& name
, // name (for messages)
3400 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3401 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxString
& GetString(const wxString
& origString
,
3411 const wxString
& domain
= wxPyEmptyString
) const;
3412 virtual const wxString
& GetString(const wxString
& origString
,
3413 const wxString
& origString2
,
3415 const wxString
& domain
= wxPyEmptyString
) const;
3417 virtual const wxString
& GetSingularString(const wxString
& origString
,
3418 const wxString
& domain
= wxPyEmptyString
) const;
3419 virtual const wxString
& GetPluralString(const wxString
& origString
,
3420 const wxString
& origString2
,
3422 const wxString
& domain
= wxPyEmptyString
) const;
3427 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3430 wxPyLocale::wxPyLocale() : wxLocale()
3434 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3435 const wxString
& shortName
, // dir prefix (for msg files)
3436 const wxString
& locale
, // locale (for setlocale)
3437 bool bLoadDefault
, // preload wxstd.mo?
3438 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3439 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3443 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3444 int flags
) : wxLocale(language
, flags
)
3448 wxPyLocale::~wxPyLocale()
3452 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3453 const wxString
& domain
) const
3455 return GetSingularString(origString
, domain
);
3458 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3459 const wxString
& origString2
,
3461 const wxString
& domain
) const
3463 return GetPluralString(origString
, origString2
, n
, domain
);
3466 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3467 const wxString
& domain
) const
3470 wxString
str( _T("error in translation"));
3471 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3472 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3473 PyObject
* param1
= wx2PyString(origString
);
3474 PyObject
* param2
= wx2PyString(domain
);
3475 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3479 str
= Py2wxString(ret
);
3483 wxPyEndBlockThreads(blocked
);
3484 return (found
? str
: wxLocale::GetString(origString
, domain
));
3487 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3488 const wxString
& origString2
, size_t n
,
3489 const wxString
& domain
) const
3492 wxString
str( _T("error in translation"));
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(origString
);
3496 PyObject
* param2
= wx2PyString(origString2
);
3497 PyObject
* param4
= wx2PyString(domain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3499 Py_BuildValue("(OOiO)",
3506 str
= Py2wxString(ret
);
3510 wxPyEndBlockThreads(blocked
);
3511 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3514 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3517 loc
= new wxPyLocale();
3519 loc
= new wxPyLocale(language
, flags
);
3520 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3521 // for the floating point conversions and such to work right.
3522 #if PY_VERSION_HEX < 0x02040000
3523 setlocale(LC_NUMERIC
, "C");
3528 #include "wx/wxPython/pydrawxxx.h"
3530 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3532 self
->GetPixel(x
, y
, &col
);
3535 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3537 self
->GetPixel(pt
, &col
);
3542 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3544 if (PyNumber_Check(obj
)) {
3545 if (val
) *val
= PyFloat_AsDouble(obj
);
3548 return SWIG_TypeError
;
3551 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3553 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3556 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3558 self
->GetClippingBox(rect
);
3561 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3563 self
->GetPartialTextExtents(text
, widths
);
3567 #define SWIG_From_double PyFloat_FromDouble
3569 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetLogicalOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->SetDeviceOrigin(point
.x
, point
.y
);
3575 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3576 self
->CalcBoundingBox(point
.x
, point
.y
);
3578 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3591 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3593 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3594 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3597 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3605 #include <wx/dcbuffer.h>
3608 #include <wx/dcps.h>
3611 #include <wx/metafile.h>
3614 #include <wx/dcsvg.h>
3617 #include <wx/graphics.h>
3620 #if !wxUSE_GRAPHICS_CONTEXT
3621 // C++ stub classes for platforms or build configurations that don't have
3622 // wxGraphicsContext yet.
3624 class wxGraphicsRenderer
;
3625 class wxGraphicsMatrix
;
3628 class wxGraphicsObject
: public wxObject
3631 wxGraphicsObject() {}
3632 wxGraphicsObject( wxGraphicsRenderer
* ) {
3633 PyErr_SetString(PyExc_NotImplementedError
,
3634 "wx.GraphicsObject is not available on this platform.");
3636 wxGraphicsObject( const wxGraphicsObject
& ) {}
3637 virtual ~wxGraphicsObject() {}
3638 bool IsNull() const { return false; }
3639 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3644 class wxGraphicsPen
: public wxGraphicsObject
3648 virtual ~wxGraphicsPen() {}
3650 wxGraphicsPen wxNullGraphicsPen
;
3654 class wxGraphicsBrush
: public wxGraphicsObject
3657 wxGraphicsBrush() {}
3658 virtual ~wxGraphicsBrush() {}
3660 wxGraphicsBrush wxNullGraphicsBrush
;
3664 class wxGraphicsFont
: public wxGraphicsObject
3668 virtual ~wxGraphicsFont() {}
3670 wxGraphicsFont wxNullGraphicsFont
;
3674 class wxGraphicsPath
: public wxGraphicsObject
3677 wxGraphicsPath() { }
3678 wxGraphicsPath(wxGraphicsRenderer
* ) {
3679 PyErr_SetString(PyExc_NotImplementedError
,
3680 "wx.GraphicsPath is not available on this platform.");
3682 virtual ~wxGraphicsPath() {}
3684 void MoveToPoint( wxDouble
, wxDouble
) {}
3685 void MoveToPoint( const wxPoint2DDouble
& ) {}
3686 void AddLineToPoint( wxDouble
, wxDouble
) {}
3687 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3688 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3689 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3690 void AddPath( const wxGraphicsPath
& ) {}
3691 void CloseSubpath() {}
3692 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3693 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3694 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3695 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3697 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3700 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3702 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3703 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3704 void * GetNativePath() const { return NULL
; }
3705 void UnGetNativePath(void *) const {}
3706 void Transform( const wxGraphicsMatrix
& ) {}
3707 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3708 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3710 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3711 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3713 wxGraphicsPath wxNullGraphicsPath
;
3716 class wxGraphicsMatrix
: public wxGraphicsObject
3719 wxGraphicsMatrix() { }
3720 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3721 PyErr_SetString(PyExc_NotImplementedError
,
3722 "wx.GraphicsMatrix is not available on this platform.");
3724 virtual ~wxGraphicsMatrix() {}
3725 virtual void Concat( const wxGraphicsMatrix
& ) {}
3726 virtual void Copy( const wxGraphicsMatrix
& ) {}
3727 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3728 wxDouble
, wxDouble
) {}
3729 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3730 wxDouble
*, wxDouble
*, wxDouble
*) {}
3731 virtual void Invert() {}
3732 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3733 virtual bool IsIdentity() const { return false; }
3734 virtual void Translate( wxDouble
, wxDouble
) {}
3735 virtual void Scale( wxDouble
, wxDouble
) {}
3736 virtual void Rotate( wxDouble
) {}
3737 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3738 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3739 virtual void * GetNativeMatrix() const { return NULL
; }
3741 wxGraphicsMatrix wxNullGraphicsMatrix
;
3744 class wxGraphicsContext
: public wxGraphicsObject
3748 wxGraphicsContext(wxGraphicsRenderer
* ) {
3749 PyErr_SetString(PyExc_NotImplementedError
,
3750 "wx.GraphicsContext is not available on this platform.");
3753 virtual ~wxGraphicsContext() {}
3755 static wxGraphicsContext
* Create() {
3756 PyErr_SetString(PyExc_NotImplementedError
,
3757 "wx.GraphicsContext is not available on this platform.");
3760 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3766 static wxGraphicsContext
* CreateFromNative( void * ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( wxWindow
* ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3786 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3788 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3790 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3791 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3793 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3794 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3795 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3797 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3799 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3800 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3802 virtual void PushState() {}
3803 virtual void PopState() {}
3804 virtual void Clip( const wxRegion
& ) {}
3805 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3806 virtual void ResetClip() {}
3807 virtual void * GetNativeContext() { return NULL
; }
3808 virtual int GetLogicalFunction() const { return 0; }
3809 virtual bool SetLogicalFunction(int ) {}
3810 virtual void Translate( wxDouble
, wxDouble
) {}
3811 virtual void Scale( wxDouble
, wxDouble
) {}
3812 virtual void Rotate( wxDouble
) {}
3813 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3814 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3815 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3817 virtual void SetPen( const wxGraphicsPen
& ) {}
3818 void SetPen( const wxPen
& ) {}
3820 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3821 void SetBrush( const wxBrush
& ) {}
3823 virtual void SetFont( const wxGraphicsFont
& ) {}
3824 void SetFont( const wxFont
&, const wxColour
& ) {}
3826 virtual void StrokePath( const wxGraphicsPath
& ) {}
3827 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3828 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3830 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3831 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3833 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3834 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3835 wxDouble
*, wxDouble
* ) const {}
3836 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3838 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3843 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3844 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3845 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3846 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3847 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual bool ShouldOffset() const { return false; }
3852 class wxGraphicsRenderer
: public wxObject
3855 wxGraphicsRenderer() {
3856 PyErr_SetString(PyExc_NotImplementedError
,
3857 "wx.GraphicsRenderer is not available on this platform.");
3860 virtual ~wxGraphicsRenderer() {}
3862 static wxGraphicsRenderer
* GetDefaultRenderer() {
3863 PyErr_SetString(PyExc_NotImplementedError
,
3864 "wx.GraphicsRenderer is not available on this platform.");
3868 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3869 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3870 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3871 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3872 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3874 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3876 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3879 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3880 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3881 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3882 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3883 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3884 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3885 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3890 class wxGCDC
: public wxWindowDC
3893 wxGCDC(const wxWindowDC
&) {
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3900 wxGCDC(const wxWindow
*) {
3901 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3902 PyErr_SetString(PyExc_NotImplementedError
,
3903 "wxGCDC is not available on this platform.");
3904 wxPyEndBlockThreads(blocked
);
3908 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3909 PyErr_SetString(PyExc_NotImplementedError
,
3910 "wxGCDC is not available on this platform.");
3911 wxPyEndBlockThreads(blocked
);
3914 virtual ~wxGCDC() {}
3916 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3917 void SetGraphicsContext( wxGraphicsContext
* ) {}
3922 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3923 if ( !backgroundBrush
.IsNull() )
3924 self
->DrawText(str
, x
, y
, backgroundBrush
);
3926 self
->DrawText(str
, x
, y
);
3928 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3929 if ( !backgroundBrush
.IsNull() )
3930 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3932 self
->DrawText(str
, x
, y
, angle
);
3934 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3935 wxDouble width
= 0.0,
3937 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3938 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3939 PyObject
* rv
= PyTuple_New(2);
3940 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3941 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3944 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3945 wxArrayDouble widths
;
3946 self
->GetPartialTextExtents(text
, widths
);
3949 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3950 size_t c1
, c2
, count
;
3951 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3952 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3954 if ( beginP
!= NULL
&& endP
!= NULL
)
3956 count
= wxMin(c1
, c2
);
3957 self
->StrokeLines(count
, beginP
, endP
);
3963 #include "wx/dcgraph.h"
3966 #include <wx/overlay.h>
3970 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3971 self
->AddColour(name
, wxColour(red
, green
, blue
));
3974 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3975 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3976 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3977 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3980 #include <wx/effects.h>
3983 #include "wx/renderer.h"
3986 SWIGINTERNINLINE PyObject
*
3987 SWIG_From_bool (bool value
)
3989 return PyBool_FromLong(value
? 1 : 0);
3993 #include "wx/wxPython/pseudodc.h"
3995 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3997 self
->GetIdBounds(id
, rect
);
4003 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4004 PyObject
*resultobj
= 0;
4005 wxGDIObject
*result
= 0 ;
4007 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (wxGDIObject
*)new wxGDIObject();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4022 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 PyObject
*resultobj
= 0;
4024 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4035 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_Py_Void();
4050 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4051 PyObject
*resultobj
= 0;
4052 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4056 PyObject
*swig_obj
[1] ;
4058 if (!args
) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4064 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (bool)(arg1
)->IsNull();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4080 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4083 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4084 return SWIG_Py_Void();
4087 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4088 return SWIG_Python_InitShadowInstance(args
);
4091 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
= 0;
4093 byte arg1
= (byte
) 0 ;
4094 byte arg2
= (byte
) 0 ;
4095 byte arg3
= (byte
) 0 ;
4096 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4097 wxColour
*result
= 0 ;
4098 unsigned char val1
;
4100 unsigned char val2
;
4102 unsigned char val3
;
4104 unsigned char val4
;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4108 PyObject
* obj2
= 0 ;
4109 PyObject
* obj3
= 0 ;
4110 char * kwnames
[] = {
4111 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4116 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4117 if (!SWIG_IsOK(ecode1
)) {
4118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4120 arg1
= static_cast< byte
>(val1
);
4123 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4124 if (!SWIG_IsOK(ecode2
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4127 arg2
= static_cast< byte
>(val2
);
4130 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4131 if (!SWIG_IsOK(ecode3
)) {
4132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4134 arg3
= static_cast< byte
>(val3
);
4137 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4138 if (!SWIG_IsOK(ecode4
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4141 arg4
= static_cast< byte
>(val4
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4156 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
*resultobj
= 0;
4158 wxString
*arg1
= 0 ;
4159 wxColour
*result
= 0 ;
4160 bool temp1
= false ;
4161 PyObject
* obj0
= 0 ;
4162 char * kwnames
[] = {
4163 (char *) "colorName", NULL
4166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4168 arg1
= wxString_in_helper(obj0
);
4169 if (arg1
== NULL
) SWIG_fail
;
4173 if (!wxPyCheckForApp()) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4194 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
= 0;
4196 unsigned long arg1
;
4197 wxColour
*result
= 0 ;
4198 unsigned long val1
;
4200 PyObject
* obj0
= 0 ;
4201 char * kwnames
[] = {
4202 (char *) "colRGB", NULL
4205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4206 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4207 if (!SWIG_IsOK(ecode1
)) {
4208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4210 arg1
= static_cast< unsigned long >(val1
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (wxColour
*)new wxColour(arg1
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4224 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4225 PyObject
*resultobj
= 0;
4226 wxColour
*arg1
= (wxColour
*) 0 ;
4229 PyObject
*swig_obj
[1] ;
4231 if (!args
) SWIG_fail
;
4233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4234 if (!SWIG_IsOK(res1
)) {
4235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4237 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 resultobj
= SWIG_Py_Void();
4252 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4253 PyObject
*resultobj
= 0;
4254 wxColour
*arg1
= (wxColour
*) 0 ;
4258 PyObject
*swig_obj
[1] ;
4260 if (!args
) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4266 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (byte
)(arg1
)->Red();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4280 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 PyObject
*resultobj
= 0;
4282 wxColour
*arg1
= (wxColour
*) 0 ;
4286 PyObject
*swig_obj
[1] ;
4288 if (!args
) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4294 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (byte
)(arg1
)->Green();
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4308 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxColour
*arg1
= (wxColour
*) 0 ;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4322 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 result
= (byte
)(arg1
)->Blue();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4336 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 PyObject
*resultobj
= 0;
4338 wxColour
*arg1
= (wxColour
*) 0 ;
4342 PyObject
*swig_obj
[1] ;
4344 if (!args
) SWIG_fail
;
4346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4347 if (!SWIG_IsOK(res1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4350 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (byte
)(arg1
)->Alpha();
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4364 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4365 PyObject
*resultobj
= 0;
4366 wxColour
*arg1
= (wxColour
*) 0 ;
4370 PyObject
*swig_obj
[1] ;
4372 if (!args
) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4378 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (bool)(arg1
)->IsOk();
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxColour
*arg1
= (wxColour
*) 0 ;
4400 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4403 unsigned char val2
;
4405 unsigned char val3
;
4407 unsigned char val4
;
4409 unsigned char val5
;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 PyObject
* obj2
= 0 ;
4414 PyObject
* obj3
= 0 ;
4415 PyObject
* obj4
= 0 ;
4416 char * kwnames
[] = {
4417 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4422 if (!SWIG_IsOK(res1
)) {
4423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4425 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4426 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4427 if (!SWIG_IsOK(ecode2
)) {
4428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4430 arg2
= static_cast< byte
>(val2
);
4431 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4432 if (!SWIG_IsOK(ecode3
)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4435 arg3
= static_cast< byte
>(val3
);
4436 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4437 if (!SWIG_IsOK(ecode4
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4440 arg4
= static_cast< byte
>(val4
);
4442 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4443 if (!SWIG_IsOK(ecode5
)) {
4444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4446 arg5
= static_cast< byte
>(val5
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_Py_Void();
4461 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
= 0;
4463 wxColour
*arg1
= (wxColour
*) 0 ;
4464 unsigned long arg2
;
4467 unsigned long val2
;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 char * kwnames
[] = {
4472 (char *) "self",(char *) "colRGB", NULL
4475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4477 if (!SWIG_IsOK(res1
)) {
4478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4480 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4481 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4482 if (!SWIG_IsOK(ecode2
)) {
4483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4485 arg2
= static_cast< unsigned long >(val2
);
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4492 resultobj
= SWIG_Py_Void();
4499 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= 0;
4501 wxColour
*arg1
= (wxColour
*) 0 ;
4502 wxString
*arg2
= 0 ;
4505 bool temp2
= false ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "colourName", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4517 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4519 arg2
= wxString_in_helper(obj1
);
4520 if (arg2
== NULL
) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 (arg1
)->Set((wxString
const &)*arg2
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= SWIG_Py_Void();
4544 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
= 0;
4546 wxColour
*arg1
= (wxColour
*) 0 ;
4547 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "self",(char *) "flags", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4564 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4566 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4567 if (!SWIG_IsOK(ecode2
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4570 arg2
= static_cast< long >(val2
);
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4591 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4592 PyObject
*resultobj
= 0;
4593 wxColour
*arg1
= (wxColour
*) 0 ;
4597 PyObject
*swig_obj
[1] ;
4599 if (!args
) SWIG_fail
;
4601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4602 if (!SWIG_IsOK(res1
)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4605 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 resultobj
= SWIG_From_long(static_cast< long >(result
));
4619 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
= 0;
4621 wxColour
*arg1
= (wxColour
*) 0 ;
4622 PyObject
*arg2
= (PyObject
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 char * kwnames
[] = {
4629 (char *) "self",(char *) "other", NULL
4632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4634 if (!SWIG_IsOK(res1
)) {
4635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4637 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4640 result
= (bool)wxColour___eq__(arg1
,arg2
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4652 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
= 0;
4654 wxColour
*arg1
= (wxColour
*) 0 ;
4655 PyObject
*arg2
= (PyObject
*) 0 ;
4659 PyObject
* obj0
= 0 ;
4660 PyObject
* obj1
= 0 ;
4661 char * kwnames
[] = {
4662 (char *) "self",(char *) "other", NULL
4665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4667 if (!SWIG_IsOK(res1
)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4670 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4673 result
= (bool)wxColour___ne__(arg1
,arg2
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4685 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
= 0;
4687 wxColour
*arg1
= (wxColour
*) 0 ;
4688 bool arg2
= (bool) false ;
4689 PyObject
*result
= 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 char * kwnames
[] = {
4697 (char *) "self",(char *) "includeAlpha", NULL
4700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4705 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4707 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4708 if (!SWIG_IsOK(ecode2
)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4711 arg2
= static_cast< bool >(val2
);
4714 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4724 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 PyObject
*resultobj
= 0;
4726 wxColour
*arg1
= (wxColour
*) 0 ;
4727 unsigned long result
;
4730 PyObject
*swig_obj
[1] ;
4732 if (!args
) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4738 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4740 result
= (unsigned long)wxColour_GetRGB(arg1
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4750 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4753 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4754 return SWIG_Py_Void();
4757 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4758 return SWIG_Python_InitShadowInstance(args
);
4761 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
= 0;
4764 unsigned char *arg2
= (unsigned char *) 0 ;
4765 unsigned char *arg3
= (unsigned char *) 0 ;
4766 unsigned char *arg4
= (unsigned char *) 0 ;
4767 wxPalette
*result
= 0 ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4778 PyObject
* obj2
= 0 ;
4779 PyObject
* obj3
= 0 ;
4780 char * kwnames
[] = {
4781 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4786 if (!SWIG_IsOK(ecode1
)) {
4787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4789 arg1
= static_cast< int >(val1
);
4790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4791 if (!SWIG_IsOK(res2
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4794 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4795 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4796 if (!SWIG_IsOK(res3
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4799 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4800 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4801 if (!SWIG_IsOK(res4
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4804 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4806 if (!wxPyCheckForApp()) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4819 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4820 PyObject
*resultobj
= 0;
4821 wxPalette
*arg1
= (wxPalette
*) 0 ;
4824 PyObject
*swig_obj
[1] ;
4826 if (!args
) SWIG_fail
;
4828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4829 if (!SWIG_IsOK(res1
)) {
4830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4832 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_Py_Void();
4847 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
= 0;
4849 wxPalette
*arg1
= (wxPalette
*) 0 ;
4856 unsigned char val2
;
4858 unsigned char val3
;
4860 unsigned char val4
;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 PyObject
* obj2
= 0 ;
4865 PyObject
* obj3
= 0 ;
4866 char * kwnames
[] = {
4867 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4872 if (!SWIG_IsOK(res1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4875 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4876 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4877 if (!SWIG_IsOK(ecode2
)) {
4878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4880 arg2
= static_cast< byte
>(val2
);
4881 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4882 if (!SWIG_IsOK(ecode3
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4885 arg3
= static_cast< byte
>(val3
);
4886 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4887 if (!SWIG_IsOK(ecode4
)) {
4888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4890 arg4
= static_cast< byte
>(val4
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_From_int(static_cast< int >(result
));
4904 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
= 0;
4906 wxPalette
*arg1
= (wxPalette
*) 0 ;
4908 byte
*arg3
= (byte
*) 0 ;
4909 byte
*arg4
= (byte
*) 0 ;
4910 byte
*arg5
= (byte
*) 0 ;
4917 int res3
= SWIG_TMPOBJ
;
4919 int res4
= SWIG_TMPOBJ
;
4921 int res5
= SWIG_TMPOBJ
;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 char * kwnames
[] = {
4925 (char *) "self",(char *) "pixel", NULL
4931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4936 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4951 if (SWIG_IsTmpObj(res3
)) {
4952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4954 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4957 if (SWIG_IsTmpObj(res4
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4960 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4963 if (SWIG_IsTmpObj(res5
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4966 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4975 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4976 PyObject
*resultobj
= 0;
4977 wxPalette
*arg1
= (wxPalette
*) 0 ;
4981 PyObject
*swig_obj
[1] ;
4983 if (!args
) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4989 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_From_int(static_cast< int >(result
));
5003 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5004 PyObject
*resultobj
= 0;
5005 wxPalette
*arg1
= (wxPalette
*) 0 ;
5009 PyObject
*swig_obj
[1] ;
5011 if (!args
) SWIG_fail
;
5013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5014 if (!SWIG_IsOK(res1
)) {
5015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5017 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= (bool)(arg1
)->IsOk();
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5033 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5037 return SWIG_Py_Void();
5040 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5041 return SWIG_Python_InitShadowInstance(args
);
5044 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
= 0;
5046 wxColour
*arg1
= 0 ;
5047 int arg2
= (int) 1 ;
5048 int arg3
= (int) wxSOLID
;
5055 PyObject
* obj0
= 0 ;
5056 PyObject
* obj1
= 0 ;
5057 PyObject
* obj2
= 0 ;
5058 char * kwnames
[] = {
5059 (char *) "colour",(char *) "width",(char *) "style", NULL
5062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5065 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5069 if (!SWIG_IsOK(ecode2
)) {
5070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5072 arg2
= static_cast< int >(val2
);
5075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5076 if (!SWIG_IsOK(ecode3
)) {
5077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5079 arg3
= static_cast< int >(val3
);
5082 if (!wxPyCheckForApp()) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5095 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5096 PyObject
*resultobj
= 0;
5097 wxPen
*arg1
= (wxPen
*) 0 ;
5100 PyObject
*swig_obj
[1] ;
5102 if (!args
) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5108 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 resultobj
= SWIG_Py_Void();
5123 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5124 PyObject
*resultobj
= 0;
5125 wxPen
*arg1
= (wxPen
*) 0 ;
5129 PyObject
*swig_obj
[1] ;
5131 if (!args
) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5137 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 result
= (int)(arg1
)->GetCap();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= SWIG_From_int(static_cast< int >(result
));
5151 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5152 PyObject
*resultobj
= 0;
5153 wxPen
*arg1
= (wxPen
*) 0 ;
5157 PyObject
*swig_obj
[1] ;
5159 if (!args
) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5165 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 result
= (arg1
)->GetColour();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5179 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5180 PyObject
*resultobj
= 0;
5181 wxPen
*arg1
= (wxPen
*) 0 ;
5185 PyObject
*swig_obj
[1] ;
5187 if (!args
) SWIG_fail
;
5189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5190 if (!SWIG_IsOK(res1
)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5193 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (int)(arg1
)->GetJoin();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_From_int(static_cast< int >(result
));
5207 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5208 PyObject
*resultobj
= 0;
5209 wxPen
*arg1
= (wxPen
*) 0 ;
5213 PyObject
*swig_obj
[1] ;
5215 if (!args
) SWIG_fail
;
5217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5218 if (!SWIG_IsOK(res1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5221 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 result
= (int)(arg1
)->GetStyle();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_From_int(static_cast< int >(result
));
5235 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5236 PyObject
*resultobj
= 0;
5237 wxPen
*arg1
= (wxPen
*) 0 ;
5241 PyObject
*swig_obj
[1] ;
5243 if (!args
) SWIG_fail
;
5245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5246 if (!SWIG_IsOK(res1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5249 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (int)(arg1
)->GetWidth();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_From_int(static_cast< int >(result
));
5263 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5264 PyObject
*resultobj
= 0;
5265 wxPen
*arg1
= (wxPen
*) 0 ;
5269 PyObject
*swig_obj
[1] ;
5271 if (!args
) SWIG_fail
;
5273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5274 if (!SWIG_IsOK(res1
)) {
5275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5277 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (bool)(arg1
)->IsOk();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5293 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxPen
*arg1
= (wxPen
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5303 char * kwnames
[] = {
5304 (char *) "self",(char *) "cap_style", NULL
5307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5309 if (!SWIG_IsOK(res1
)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5312 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5314 if (!SWIG_IsOK(ecode2
)) {
5315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5317 arg2
= static_cast< int >(val2
);
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetCap(arg2
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_Py_Void();
5331 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
= 0;
5333 wxPen
*arg1
= (wxPen
*) 0 ;
5334 wxColour
*arg2
= 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "self",(char *) "colour", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5349 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5352 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 (arg1
)->SetColour(*arg2
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5360 resultobj
= SWIG_Py_Void();
5367 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
= 0;
5369 wxPen
*arg1
= (wxPen
*) 0 ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5377 char * kwnames
[] = {
5378 (char *) "self",(char *) "join_style", NULL
5381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5383 if (!SWIG_IsOK(res1
)) {
5384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5386 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5388 if (!SWIG_IsOK(ecode2
)) {
5389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5391 arg2
= static_cast< int >(val2
);
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 (arg1
)->SetJoin(arg2
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_Py_Void();
5405 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
= 0;
5407 wxPen
*arg1
= (wxPen
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 char * kwnames
[] = {
5416 (char *) "self",(char *) "style", NULL
5419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5421 if (!SWIG_IsOK(res1
)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5424 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5426 if (!SWIG_IsOK(ecode2
)) {
5427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5429 arg2
= static_cast< int >(val2
);
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->SetStyle(arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= SWIG_Py_Void();
5443 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
= 0;
5445 wxPen
*arg1
= (wxPen
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 char * kwnames
[] = {
5454 (char *) "self",(char *) "width", NULL
5457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5459 if (!SWIG_IsOK(res1
)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5462 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5464 if (!SWIG_IsOK(ecode2
)) {
5465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5467 arg2
= static_cast< int >(val2
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->SetWidth(arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
= 0;
5483 wxPen
*arg1
= (wxPen
*) 0 ;
5485 wxDash
*arg3
= (wxDash
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 char * kwnames
[] = {
5491 (char *) "self",(char *) "dashes", NULL
5494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5496 if (!SWIG_IsOK(res1
)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5499 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5501 arg2
= PyList_Size(obj1
);
5502 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5503 if (arg3
== NULL
) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetDashes(arg2
,arg3
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_Py_Void();
5513 if (arg3
) delete [] arg3
;
5518 if (arg3
) delete [] arg3
;
5524 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5525 PyObject
*resultobj
= 0;
5526 wxPen
*arg1
= (wxPen
*) 0 ;
5527 PyObject
*result
= 0 ;
5530 PyObject
*swig_obj
[1] ;
5532 if (!args
) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5538 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5552 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
= 0;
5554 wxPen
*arg1
= (wxPen
*) 0 ;
5555 PyObject
*arg2
= (PyObject
*) 0 ;
5556 PyObject
*arg3
= (PyObject
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5561 PyObject
* obj2
= 0 ;
5562 char * kwnames
[] = {
5563 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5568 if (!SWIG_IsOK(res1
)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5571 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 wxPen__SetDashes(arg1
,arg2
,arg3
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_Py_Void();
5587 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5588 PyObject
*resultobj
= 0;
5589 wxPen
*arg1
= (wxPen
*) 0 ;
5593 PyObject
*swig_obj
[1] ;
5595 if (!args
) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5601 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= SWIG_From_int(static_cast< int >(result
));
5615 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5616 PyObject
*resultobj
= 0;
5617 wxPen
*arg1
= (wxPen
*) 0 ;
5618 wxBitmap
*result
= 0 ;
5621 PyObject
*swig_obj
[1] ;
5623 if (!args
) SWIG_fail
;
5625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5626 if (!SWIG_IsOK(res1
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5629 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (wxBitmap
*)(arg1
)->GetStipple();
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5643 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
*resultobj
= 0;
5645 wxPen
*arg1
= (wxPen
*) 0 ;
5646 wxBitmap
*arg2
= 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5653 char * kwnames
[] = {
5654 (char *) "self",(char *) "stipple", NULL
5657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5662 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5664 if (!SWIG_IsOK(res2
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5670 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->SetStipple(*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= SWIG_Py_Void();
5684 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= 0;
5686 wxPen
*arg1
= (wxPen
*) 0 ;
5687 wxPen
*arg2
= (wxPen
*) 0 ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 char * kwnames
[] = {
5696 (char *) "self",(char *) "other", NULL
5699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5701 if (!SWIG_IsOK(res1
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5704 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5706 if (!SWIG_IsOK(res2
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5709 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5725 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
= 0;
5727 wxPen
*arg1
= (wxPen
*) 0 ;
5728 wxPen
*arg2
= (wxPen
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 char * kwnames
[] = {
5737 (char *) "self",(char *) "other", NULL
5740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5742 if (!SWIG_IsOK(res1
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5745 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5746 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5747 if (!SWIG_IsOK(res2
)) {
5748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5750 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5766 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5769 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5770 return SWIG_Py_Void();
5773 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5774 return SWIG_Python_InitShadowInstance(args
);
5777 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5779 wxColour
*arg1
= 0 ;
5780 int arg2
= (int) wxSOLID
;
5781 wxBrush
*result
= 0 ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5787 char * kwnames
[] = {
5788 (char *) "colour",(char *) "style", NULL
5791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5794 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5798 if (!SWIG_IsOK(ecode2
)) {
5799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5801 arg2
= static_cast< int >(val2
);
5804 if (!wxPyCheckForApp()) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5817 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
= 0;
5819 wxBitmap
*arg1
= 0 ;
5820 wxBrush
*result
= 0 ;
5823 PyObject
* obj0
= 0 ;
5824 char * kwnames
[] = {
5825 (char *) "stippleBitmap", NULL
5828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5829 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5830 if (!SWIG_IsOK(res1
)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5836 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5838 if (!wxPyCheckForApp()) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5851 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5852 PyObject
*resultobj
= 0;
5853 wxBrush
*arg1
= (wxBrush
*) 0 ;
5856 PyObject
*swig_obj
[1] ;
5858 if (!args
) SWIG_fail
;
5860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5861 if (!SWIG_IsOK(res1
)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5864 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5872 resultobj
= SWIG_Py_Void();
5879 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
= 0;
5881 wxBrush
*arg1
= (wxBrush
*) 0 ;
5882 wxColour
*arg2
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "col", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5897 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5900 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->SetColour((wxColour
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_Py_Void();
5915 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
= 0;
5917 wxBrush
*arg1
= (wxBrush
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5924 PyObject
* obj1
= 0 ;
5925 char * kwnames
[] = {
5926 (char *) "self",(char *) "style", NULL
5929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5931 if (!SWIG_IsOK(res1
)) {
5932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5934 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5936 if (!SWIG_IsOK(ecode2
)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5939 arg2
= static_cast< int >(val2
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->SetStyle(arg2
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
= 0;
5955 wxBrush
*arg1
= (wxBrush
*) 0 ;
5956 wxBitmap
*arg2
= 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 char * kwnames
[] = {
5964 (char *) "self",(char *) "stipple", NULL
5967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5972 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5974 if (!SWIG_IsOK(res2
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5980 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_Py_Void();
5994 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxBrush
*arg1
= (wxBrush
*) 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6008 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= ((wxBrush
const *)arg1
)->GetColour();
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6022 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxBrush
*arg1
= (wxBrush
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6036 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_int(static_cast< int >(result
));
6050 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxBrush
*arg1
= (wxBrush
*) 0 ;
6053 wxBitmap
*result
= 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6064 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6078 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6079 PyObject
*resultobj
= 0;
6080 wxBrush
*arg1
= (wxBrush
*) 0 ;
6084 PyObject
*swig_obj
[1] ;
6086 if (!args
) SWIG_fail
;
6088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6089 if (!SWIG_IsOK(res1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6092 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6109 PyObject
*resultobj
= 0;
6110 wxBrush
*arg1
= (wxBrush
*) 0 ;
6114 PyObject
*swig_obj
[1] ;
6116 if (!args
) SWIG_fail
;
6118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6119 if (!SWIG_IsOK(res1
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6122 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (bool)(arg1
)->IsOk();
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6138 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6141 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6142 return SWIG_Py_Void();
6145 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6146 return SWIG_Python_InitShadowInstance(args
);
6149 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
= 0;
6151 wxString
*arg1
= 0 ;
6152 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6153 wxBitmap
*result
= 0 ;
6154 bool temp1
= false ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "name",(char *) "type", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6165 arg1
= wxString_in_helper(obj0
);
6166 if (arg1
== NULL
) SWIG_fail
;
6170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6171 if (!SWIG_IsOK(ecode2
)) {
6172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6174 arg2
= static_cast< wxBitmapType
>(val2
);
6177 if (!wxPyCheckForApp()) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6198 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6203 PyObject
*swig_obj
[1] ;
6205 if (!args
) SWIG_fail
;
6207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6208 if (!SWIG_IsOK(res1
)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6211 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_Py_Void();
6224 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
= 0;
6228 int arg3
= (int) -1 ;
6229 wxBitmap
*result
= 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6239 char * kwnames
[] = {
6240 (char *) "width",(char *) "height",(char *) "depth", NULL
6243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6245 if (!SWIG_IsOK(ecode1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6248 arg1
= static_cast< int >(val1
);
6249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6250 if (!SWIG_IsOK(ecode2
)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6253 arg2
= static_cast< int >(val2
);
6255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6256 if (!SWIG_IsOK(ecode3
)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6259 arg3
= static_cast< int >(val3
);
6262 if (!wxPyCheckForApp()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6275 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
= 0;
6278 wxBitmap
*result
= 0 ;
6281 PyObject
* obj0
= 0 ;
6282 char * kwnames
[] = {
6283 (char *) "icon", NULL
6286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6288 if (!SWIG_IsOK(res1
)) {
6289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6294 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6296 if (!wxPyCheckForApp()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
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_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6312 int arg2
= (int) -1 ;
6313 wxBitmap
*result
= 0 ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "image",(char *) "depth", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6332 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6335 if (!SWIG_IsOK(ecode2
)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6338 arg2
= static_cast< int >(val2
);
6341 if (!wxPyCheckForApp()) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6354 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= 0;
6356 PyObject
*arg1
= (PyObject
*) 0 ;
6357 wxBitmap
*result
= 0 ;
6358 PyObject
* obj0
= 0 ;
6359 char * kwnames
[] = {
6360 (char *) "listOfStrings", NULL
6363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6366 if (!wxPyCheckForApp()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6379 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
= 0;
6381 PyObject
*arg1
= (PyObject
*) 0 ;
6384 int arg4
= (int) 1 ;
6385 wxBitmap
*result
= 0 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6395 PyObject
* obj3
= 0 ;
6396 char * kwnames
[] = {
6397 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6403 if (!SWIG_IsOK(ecode2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6406 arg2
= static_cast< int >(val2
);
6407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6408 if (!SWIG_IsOK(ecode3
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6411 arg3
= static_cast< int >(val3
);
6413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6414 if (!SWIG_IsOK(ecode4
)) {
6415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6417 arg4
= static_cast< int >(val4
);
6420 if (!wxPyCheckForApp()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6433 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6439 PyObject
*swig_obj
[1] ;
6441 if (!args
) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6449 result
= (long)(arg1
)->GetHandle();
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_From_long(static_cast< long >(result
));
6459 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
*resultobj
= 0;
6461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6468 PyObject
* obj1
= 0 ;
6469 char * kwnames
[] = {
6470 (char *) "self",(char *) "handle", NULL
6473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6479 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6480 if (!SWIG_IsOK(ecode2
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6483 arg2
= static_cast< long >(val2
);
6485 wxBitmap_SetHandle(arg1
,arg2
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_Py_Void();
6495 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 result
= (bool)(arg1
)->IsOk();
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6523 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6524 PyObject
*resultobj
= 0;
6525 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6529 PyObject
*swig_obj
[1] ;
6531 if (!args
) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6537 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6539 result
= (int)(arg1
)->GetWidth();
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_From_int(static_cast< int >(result
));
6549 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6550 PyObject
*resultobj
= 0;
6551 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 PyObject
*swig_obj
[1] ;
6557 if (!args
) SWIG_fail
;
6559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6560 if (!SWIG_IsOK(res1
)) {
6561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6563 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6565 result
= (int)(arg1
)->GetHeight();
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_From_int(static_cast< int >(result
));
6575 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 PyObject
*resultobj
= 0;
6577 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6589 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 result
= (int)(arg1
)->GetDepth();
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 resultobj
= SWIG_From_int(static_cast< int >(result
));
6601 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6602 PyObject
*resultobj
= 0;
6603 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6607 PyObject
*swig_obj
[1] ;
6609 if (!args
) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6615 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 result
= wxBitmap_GetSize(arg1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6627 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6628 PyObject
*resultobj
= 0;
6629 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6630 SwigValueWrapper
<wxImage
> result
;
6633 PyObject
*swig_obj
[1] ;
6635 if (!args
) SWIG_fail
;
6637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6638 if (!SWIG_IsOK(res1
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6641 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6643 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6653 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6654 PyObject
*resultobj
= 0;
6655 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6656 wxMask
*result
= 0 ;
6659 PyObject
*swig_obj
[1] ;
6661 if (!args
) SWIG_fail
;
6663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6664 if (!SWIG_IsOK(res1
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6667 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6669 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6679 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
= 0;
6681 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6682 wxMask
*arg2
= (wxMask
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 char * kwnames
[] = {
6689 (char *) "self",(char *) "mask", NULL
6692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6694 if (!SWIG_IsOK(res1
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6698 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6699 if (!SWIG_IsOK(res2
)) {
6700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6703 (arg1
)->SetMask(arg2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_Py_Void();
6713 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6716 wxColour
*arg2
= 0 ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "self",(char *) "colour", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6731 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6737 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_Py_Void();
6747 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6751 SwigValueWrapper
<wxBitmap
> result
;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "rect", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6766 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6769 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6772 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6782 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6785 wxString
*arg2
= 0 ;
6787 wxPalette
*arg4
= (wxPalette
*) NULL
;
6791 bool temp2
= false ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6799 PyObject
* obj3
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6809 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6811 arg2
= wxString_in_helper(obj1
);
6812 if (arg2
== NULL
) SWIG_fail
;
6815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6816 if (!SWIG_IsOK(ecode3
)) {
6817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6819 arg3
= static_cast< wxBitmapType
>(val3
);
6821 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6822 if (!SWIG_IsOK(res4
)) {
6823 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6825 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6828 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6848 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
*resultobj
= 0;
6850 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6851 wxString
*arg2
= 0 ;
6856 bool temp2
= false ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "name",(char *) "type", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6873 arg2
= wxString_in_helper(obj1
);
6874 if (arg2
== NULL
) SWIG_fail
;
6877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6878 if (!SWIG_IsOK(ecode3
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6881 arg3
= static_cast< wxBitmapType
>(val3
);
6883 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6903 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6904 PyObject
*resultobj
= 0;
6905 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6906 wxPalette
*result
= 0 ;
6909 PyObject
*swig_obj
[1] ;
6911 if (!args
) SWIG_fail
;
6913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6914 if (!SWIG_IsOK(res1
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6917 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6919 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6929 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= 0;
6931 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6932 wxPalette
*arg2
= 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 char * kwnames
[] = {
6940 (char *) "self",(char *) "palette", NULL
6943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6950 if (!SWIG_IsOK(res2
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6956 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6958 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6968 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
= 0;
6970 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6978 PyObject
* obj1
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "icon", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6988 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6990 if (!SWIG_IsOK(res2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6996 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6998 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7010 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
= 0;
7012 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7018 PyObject
* obj0
= 0 ;
7019 PyObject
* obj1
= 0 ;
7020 char * kwnames
[] = {
7021 (char *) "self",(char *) "height", NULL
7024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7029 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7031 if (!SWIG_IsOK(ecode2
)) {
7032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7034 arg2
= static_cast< int >(val2
);
7036 (arg1
)->SetHeight(arg2
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_Py_Void();
7046 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 char * kwnames
[] = {
7057 (char *) "self",(char *) "width", NULL
7060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7062 if (!SWIG_IsOK(res1
)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7065 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7067 if (!SWIG_IsOK(ecode2
)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7070 arg2
= static_cast< int >(val2
);
7072 (arg1
)->SetWidth(arg2
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7092 char * kwnames
[] = {
7093 (char *) "self",(char *) "depth", NULL
7096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7098 if (!SWIG_IsOK(res1
)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7101 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7103 if (!SWIG_IsOK(ecode2
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7106 arg2
= static_cast< int >(val2
);
7108 (arg1
)->SetDepth(arg2
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= SWIG_Py_Void();
7118 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
= 0;
7120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7126 PyObject
* obj1
= 0 ;
7127 char * kwnames
[] = {
7128 (char *) "self",(char *) "size", NULL
7131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7136 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7142 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_Py_Void();
7152 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= 0;
7154 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7155 wxCursor
*arg2
= 0 ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7163 char * kwnames
[] = {
7164 (char *) "self",(char *) "cursor", NULL
7167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7169 if (!SWIG_IsOK(res1
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7172 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7174 if (!SWIG_IsOK(res2
)) {
7175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7180 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7182 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
= 0;
7196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 char * kwnames
[] = {
7205 (char *) "self",(char *) "data", NULL
7208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7210 if (!SWIG_IsOK(res1
)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7213 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7215 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7219 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= SWIG_Py_Void();
7229 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
= 0;
7231 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7239 char * kwnames
[] = {
7240 (char *) "self",(char *) "data", NULL
7243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7245 if (!SWIG_IsOK(res1
)) {
7246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7250 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7254 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_Py_Void();
7264 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
= 0;
7266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7267 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 char * kwnames
[] = {
7276 (char *) "self",(char *) "other", NULL
7279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7281 if (!SWIG_IsOK(res1
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7284 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7286 if (!SWIG_IsOK(res2
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7291 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7303 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= 0;
7305 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7306 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7312 PyObject
* obj0
= 0 ;
7313 PyObject
* obj1
= 0 ;
7314 char * kwnames
[] = {
7315 (char *) "self",(char *) "other", NULL
7318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7320 if (!SWIG_IsOK(res1
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7323 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7325 if (!SWIG_IsOK(res2
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7330 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7342 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7345 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7346 return SWIG_Py_Void();
7349 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 return SWIG_Python_InitShadowInstance(args
);
7353 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
= 0;
7361 wxBitmap
*result
= 0 ;
7368 PyObject
* obj0
= 0 ;
7369 PyObject
* obj1
= 0 ;
7370 PyObject
* obj2
= 0 ;
7371 PyObject
* obj3
= 0 ;
7372 char * kwnames
[] = {
7373 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7378 if (!SWIG_IsOK(ecode1
)) {
7379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7381 arg1
= static_cast< int >(val1
);
7382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7383 if (!SWIG_IsOK(ecode2
)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7386 arg2
= static_cast< int >(val2
);
7388 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7392 if (obj3
!= Py_None
) {
7393 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7398 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
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__BitmapFromBuffer(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:_BitmapFromBuffer",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 '" "_BitmapFromBuffer" "', 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 '" "_BitmapFromBuffer" "', 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
*)_BitmapFromBuffer(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__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7459 wxBitmap
*result
= 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7467 PyObject
* obj2
= 0 ;
7468 char * kwnames
[] = {
7469 (char *) "width",(char *) "height",(char *) "data", NULL
7472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7474 if (!SWIG_IsOK(ecode1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7477 arg1
= static_cast< int >(val1
);
7478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7479 if (!SWIG_IsOK(ecode2
)) {
7480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7482 arg2
= static_cast< int >(val2
);
7484 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7488 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7498 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7499 PyObject
*resultobj
= 0;
7500 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7504 PyObject
*swig_obj
[1] ;
7506 if (!args
) SWIG_fail
;
7508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7509 if (!SWIG_IsOK(res1
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7512 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7514 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7524 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7525 PyObject
*resultobj
= 0;
7526 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7530 PyObject
*swig_obj
[1] ;
7532 if (!args
) SWIG_fail
;
7534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7535 if (!SWIG_IsOK(res1
)) {
7536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7538 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7540 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= SWIG_From_int(static_cast< int >(result
));
7550 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7564 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7566 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_From_int(static_cast< int >(result
));
7576 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7577 PyObject
*resultobj
= 0;
7578 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7582 PyObject
*swig_obj
[1] ;
7584 if (!args
) SWIG_fail
;
7586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7587 if (!SWIG_IsOK(res1
)) {
7588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7590 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7592 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7602 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7603 PyObject
*resultobj
= 0;
7604 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7608 PyObject
*swig_obj
[1] ;
7610 if (!args
) SWIG_fail
;
7612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7613 if (!SWIG_IsOK(res1
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7616 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7618 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_From_int(static_cast< int >(result
));
7628 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7630 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7631 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7632 return SWIG_Py_Void();
7635 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7636 PyObject
*resultobj
= 0;
7637 wxBitmap
*arg1
= 0 ;
7638 wxNativePixelData
*result
= 0 ;
7642 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7644 if (!SWIG_IsOK(res1
)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7652 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7662 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7663 PyObject
*resultobj
= 0;
7664 wxBitmap
*arg1
= 0 ;
7666 wxNativePixelData
*result
= 0 ;
7671 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7673 if (!SWIG_IsOK(res1
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7679 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7682 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7685 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7695 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7696 PyObject
*resultobj
= 0;
7697 wxBitmap
*arg1
= 0 ;
7700 wxNativePixelData
*result
= 0 ;
7706 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7714 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7717 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7721 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7724 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7734 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7738 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7741 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7744 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7747 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7751 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7756 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7757 PyObject
*resultobj
= 0;
7758 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7761 PyObject
*swig_obj
[1] ;
7763 if (!args
) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7769 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_Py_Void();
7782 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7783 PyObject
*resultobj
= 0;
7784 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7785 wxNativePixelData_Accessor result
;
7788 PyObject
*swig_obj
[1] ;
7790 if (!args
) SWIG_fail
;
7792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7793 if (!SWIG_IsOK(res1
)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7796 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7798 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7808 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7809 PyObject
*resultobj
= 0;
7810 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7813 PyObject
*swig_obj
[1] ;
7815 if (!args
) SWIG_fail
;
7817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7818 if (!SWIG_IsOK(res1
)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7821 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_Py_Void();
7833 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7834 PyObject
*resultobj
= 0;
7835 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7839 PyObject
*swig_obj
[1] ;
7841 if (!args
) SWIG_fail
;
7843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7844 if (!SWIG_IsOK(res1
)) {
7845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7847 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7849 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7861 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7864 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7865 return SWIG_Py_Void();
7868 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 return SWIG_Python_InitShadowInstance(args
);
7872 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7873 PyObject
*resultobj
= 0;
7874 wxNativePixelData
*arg1
= 0 ;
7875 wxNativePixelData_Accessor
*result
= 0 ;
7879 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7887 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7889 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7899 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7900 PyObject
*resultobj
= 0;
7901 wxBitmap
*arg1
= 0 ;
7902 wxNativePixelData
*arg2
= 0 ;
7903 wxNativePixelData_Accessor
*result
= 0 ;
7909 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7917 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7918 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7919 if (!SWIG_IsOK(res2
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7925 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7927 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7937 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7938 PyObject
*resultobj
= 0;
7939 wxNativePixelData_Accessor
*result
= 0 ;
7941 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7943 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7953 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7957 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7960 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7963 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7966 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7970 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7975 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7976 PyObject
*resultobj
= 0;
7977 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7980 PyObject
*swig_obj
[1] ;
7982 if (!args
) SWIG_fail
;
7984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7985 if (!SWIG_IsOK(res1
)) {
7986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7988 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_Py_Void();
8001 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8004 wxNativePixelData
*arg2
= 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "self",(char *) "data", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8020 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8022 if (!SWIG_IsOK(res2
)) {
8023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8028 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8030 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_Py_Void();
8040 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8041 PyObject
*resultobj
= 0;
8042 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8046 PyObject
*swig_obj
[1] ;
8048 if (!args
) SWIG_fail
;
8050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8051 if (!SWIG_IsOK(res1
)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8054 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8056 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8057 if (PyErr_Occurred()) SWIG_fail
;
8060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8068 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8069 PyObject
*resultobj
= 0;
8070 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8073 PyObject
*swig_obj
[1] ;
8075 if (!args
) SWIG_fail
;
8077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8078 if (!SWIG_IsOK(res1
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8081 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8083 wxNativePixelData_Accessor_nextPixel(arg1
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= SWIG_Py_Void();
8093 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
= 0;
8095 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8096 wxNativePixelData
*arg2
= 0 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 char * kwnames
[] = {
8112 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8120 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8122 if (!SWIG_IsOK(res2
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8128 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8130 if (!SWIG_IsOK(ecode3
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8133 arg3
= static_cast< int >(val3
);
8134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8135 if (!SWIG_IsOK(ecode4
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8138 arg4
= static_cast< int >(val4
);
8140 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 resultobj
= SWIG_Py_Void();
8150 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
*resultobj
= 0;
8152 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8153 wxNativePixelData
*arg2
= 0 ;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "data",(char *) "x", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8175 if (!SWIG_IsOK(res2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8181 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8183 if (!SWIG_IsOK(ecode3
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8186 arg3
= static_cast< int >(val3
);
8188 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_Py_Void();
8198 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
= 0;
8200 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8201 wxNativePixelData
*arg2
= 0 ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 PyObject
* obj2
= 0 ;
8212 char * kwnames
[] = {
8213 (char *) "self",(char *) "data",(char *) "y", NULL
8216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8218 if (!SWIG_IsOK(res1
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8221 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8223 if (!SWIG_IsOK(res2
)) {
8224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8229 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8231 if (!SWIG_IsOK(ecode3
)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8234 arg3
= static_cast< int >(val3
);
8236 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8249 wxNativePixelData
*arg2
= 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8263 PyObject
* obj3
= 0 ;
8264 char * kwnames
[] = {
8265 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8273 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8275 if (!SWIG_IsOK(res2
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8281 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8283 if (!SWIG_IsOK(ecode3
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8286 arg3
= static_cast< int >(val3
);
8287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8288 if (!SWIG_IsOK(ecode4
)) {
8289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8291 arg4
= static_cast< int >(val4
);
8293 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= SWIG_Py_Void();
8303 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8311 unsigned char val2
;
8313 unsigned char val3
;
8315 unsigned char val4
;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8319 PyObject
* obj2
= 0 ;
8320 PyObject
* obj3
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8330 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8331 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8332 if (!SWIG_IsOK(ecode2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8335 arg2
= static_cast< byte
>(val2
);
8336 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8337 if (!SWIG_IsOK(ecode3
)) {
8338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8340 arg3
= static_cast< byte
>(val3
);
8341 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8342 if (!SWIG_IsOK(ecode4
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8345 arg4
= static_cast< byte
>(val4
);
8347 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_Py_Void();
8357 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8358 PyObject
*resultobj
= 0;
8359 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8360 PyObject
*result
= 0 ;
8363 PyObject
*swig_obj
[1] ;
8365 if (!args
) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8371 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8373 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8383 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8387 return SWIG_Py_Void();
8390 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 return SWIG_Python_InitShadowInstance(args
);
8394 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8395 PyObject
*resultobj
= 0;
8396 wxBitmap
*arg1
= 0 ;
8397 wxAlphaPixelData
*result
= 0 ;
8401 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8403 if (!SWIG_IsOK(res1
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8409 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8411 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8421 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8422 PyObject
*resultobj
= 0;
8423 wxBitmap
*arg1
= 0 ;
8425 wxAlphaPixelData
*result
= 0 ;
8430 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8432 if (!SWIG_IsOK(res1
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8438 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8441 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8444 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8454 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8455 PyObject
*resultobj
= 0;
8456 wxBitmap
*arg1
= 0 ;
8459 wxAlphaPixelData
*result
= 0 ;
8465 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8476 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8480 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8483 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8493 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8497 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8500 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8503 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8506 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8510 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8515 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8516 PyObject
*resultobj
= 0;
8517 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8520 PyObject
*swig_obj
[1] ;
8522 if (!args
) SWIG_fail
;
8524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8525 if (!SWIG_IsOK(res1
)) {
8526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8528 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_Py_Void();
8541 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8542 PyObject
*resultobj
= 0;
8543 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8544 wxAlphaPixelData_Accessor result
;
8547 PyObject
*swig_obj
[1] ;
8549 if (!args
) SWIG_fail
;
8551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8552 if (!SWIG_IsOK(res1
)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8555 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8557 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8567 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8568 PyObject
*resultobj
= 0;
8569 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8572 PyObject
*swig_obj
[1] ;
8574 if (!args
) SWIG_fail
;
8576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8577 if (!SWIG_IsOK(res1
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8580 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_Py_Void();
8592 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8593 PyObject
*resultobj
= 0;
8594 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8598 PyObject
*swig_obj
[1] ;
8600 if (!args
) SWIG_fail
;
8602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8603 if (!SWIG_IsOK(res1
)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8606 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8608 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8620 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8623 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8624 return SWIG_Py_Void();
8627 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8628 return SWIG_Python_InitShadowInstance(args
);
8631 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8632 PyObject
*resultobj
= 0;
8633 wxAlphaPixelData
*arg1
= 0 ;
8634 wxAlphaPixelData_Accessor
*result
= 0 ;
8638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8646 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8648 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8658 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8659 PyObject
*resultobj
= 0;
8660 wxBitmap
*arg1
= 0 ;
8661 wxAlphaPixelData
*arg2
= 0 ;
8662 wxAlphaPixelData_Accessor
*result
= 0 ;
8668 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8670 if (!SWIG_IsOK(res1
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8676 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8677 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8678 if (!SWIG_IsOK(res2
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8684 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8686 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8696 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8697 PyObject
*resultobj
= 0;
8698 wxAlphaPixelData_Accessor
*result
= 0 ;
8700 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8702 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8712 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8716 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8719 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8722 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8725 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8729 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8734 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8735 PyObject
*resultobj
= 0;
8736 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8739 PyObject
*swig_obj
[1] ;
8741 if (!args
) SWIG_fail
;
8743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8744 if (!SWIG_IsOK(res1
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8747 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= 0;
8762 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8763 wxAlphaPixelData
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "self",(char *) "data", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8779 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8781 if (!SWIG_IsOK(res2
)) {
8782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8787 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8789 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= SWIG_Py_Void();
8799 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8800 PyObject
*resultobj
= 0;
8801 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8805 PyObject
*swig_obj
[1] ;
8807 if (!args
) SWIG_fail
;
8809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8810 if (!SWIG_IsOK(res1
)) {
8811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8813 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8815 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8816 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8827 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8828 PyObject
*resultobj
= 0;
8829 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8832 PyObject
*swig_obj
[1] ;
8834 if (!args
) SWIG_fail
;
8836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8837 if (!SWIG_IsOK(res1
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8840 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8842 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_Py_Void();
8852 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
= 0;
8854 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8855 wxAlphaPixelData
*arg2
= 0 ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8869 PyObject
* obj3
= 0 ;
8870 char * kwnames
[] = {
8871 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8879 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8881 if (!SWIG_IsOK(res2
)) {
8882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8887 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8889 if (!SWIG_IsOK(ecode3
)) {
8890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8892 arg3
= static_cast< int >(val3
);
8893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8894 if (!SWIG_IsOK(ecode4
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8897 arg4
= static_cast< int >(val4
);
8899 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_Py_Void();
8909 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
= 0;
8911 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8912 wxAlphaPixelData
*arg2
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 PyObject
* obj2
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "self",(char *) "data",(char *) "x", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8932 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8934 if (!SWIG_IsOK(res2
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8940 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8942 if (!SWIG_IsOK(ecode3
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8945 arg3
= static_cast< int >(val3
);
8947 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_Py_Void();
8957 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= 0;
8959 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8960 wxAlphaPixelData
*arg2
= 0 ;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj1
= 0 ;
8970 PyObject
* obj2
= 0 ;
8971 char * kwnames
[] = {
8972 (char *) "self",(char *) "data",(char *) "y", NULL
8975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8980 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8982 if (!SWIG_IsOK(res2
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8988 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8990 if (!SWIG_IsOK(ecode3
)) {
8991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8993 arg3
= static_cast< int >(val3
);
8995 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= SWIG_Py_Void();
9005 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9008 wxAlphaPixelData
*arg2
= 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 PyObject
* obj2
= 0 ;
9022 PyObject
* obj3
= 0 ;
9023 char * kwnames
[] = {
9024 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9029 if (!SWIG_IsOK(res1
)) {
9030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9032 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9034 if (!SWIG_IsOK(res2
)) {
9035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9040 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9042 if (!SWIG_IsOK(ecode3
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9045 arg3
= static_cast< int >(val3
);
9046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9047 if (!SWIG_IsOK(ecode4
)) {
9048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9050 arg4
= static_cast< int >(val4
);
9052 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_Py_Void();
9062 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9071 unsigned char val2
;
9073 unsigned char val3
;
9075 unsigned char val4
;
9077 unsigned char val5
;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj2
= 0 ;
9082 PyObject
* obj3
= 0 ;
9083 PyObject
* obj4
= 0 ;
9084 char * kwnames
[] = {
9085 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9093 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9094 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9095 if (!SWIG_IsOK(ecode2
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9098 arg2
= static_cast< byte
>(val2
);
9099 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9100 if (!SWIG_IsOK(ecode3
)) {
9101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9103 arg3
= static_cast< byte
>(val3
);
9104 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9105 if (!SWIG_IsOK(ecode4
)) {
9106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9108 arg4
= static_cast< byte
>(val4
);
9109 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9110 if (!SWIG_IsOK(ecode5
)) {
9111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9113 arg5
= static_cast< byte
>(val5
);
9115 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_Py_Void();
9125 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 PyObject
*resultobj
= 0;
9127 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9128 PyObject
*result
= 0 ;
9131 PyObject
*swig_obj
[1] ;
9133 if (!args
) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9139 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9141 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9151 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9154 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9155 return SWIG_Py_Void();
9158 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9159 return SWIG_Python_InitShadowInstance(args
);
9162 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxBitmap
*arg1
= 0 ;
9165 wxColour
const &arg2_defvalue
= wxNullColour
;
9166 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9167 wxMask
*result
= 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "bitmap",(char *) "colour", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9185 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9193 if (!wxPyCheckForApp()) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9206 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9207 PyObject
*resultobj
= 0;
9208 wxMask
*arg1
= (wxMask
*) 0 ;
9211 PyObject
*swig_obj
[1] ;
9213 if (!args
) SWIG_fail
;
9215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9216 if (!SWIG_IsOK(res1
)) {
9217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9219 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9232 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9235 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9236 return SWIG_Py_Void();
9239 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 return SWIG_Python_InitShadowInstance(args
);
9243 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= 0;
9245 wxString
*arg1
= 0 ;
9247 int arg3
= (int) -1 ;
9248 int arg4
= (int) -1 ;
9249 wxIcon
*result
= 0 ;
9250 bool temp1
= false ;
9257 PyObject
* obj0
= 0 ;
9258 PyObject
* obj1
= 0 ;
9259 PyObject
* obj2
= 0 ;
9260 PyObject
* obj3
= 0 ;
9261 char * kwnames
[] = {
9262 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9267 arg1
= wxString_in_helper(obj0
);
9268 if (arg1
== NULL
) SWIG_fail
;
9271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9272 if (!SWIG_IsOK(ecode2
)) {
9273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9275 arg2
= static_cast< wxBitmapType
>(val2
);
9277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9278 if (!SWIG_IsOK(ecode3
)) {
9279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9281 arg3
= static_cast< int >(val3
);
9284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9285 if (!SWIG_IsOK(ecode4
)) {
9286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9288 arg4
= static_cast< int >(val4
);
9291 if (!wxPyCheckForApp()) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9312 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9313 PyObject
*resultobj
= 0;
9314 wxIcon
*arg1
= (wxIcon
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9325 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_Py_Void();
9340 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9341 PyObject
*resultobj
= 0;
9342 wxIcon
*result
= 0 ;
9344 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9346 if (!wxPyCheckForApp()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (wxIcon
*)new wxIcon();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9359 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxIconLocation
*arg1
= 0 ;
9362 wxIcon
*result
= 0 ;
9365 PyObject
* obj0
= 0 ;
9366 char * kwnames
[] = {
9367 (char *) "loc", NULL
9370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9372 if (!SWIG_IsOK(res1
)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9378 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9380 if (!wxPyCheckForApp()) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9393 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= 0;
9395 wxBitmap
*arg1
= 0 ;
9396 wxIcon
*result
= 0 ;
9399 PyObject
* obj0
= 0 ;
9400 char * kwnames
[] = {
9401 (char *) "bmp", NULL
9404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9412 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9414 if (!wxPyCheckForApp()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9427 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 PyObject
*arg1
= (PyObject
*) 0 ;
9430 wxIcon
*result
= 0 ;
9431 PyObject
* obj0
= 0 ;
9432 char * kwnames
[] = {
9433 (char *) "listOfStrings", NULL
9436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9439 if (!wxPyCheckForApp()) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (wxIcon
*)new_wxIcon(arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9452 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
= 0;
9454 wxIcon
*arg1
= (wxIcon
*) 0 ;
9455 wxString
*arg2
= 0 ;
9460 bool temp2
= false ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 PyObject
* obj2
= 0 ;
9466 char * kwnames
[] = {
9467 (char *) "self",(char *) "name",(char *) "type", NULL
9470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9475 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9477 arg2
= wxString_in_helper(obj1
);
9478 if (arg2
== NULL
) SWIG_fail
;
9481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9482 if (!SWIG_IsOK(ecode3
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9485 arg3
= static_cast< wxBitmapType
>(val3
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9509 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9510 PyObject
*resultobj
= 0;
9511 wxIcon
*arg1
= (wxIcon
*) 0 ;
9515 PyObject
*swig_obj
[1] ;
9517 if (!args
) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9523 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (long)(arg1
)->GetHandle();
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_From_long(static_cast< long >(result
));
9537 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxIcon
*arg1
= (wxIcon
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "handle", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9556 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9557 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9558 if (!SWIG_IsOK(ecode2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9561 arg2
= static_cast< long >(val2
);
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 wxIcon_SetHandle(arg1
,arg2
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_Py_Void();
9575 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9576 PyObject
*resultobj
= 0;
9577 wxIcon
*arg1
= (wxIcon
*) 0 ;
9581 PyObject
*swig_obj
[1] ;
9583 if (!args
) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9589 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (bool)(arg1
)->IsOk();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9605 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9606 PyObject
*resultobj
= 0;
9607 wxIcon
*arg1
= (wxIcon
*) 0 ;
9611 PyObject
*swig_obj
[1] ;
9613 if (!args
) SWIG_fail
;
9615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9616 if (!SWIG_IsOK(res1
)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9619 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (int)(arg1
)->GetWidth();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_From_int(static_cast< int >(result
));
9633 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9634 PyObject
*resultobj
= 0;
9635 wxIcon
*arg1
= (wxIcon
*) 0 ;
9639 PyObject
*swig_obj
[1] ;
9641 if (!args
) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9647 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (int)(arg1
)->GetHeight();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_From_int(static_cast< int >(result
));
9661 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9662 PyObject
*resultobj
= 0;
9663 wxIcon
*arg1
= (wxIcon
*) 0 ;
9667 PyObject
*swig_obj
[1] ;
9669 if (!args
) SWIG_fail
;
9671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9672 if (!SWIG_IsOK(res1
)) {
9673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9675 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 result
= (int)(arg1
)->GetDepth();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_From_int(static_cast< int >(result
));
9689 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
= 0;
9691 wxIcon
*arg1
= (wxIcon
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9698 PyObject
* obj1
= 0 ;
9699 char * kwnames
[] = {
9700 (char *) "self",(char *) "w", NULL
9703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9705 if (!SWIG_IsOK(res1
)) {
9706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9708 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9710 if (!SWIG_IsOK(ecode2
)) {
9711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9713 arg2
= static_cast< int >(val2
);
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 (arg1
)->SetWidth(arg2
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
= 0;
9729 wxIcon
*arg1
= (wxIcon
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9737 char * kwnames
[] = {
9738 (char *) "self",(char *) "h", NULL
9741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9743 if (!SWIG_IsOK(res1
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9746 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9748 if (!SWIG_IsOK(ecode2
)) {
9749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9751 arg2
= static_cast< int >(val2
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 (arg1
)->SetHeight(arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= SWIG_Py_Void();
9765 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
= 0;
9767 wxIcon
*arg1
= (wxIcon
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 char * kwnames
[] = {
9776 (char *) "self",(char *) "d", NULL
9779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9781 if (!SWIG_IsOK(res1
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9784 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9786 if (!SWIG_IsOK(ecode2
)) {
9787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9789 arg2
= static_cast< int >(val2
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 (arg1
)->SetDepth(arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
= 0;
9805 wxIcon
*arg1
= (wxIcon
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 char * kwnames
[] = {
9813 (char *) "self",(char *) "size", NULL
9816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9821 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 (arg1
)->SetSize((wxSize
const &)*arg2
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxIcon
*arg1
= (wxIcon
*) 0 ;
9842 wxBitmap
*arg2
= 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "bmp", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9858 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9860 if (!SWIG_IsOK(res2
)) {
9861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9866 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_Py_Void();
9880 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9883 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9884 return SWIG_Py_Void();
9887 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9888 return SWIG_Python_InitShadowInstance(args
);
9891 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
= 0;
9893 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9894 int arg2
= (int) 0 ;
9895 wxIconLocation
*result
= 0 ;
9896 bool temp1
= false ;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 char * kwnames
[] = {
9902 (char *) "filename",(char *) "num", NULL
9905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9908 arg1
= wxString_in_helper(obj0
);
9909 if (arg1
== NULL
) SWIG_fail
;
9914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9915 if (!SWIG_IsOK(ecode2
)) {
9916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9918 arg2
= static_cast< int >(val2
);
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9941 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9942 PyObject
*resultobj
= 0;
9943 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9946 PyObject
*swig_obj
[1] ;
9948 if (!args
) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9954 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_Py_Void();
9969 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9970 PyObject
*resultobj
= 0;
9971 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9975 PyObject
*swig_obj
[1] ;
9977 if (!args
) SWIG_fail
;
9979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9980 if (!SWIG_IsOK(res1
)) {
9981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9983 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9999 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10002 wxString
*arg2
= 0 ;
10005 bool temp2
= false ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 char * kwnames
[] = {
10009 (char *) "self",(char *) "filename", NULL
10012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10014 if (!SWIG_IsOK(res1
)) {
10015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10017 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10019 arg2
= wxString_in_helper(obj1
);
10020 if (arg2
== NULL
) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetFileName((wxString
const &)*arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_Py_Void();
10044 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 PyObject
*resultobj
= 0;
10046 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10047 wxString
*result
= 0 ;
10050 PyObject
*swig_obj
[1] ;
10052 if (!args
) SWIG_fail
;
10053 swig_obj
[0] = args
;
10054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10055 if (!SWIG_IsOK(res1
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10058 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10063 result
= (wxString
*) &_result_ref
;
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10081 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
= 0;
10083 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 PyObject
* obj1
= 0 ;
10091 char * kwnames
[] = {
10092 (char *) "self",(char *) "num", NULL
10095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10100 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10102 if (!SWIG_IsOK(ecode2
)) {
10103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10105 arg2
= static_cast< int >(val2
);
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 wxIconLocation_SetIndex(arg1
,arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_Py_Void();
10119 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10120 PyObject
*resultobj
= 0;
10121 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10125 PyObject
*swig_obj
[1] ;
10127 if (!args
) SWIG_fail
;
10128 swig_obj
[0] = args
;
10129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10130 if (!SWIG_IsOK(res1
)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10133 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 result
= (int)wxIconLocation_GetIndex(arg1
);
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) SWIG_fail
;
10140 resultobj
= SWIG_From_int(static_cast< int >(result
));
10147 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10150 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10151 return SWIG_Py_Void();
10154 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 return SWIG_Python_InitShadowInstance(args
);
10158 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 PyObject
*resultobj
= 0;
10160 wxIconBundle
*result
= 0 ;
10162 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (wxIconBundle
*)new wxIconBundle();
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10176 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
= 0;
10178 wxString
*arg1
= 0 ;
10180 wxIconBundle
*result
= 0 ;
10181 bool temp1
= false ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char * kwnames
[] = {
10187 (char *) "file",(char *) "type", NULL
10190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10192 arg1
= wxString_in_helper(obj0
);
10193 if (arg1
== NULL
) SWIG_fail
;
10196 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10197 if (!SWIG_IsOK(ecode2
)) {
10198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10200 arg2
= static_cast< long >(val2
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10222 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
= 0;
10225 wxIconBundle
*result
= 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "icon", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10241 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10255 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10260 PyObject
*swig_obj
[1] ;
10262 if (!args
) SWIG_fail
;
10263 swig_obj
[0] = args
;
10264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10268 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_Py_Void();
10283 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10284 PyObject
*resultobj
= 0;
10285 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10289 PyObject
*swig_obj
[1] ;
10291 if (!args
) SWIG_fail
;
10292 swig_obj
[0] = args
;
10293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10294 if (!SWIG_IsOK(res1
)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10297 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10313 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
= 0;
10315 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 char * kwnames
[] = {
10324 (char *) "self",(char *) "icon", NULL
10327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10329 if (!SWIG_IsOK(res1
)) {
10330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10332 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10334 if (!SWIG_IsOK(res2
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10340 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_Py_Void();
10354 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10357 wxString
*arg2
= 0 ;
10361 bool temp2
= false ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 PyObject
* obj2
= 0 ;
10367 char * kwnames
[] = {
10368 (char *) "self",(char *) "file",(char *) "type", NULL
10371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10373 if (!SWIG_IsOK(res1
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10376 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10378 arg2
= wxString_in_helper(obj1
);
10379 if (arg2
== NULL
) SWIG_fail
;
10382 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10383 if (!SWIG_IsOK(ecode3
)) {
10384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10386 arg3
= static_cast< long >(val3
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_Py_Void();
10408 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
= 0;
10410 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10412 wxIcon
*result
= 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char * kwnames
[] = {
10419 (char *) "self",(char *) "size", NULL
10422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10424 if (!SWIG_IsOK(res1
)) {
10425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10427 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10430 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10436 result
= (wxIcon
*) &_result_ref
;
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 wxIcon
* resultptr
= new wxIcon(*result
);
10443 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10451 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
= 0;
10453 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 char * kwnames
[] = {
10462 (char *) "self",(char *) "size", NULL
10465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10467 if (!SWIG_IsOK(res1
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10470 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10473 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10488 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10502 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10516 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= 0;
10518 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 char * kwnames
[] = {
10528 (char *) "self",(char *) "n", NULL
10531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10536 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10537 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10538 if (!SWIG_IsOK(ecode2
)) {
10539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10541 arg2
= static_cast< size_t >(val2
);
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10555 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10556 PyObject
*resultobj
= 0;
10557 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10561 PyObject
*swig_obj
[1] ;
10563 if (!args
) SWIG_fail
;
10564 swig_obj
[0] = args
;
10565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10566 if (!SWIG_IsOK(res1
)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10569 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10585 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10588 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10589 return SWIG_Py_Void();
10592 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10593 return SWIG_Python_InitShadowInstance(args
);
10596 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
= 0;
10598 wxString
*arg1
= 0 ;
10600 int arg3
= (int) 0 ;
10601 int arg4
= (int) 0 ;
10602 wxCursor
*result
= 0 ;
10603 bool temp1
= false ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 PyObject
* obj2
= 0 ;
10613 PyObject
* obj3
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10620 arg1
= wxString_in_helper(obj0
);
10621 if (arg1
== NULL
) SWIG_fail
;
10624 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10625 if (!SWIG_IsOK(ecode2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10628 arg2
= static_cast< long >(val2
);
10630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10631 if (!SWIG_IsOK(ecode3
)) {
10632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10634 arg3
= static_cast< int >(val3
);
10637 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10638 if (!SWIG_IsOK(ecode4
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10641 arg4
= static_cast< int >(val4
);
10644 if (!wxPyCheckForApp()) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10665 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10666 PyObject
*resultobj
= 0;
10667 wxCursor
*arg1
= (wxCursor
*) 0 ;
10670 PyObject
*swig_obj
[1] ;
10672 if (!args
) SWIG_fail
;
10673 swig_obj
[0] = args
;
10674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10678 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_Py_Void();
10693 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
= 0;
10696 wxCursor
*result
= 0 ;
10699 PyObject
* obj0
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "id", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10706 if (!SWIG_IsOK(ecode1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10709 arg1
= static_cast< int >(val1
);
10711 if (!wxPyCheckForApp()) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (wxCursor
*)new wxCursor(arg1
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10724 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
= 0;
10726 wxImage
*arg1
= 0 ;
10727 wxCursor
*result
= 0 ;
10730 PyObject
* obj0
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "image", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10736 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10743 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10745 if (!wxPyCheckForApp()) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10758 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10759 PyObject
*resultobj
= 0;
10760 wxCursor
*arg1
= (wxCursor
*) 0 ;
10764 PyObject
*swig_obj
[1] ;
10766 if (!args
) SWIG_fail
;
10767 swig_obj
[0] = args
;
10768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10769 if (!SWIG_IsOK(res1
)) {
10770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10772 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (long)(arg1
)->GetHandle();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= SWIG_From_long(static_cast< long >(result
));
10786 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= 0;
10788 wxCursor
*arg1
= (wxCursor
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 char * kwnames
[] = {
10797 (char *) "self",(char *) "handle", NULL
10800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10805 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10806 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10807 if (!SWIG_IsOK(ecode2
)) {
10808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10810 arg2
= static_cast< long >(val2
);
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 wxCursor_SetHandle(arg1
,arg2
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_Py_Void();
10824 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10825 PyObject
*resultobj
= 0;
10826 wxCursor
*arg1
= (wxCursor
*) 0 ;
10830 PyObject
*swig_obj
[1] ;
10832 if (!args
) SWIG_fail
;
10833 swig_obj
[0] = args
;
10834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10838 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (bool)(arg1
)->IsOk();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10854 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10855 PyObject
*resultobj
= 0;
10856 wxCursor
*arg1
= (wxCursor
*) 0 ;
10860 PyObject
*swig_obj
[1] ;
10862 if (!args
) SWIG_fail
;
10863 swig_obj
[0] = args
;
10864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10868 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (int)(arg1
)->GetWidth();
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_From_int(static_cast< int >(result
));
10882 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10883 PyObject
*resultobj
= 0;
10884 wxCursor
*arg1
= (wxCursor
*) 0 ;
10888 PyObject
*swig_obj
[1] ;
10890 if (!args
) SWIG_fail
;
10891 swig_obj
[0] = args
;
10892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10896 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (int)(arg1
)->GetHeight();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_From_int(static_cast< int >(result
));
10910 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10911 PyObject
*resultobj
= 0;
10912 wxCursor
*arg1
= (wxCursor
*) 0 ;
10916 PyObject
*swig_obj
[1] ;
10918 if (!args
) SWIG_fail
;
10919 swig_obj
[0] = args
;
10920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10921 if (!SWIG_IsOK(res1
)) {
10922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10924 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (int)(arg1
)->GetDepth();
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_From_int(static_cast< int >(result
));
10938 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
= 0;
10940 wxCursor
*arg1
= (wxCursor
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 char * kwnames
[] = {
10949 (char *) "self",(char *) "w", NULL
10952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10954 if (!SWIG_IsOK(res1
)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10957 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10959 if (!SWIG_IsOK(ecode2
)) {
10960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10962 arg2
= static_cast< int >(val2
);
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetWidth(arg2
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_Py_Void();
10976 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxCursor
*arg1
= (wxCursor
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 PyObject
* obj1
= 0 ;
10986 char * kwnames
[] = {
10987 (char *) "self",(char *) "h", NULL
10990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10992 if (!SWIG_IsOK(res1
)) {
10993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10995 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10997 if (!SWIG_IsOK(ecode2
)) {
10998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
11000 arg2
= static_cast< int >(val2
);
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 (arg1
)->SetHeight(arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_Py_Void();
11014 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
= 0;
11016 wxCursor
*arg1
= (wxCursor
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 char * kwnames
[] = {
11025 (char *) "self",(char *) "d", NULL
11028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
11030 if (!SWIG_IsOK(res1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
11033 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
11034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11035 if (!SWIG_IsOK(ecode2
)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
11038 arg2
= static_cast< int >(val2
);
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 (arg1
)->SetDepth(arg2
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= SWIG_Py_Void();
11052 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
= 0;
11054 wxCursor
*arg1
= (wxCursor
*) 0 ;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj1
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "self",(char *) "size", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
11070 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
11073 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 (arg1
)->SetSize((wxSize
const &)*arg2
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_Py_Void();
11088 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11091 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
11092 return SWIG_Py_Void();
11095 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11096 return SWIG_Python_InitShadowInstance(args
);
11099 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= 0;
11101 int arg1
= (int) 0 ;
11102 int arg2
= (int) 0 ;
11103 int arg3
= (int) 0 ;
11104 int arg4
= (int) 0 ;
11105 wxRegion
*result
= 0 ;
11114 PyObject
* obj0
= 0 ;
11115 PyObject
* obj1
= 0 ;
11116 PyObject
* obj2
= 0 ;
11117 PyObject
* obj3
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11125 if (!SWIG_IsOK(ecode1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
11128 arg1
= static_cast< int >(val1
);
11131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11132 if (!SWIG_IsOK(ecode2
)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
11135 arg2
= static_cast< int >(val2
);
11138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11139 if (!SWIG_IsOK(ecode3
)) {
11140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
11142 arg3
= static_cast< int >(val3
);
11145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11146 if (!SWIG_IsOK(ecode4
)) {
11147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
11149 arg4
= static_cast< int >(val4
);
11152 if (!wxPyCheckForApp()) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
11165 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
= 0;
11167 wxBitmap
*arg1
= 0 ;
11168 wxRegion
*result
= 0 ;
11171 PyObject
* obj0
= 0 ;
11172 char * kwnames
[] = {
11173 (char *) "bmp", NULL
11176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11177 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11178 if (!SWIG_IsOK(res1
)) {
11179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11184 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11186 if (!wxPyCheckForApp()) SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11199 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxBitmap
*arg1
= 0 ;
11202 wxColour
*arg2
= 0 ;
11203 int arg3
= (int) 0 ;
11204 wxRegion
*result
= 0 ;
11210 PyObject
* obj0
= 0 ;
11211 PyObject
* obj1
= 0 ;
11212 PyObject
* obj2
= 0 ;
11213 char * kwnames
[] = {
11214 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11218 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11225 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11228 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11232 if (!SWIG_IsOK(ecode3
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11235 arg3
= static_cast< int >(val3
);
11238 if (!wxPyCheckForApp()) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11251 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11254 wxPoint
*arg2
= (wxPoint
*) 0 ;
11255 int arg3
= (int) wxWINDING_RULE
;
11256 wxRegion
*result
= 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "points",(char *) "fillStyle", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11267 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11268 if (arg2
== NULL
) SWIG_fail
;
11271 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11272 if (!SWIG_IsOK(ecode3
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11275 arg3
= static_cast< int >(val3
);
11278 if (!wxPyCheckForApp()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11286 if (arg2
) delete [] arg2
;
11291 if (arg2
) delete [] arg2
;
11297 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11298 PyObject
*resultobj
= 0;
11299 wxRegion
*arg1
= (wxRegion
*) 0 ;
11302 PyObject
*swig_obj
[1] ;
11304 if (!args
) SWIG_fail
;
11305 swig_obj
[0] = args
;
11306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11310 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_Py_Void();
11325 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxRegion
*arg1
= (wxRegion
*) 0 ;
11330 PyObject
*swig_obj
[1] ;
11332 if (!args
) SWIG_fail
;
11333 swig_obj
[0] = args
;
11334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11335 if (!SWIG_IsOK(res1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_Py_Void();
11352 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= 0;
11354 wxRegion
*arg1
= (wxRegion
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 PyObject
* obj2
= 0 ;
11367 char * kwnames
[] = {
11368 (char *) "self",(char *) "x",(char *) "y", NULL
11371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11373 if (!SWIG_IsOK(res1
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11376 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11378 if (!SWIG_IsOK(ecode2
)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11381 arg2
= static_cast< int >(val2
);
11382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11383 if (!SWIG_IsOK(ecode3
)) {
11384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11386 arg3
= static_cast< int >(val3
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11402 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
= 0;
11404 wxRegion
*arg1
= (wxRegion
*) 0 ;
11407 wxRegionContain result
;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 PyObject
* obj2
= 0 ;
11417 char * kwnames
[] = {
11418 (char *) "self",(char *) "x",(char *) "y", NULL
11421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11423 if (!SWIG_IsOK(res1
)) {
11424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11426 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11428 if (!SWIG_IsOK(ecode2
)) {
11429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11431 arg2
= static_cast< int >(val2
);
11432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11433 if (!SWIG_IsOK(ecode3
)) {
11434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11436 arg3
= static_cast< int >(val3
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_From_int(static_cast< int >(result
));
11450 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= 0;
11452 wxRegion
*arg1
= (wxRegion
*) 0 ;
11453 wxPoint
*arg2
= 0 ;
11454 wxRegionContain result
;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 char * kwnames
[] = {
11461 (char *) "self",(char *) "pt", NULL
11464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11469 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_From_int(static_cast< int >(result
));
11487 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxRegion
*arg1
= (wxRegion
*) 0 ;
11491 wxRegionContain result
;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "rect", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11509 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= SWIG_From_int(static_cast< int >(result
));
11524 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
= 0;
11526 wxRegion
*arg1
= (wxRegion
*) 0 ;
11531 wxRegionContain result
;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 PyObject
* obj2
= 0 ;
11545 PyObject
* obj3
= 0 ;
11546 PyObject
* obj4
= 0 ;
11547 char * kwnames
[] = {
11548 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11553 if (!SWIG_IsOK(res1
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11558 if (!SWIG_IsOK(ecode2
)) {
11559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11561 arg2
= static_cast< int >(val2
);
11562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11563 if (!SWIG_IsOK(ecode3
)) {
11564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11566 arg3
= static_cast< int >(val3
);
11567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11568 if (!SWIG_IsOK(ecode4
)) {
11569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11571 arg4
= static_cast< int >(val4
);
11572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11573 if (!SWIG_IsOK(ecode5
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11576 arg5
= static_cast< int >(val5
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_From_int(static_cast< int >(result
));
11590 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11591 PyObject
*resultobj
= 0;
11592 wxRegion
*arg1
= (wxRegion
*) 0 ;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11604 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 result
= (arg1
)->GetBox();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11618 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11619 PyObject
*resultobj
= 0;
11620 wxRegion
*arg1
= (wxRegion
*) 0 ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 PyObject
* obj4
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11650 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11652 if (!SWIG_IsOK(ecode2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11655 arg2
= static_cast< int >(val2
);
11656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11657 if (!SWIG_IsOK(ecode3
)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11660 arg3
= static_cast< int >(val3
);
11661 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11662 if (!SWIG_IsOK(ecode4
)) {
11663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11665 arg4
= static_cast< int >(val4
);
11666 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11667 if (!SWIG_IsOK(ecode5
)) {
11668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11670 arg5
= static_cast< int >(val5
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11686 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
= 0;
11688 wxRegion
*arg1
= (wxRegion
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char * kwnames
[] = {
11697 (char *) "self",(char *) "rect", NULL
11700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11705 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11725 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxRegion
*arg1
= (wxRegion
*) 0 ;
11728 wxRegion
*arg2
= 0 ;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj1
= 0 ;
11736 char * kwnames
[] = {
11737 (char *) "self",(char *) "region", NULL
11740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11745 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11747 if (!SWIG_IsOK(res2
)) {
11748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11753 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11769 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11770 PyObject
*resultobj
= 0;
11771 wxRegion
*arg1
= (wxRegion
*) 0 ;
11775 PyObject
*swig_obj
[1] ;
11777 if (!args
) SWIG_fail
;
11778 swig_obj
[0] = args
;
11779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11783 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (bool)(arg1
)->IsEmpty();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11799 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
= 0;
11801 wxRegion
*arg1
= (wxRegion
*) 0 ;
11802 wxRegion
*arg2
= 0 ;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 char * kwnames
[] = {
11811 (char *) "self",(char *) "region", NULL
11814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11819 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11821 if (!SWIG_IsOK(res2
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11827 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11843 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
= 0;
11845 wxRegion
*arg1
= (wxRegion
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 PyObject
* obj2
= 0 ;
11864 PyObject
* obj3
= 0 ;
11865 PyObject
* obj4
= 0 ;
11866 char * kwnames
[] = {
11867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11875 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11877 if (!SWIG_IsOK(ecode2
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11880 arg2
= static_cast< int >(val2
);
11881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11882 if (!SWIG_IsOK(ecode3
)) {
11883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11885 arg3
= static_cast< int >(val3
);
11886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11887 if (!SWIG_IsOK(ecode4
)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11890 arg4
= static_cast< int >(val4
);
11891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11892 if (!SWIG_IsOK(ecode5
)) {
11893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11895 arg5
= static_cast< int >(val5
);
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
= 0;
11913 wxRegion
*arg1
= (wxRegion
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 PyObject
* obj1
= 0 ;
11921 char * kwnames
[] = {
11922 (char *) "self",(char *) "rect", NULL
11925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11927 if (!SWIG_IsOK(res1
)) {
11928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11930 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11950 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
= 0;
11952 wxRegion
*arg1
= (wxRegion
*) 0 ;
11953 wxRegion
*arg2
= 0 ;
11959 PyObject
* obj0
= 0 ;
11960 PyObject
* obj1
= 0 ;
11961 char * kwnames
[] = {
11962 (char *) "self",(char *) "region", NULL
11965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11967 if (!SWIG_IsOK(res1
)) {
11968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11970 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11972 if (!SWIG_IsOK(res2
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11978 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11994 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11995 PyObject
*resultobj
= 0;
11996 wxRegion
*arg1
= (wxRegion
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 PyObject
* obj2
= 0 ;
12015 PyObject
* obj3
= 0 ;
12016 PyObject
* obj4
= 0 ;
12017 char * kwnames
[] = {
12018 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12023 if (!SWIG_IsOK(res1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
12026 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12028 if (!SWIG_IsOK(ecode2
)) {
12029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
12031 arg2
= static_cast< int >(val2
);
12032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12033 if (!SWIG_IsOK(ecode3
)) {
12034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
12036 arg3
= static_cast< int >(val3
);
12037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12038 if (!SWIG_IsOK(ecode4
)) {
12039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
12041 arg4
= static_cast< int >(val4
);
12042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12043 if (!SWIG_IsOK(ecode5
)) {
12044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
12046 arg5
= static_cast< int >(val5
);
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
= 0;
12064 wxRegion
*arg1
= (wxRegion
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "rect", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12081 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12084 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12101 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= 0;
12103 wxRegion
*arg1
= (wxRegion
*) 0 ;
12104 wxRegion
*arg2
= 0 ;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char * kwnames
[] = {
12113 (char *) "self",(char *) "region", NULL
12116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12118 if (!SWIG_IsOK(res1
)) {
12119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12121 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12123 if (!SWIG_IsOK(res2
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12129 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
= 0;
12147 wxRegion
*arg1
= (wxRegion
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 PyObject
* obj2
= 0 ;
12166 PyObject
* obj3
= 0 ;
12167 PyObject
* obj4
= 0 ;
12168 char * kwnames
[] = {
12169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12177 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12179 if (!SWIG_IsOK(ecode2
)) {
12180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12182 arg2
= static_cast< int >(val2
);
12183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12184 if (!SWIG_IsOK(ecode3
)) {
12185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12187 arg3
= static_cast< int >(val3
);
12188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12189 if (!SWIG_IsOK(ecode4
)) {
12190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12192 arg4
= static_cast< int >(val4
);
12193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12194 if (!SWIG_IsOK(ecode5
)) {
12195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12197 arg5
= static_cast< int >(val5
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12213 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12214 PyObject
*resultobj
= 0;
12215 wxRegion
*arg1
= (wxRegion
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char * kwnames
[] = {
12224 (char *) "self",(char *) "rect", NULL
12227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12229 if (!SWIG_IsOK(res1
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12232 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12252 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
= 0;
12254 wxRegion
*arg1
= (wxRegion
*) 0 ;
12255 wxRegion
*arg2
= 0 ;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char * kwnames
[] = {
12264 (char *) "self",(char *) "region", NULL
12267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12269 if (!SWIG_IsOK(res1
)) {
12270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12272 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12274 if (!SWIG_IsOK(res2
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12280 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12296 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 PyObject
*resultobj
= 0;
12298 wxRegion
*arg1
= (wxRegion
*) 0 ;
12299 SwigValueWrapper
<wxBitmap
> result
;
12302 PyObject
*swig_obj
[1] ;
12304 if (!args
) SWIG_fail
;
12305 swig_obj
[0] = args
;
12306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12310 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (arg1
)->ConvertToBitmap();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12324 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
= 0;
12326 wxRegion
*arg1
= (wxRegion
*) 0 ;
12327 wxBitmap
*arg2
= 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "bmp", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12344 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12345 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12346 if (!SWIG_IsOK(res2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12352 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12368 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxRegion
*arg1
= (wxRegion
*) 0 ;
12371 wxBitmap
*arg2
= 0 ;
12372 wxColour
*arg3
= 0 ;
12373 int arg4
= (int) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 PyObject
* obj2
= 0 ;
12385 PyObject
* obj3
= 0 ;
12386 char * kwnames
[] = {
12387 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12392 if (!SWIG_IsOK(res1
)) {
12393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12395 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12397 if (!SWIG_IsOK(res2
)) {
12398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12403 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12406 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12410 if (!SWIG_IsOK(ecode4
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12413 arg4
= static_cast< int >(val4
);
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12430 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12433 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12434 return SWIG_Py_Void();
12437 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 return SWIG_Python_InitShadowInstance(args
);
12441 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= 0;
12443 wxRegion
*arg1
= 0 ;
12444 wxRegionIterator
*result
= 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char * kwnames
[] = {
12449 (char *) "region", NULL
12452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12460 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12462 if (!wxPyCheckForApp()) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12475 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12488 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_Py_Void();
12503 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12504 PyObject
*resultobj
= 0;
12505 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12509 PyObject
*swig_obj
[1] ;
12511 if (!args
) SWIG_fail
;
12512 swig_obj
[0] = args
;
12513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12517 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (int)(arg1
)->GetX();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_int(static_cast< int >(result
));
12531 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 PyObject
*resultobj
= 0;
12533 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12537 PyObject
*swig_obj
[1] ;
12539 if (!args
) SWIG_fail
;
12540 swig_obj
[0] = args
;
12541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12542 if (!SWIG_IsOK(res1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12545 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (int)(arg1
)->GetY();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_From_int(static_cast< int >(result
));
12559 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12560 PyObject
*resultobj
= 0;
12561 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12565 PyObject
*swig_obj
[1] ;
12567 if (!args
) SWIG_fail
;
12568 swig_obj
[0] = args
;
12569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12573 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 result
= (int)(arg1
)->GetW();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_From_int(static_cast< int >(result
));
12587 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12588 PyObject
*resultobj
= 0;
12589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12593 PyObject
*swig_obj
[1] ;
12595 if (!args
) SWIG_fail
;
12596 swig_obj
[0] = args
;
12597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12598 if (!SWIG_IsOK(res1
)) {
12599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12601 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (int)(arg1
)->GetWidth();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_From_int(static_cast< int >(result
));
12615 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12621 PyObject
*swig_obj
[1] ;
12623 if (!args
) SWIG_fail
;
12624 swig_obj
[0] = args
;
12625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12626 if (!SWIG_IsOK(res1
)) {
12627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12629 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (int)(arg1
)->GetH();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_From_int(static_cast< int >(result
));
12643 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 PyObject
*resultobj
= 0;
12645 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12649 PyObject
*swig_obj
[1] ;
12651 if (!args
) SWIG_fail
;
12652 swig_obj
[0] = args
;
12653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12657 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (int)(arg1
)->GetHeight();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_From_int(static_cast< int >(result
));
12671 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12672 PyObject
*resultobj
= 0;
12673 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12677 PyObject
*swig_obj
[1] ;
12679 if (!args
) SWIG_fail
;
12680 swig_obj
[0] = args
;
12681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12685 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (arg1
)->GetRect();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12699 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12700 PyObject
*resultobj
= 0;
12701 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12705 PyObject
*swig_obj
[1] ;
12707 if (!args
) SWIG_fail
;
12708 swig_obj
[0] = args
;
12709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12710 if (!SWIG_IsOK(res1
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12713 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12716 result
= (bool)(arg1
)->HaveRects();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12729 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12730 PyObject
*resultobj
= 0;
12731 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12734 PyObject
*swig_obj
[1] ;
12736 if (!args
) SWIG_fail
;
12737 swig_obj
[0] = args
;
12738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12742 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_Py_Void();
12756 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 PyObject
*resultobj
= 0;
12758 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12761 PyObject
*swig_obj
[1] ;
12763 if (!args
) SWIG_fail
;
12764 swig_obj
[0] = args
;
12765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12766 if (!SWIG_IsOK(res1
)) {
12767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12769 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxRegionIterator_Next(arg1
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_Py_Void();
12783 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12784 PyObject
*resultobj
= 0;
12785 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12789 PyObject
*swig_obj
[1] ;
12791 if (!args
) SWIG_fail
;
12792 swig_obj
[0] = args
;
12793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12794 if (!SWIG_IsOK(res1
)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12797 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12801 wxPyEndAllowThreads(__tstate
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12813 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12816 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12817 return SWIG_Py_Void();
12820 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 return SWIG_Python_InitShadowInstance(args
);
12824 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12825 PyObject
*resultobj
= 0;
12826 wxNativeFontInfo
*result
= 0 ;
12828 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12842 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12843 PyObject
*resultobj
= 0;
12844 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
, SWIG_POINTER_DISOWN
| 0 );
12852 if (!SWIG_IsOK(res1
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12855 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= SWIG_Py_Void();
12870 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12871 PyObject
*resultobj
= 0;
12872 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12875 PyObject
*swig_obj
[1] ;
12877 if (!args
) SWIG_fail
;
12878 swig_obj
[0] = args
;
12879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12880 if (!SWIG_IsOK(res1
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12883 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_Py_Void();
12897 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
= 0;
12899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "self",(char *) "font", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12916 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12918 if (!SWIG_IsOK(res2
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12924 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_Py_Void();
12938 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 PyObject
*resultobj
= 0;
12940 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12944 PyObject
*swig_obj
[1] ;
12946 if (!args
) SWIG_fail
;
12947 swig_obj
[0] = args
;
12948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12952 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_From_int(static_cast< int >(result
));
12966 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12972 PyObject
*swig_obj
[1] ;
12974 if (!args
) SWIG_fail
;
12975 swig_obj
[0] = args
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12980 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12994 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 PyObject
*resultobj
= 0;
12996 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12997 wxFontStyle result
;
13000 PyObject
*swig_obj
[1] ;
13002 if (!args
) SWIG_fail
;
13003 swig_obj
[0] = args
;
13004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13008 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_From_int(static_cast< int >(result
));
13022 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13023 PyObject
*resultobj
= 0;
13024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13025 wxFontWeight result
;
13028 PyObject
*swig_obj
[1] ;
13030 if (!args
) SWIG_fail
;
13031 swig_obj
[0] = args
;
13032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13036 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int(static_cast< int >(result
));
13050 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13051 PyObject
*resultobj
= 0;
13052 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13056 PyObject
*swig_obj
[1] ;
13058 if (!args
) SWIG_fail
;
13059 swig_obj
[0] = args
;
13060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13064 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13080 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13086 PyObject
*swig_obj
[1] ;
13088 if (!args
) SWIG_fail
;
13089 swig_obj
[0] = args
;
13090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13094 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13115 PyObject
*resultobj
= 0;
13116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13117 wxFontFamily result
;
13120 PyObject
*swig_obj
[1] ;
13122 if (!args
) SWIG_fail
;
13123 swig_obj
[0] = args
;
13124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13125 if (!SWIG_IsOK(res1
)) {
13126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13128 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_From_int(static_cast< int >(result
));
13142 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13143 PyObject
*resultobj
= 0;
13144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13145 wxFontEncoding result
;
13148 PyObject
*swig_obj
[1] ;
13150 if (!args
) SWIG_fail
;
13151 swig_obj
[0] = args
;
13152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13153 if (!SWIG_IsOK(res1
)) {
13154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13156 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_From_int(static_cast< int >(result
));
13170 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char * kwnames
[] = {
13181 (char *) "self",(char *) "pointsize", NULL
13184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13186 if (!SWIG_IsOK(res1
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13189 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13191 if (!SWIG_IsOK(ecode2
)) {
13192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13194 arg2
= static_cast< int >(val2
);
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 (arg1
)->SetPointSize(arg2
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_Py_Void();
13208 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
= 0;
13210 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 char * kwnames
[] = {
13218 (char *) "self",(char *) "pixelSize", NULL
13221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13226 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= SWIG_Py_Void();
13244 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
= 0;
13246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char * kwnames
[] = {
13255 (char *) "self",(char *) "style", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13263 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13265 if (!SWIG_IsOK(ecode2
)) {
13266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13268 arg2
= static_cast< wxFontStyle
>(val2
);
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetStyle(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_Py_Void();
13282 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= 0;
13284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13285 wxFontWeight arg2
;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 char * kwnames
[] = {
13293 (char *) "self",(char *) "weight", NULL
13296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13298 if (!SWIG_IsOK(res1
)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13301 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13303 if (!SWIG_IsOK(ecode2
)) {
13304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13306 arg2
= static_cast< wxFontWeight
>(val2
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 (arg1
)->SetWeight(arg2
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_Py_Void();
13320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
= 0;
13322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char * kwnames
[] = {
13331 (char *) "self",(char *) "underlined", NULL
13334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13336 if (!SWIG_IsOK(res1
)) {
13337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13341 if (!SWIG_IsOK(ecode2
)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13344 arg2
= static_cast< bool >(val2
);
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetUnderlined(arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_Py_Void();
13358 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
= 0;
13360 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char * kwnames
[] = {
13368 (char *) "self",(char *) "facename", NULL
13371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13376 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13378 wxString
* sptr
= wxString_in_helper(obj1
);
13379 if (sptr
== NULL
) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (bool)(arg1
)->SetFaceName(arg2
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
= 0;
13400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13401 wxFontFamily arg2
;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 char * kwnames
[] = {
13409 (char *) "self",(char *) "family", NULL
13412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13414 if (!SWIG_IsOK(res1
)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13417 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13419 if (!SWIG_IsOK(ecode2
)) {
13420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13422 arg2
= static_cast< wxFontFamily
>(val2
);
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 (arg1
)->SetFamily(arg2
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_Py_Void();
13436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13437 PyObject
*resultobj
= 0;
13438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13439 wxFontEncoding arg2
;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char * kwnames
[] = {
13447 (char *) "self",(char *) "encoding", NULL
13450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13452 if (!SWIG_IsOK(res1
)) {
13453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13457 if (!SWIG_IsOK(ecode2
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13460 arg2
= static_cast< wxFontEncoding
>(val2
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 (arg1
)->SetEncoding(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_Py_Void();
13474 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= 0;
13476 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13477 wxString
*arg2
= 0 ;
13481 bool temp2
= false ;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 char * kwnames
[] = {
13485 (char *) "self",(char *) "s", NULL
13488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13493 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13495 arg2
= wxString_in_helper(obj1
);
13496 if (arg2
== NULL
) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13523 PyObject
*resultobj
= 0;
13524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13528 PyObject
*swig_obj
[1] ;
13530 if (!args
) SWIG_fail
;
13531 swig_obj
[0] = args
;
13532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13536 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13556 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13570 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= wxNativeFontInfo___str__(arg1
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13590 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
= 0;
13592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13593 wxString
*arg2
= 0 ;
13597 bool temp2
= false ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "s", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13609 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13611 arg2
= wxString_in_helper(obj1
);
13612 if (arg2
== NULL
) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13638 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13639 PyObject
*resultobj
= 0;
13640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13644 PyObject
*swig_obj
[1] ;
13646 if (!args
) SWIG_fail
;
13647 swig_obj
[0] = args
;
13648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13672 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13675 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13676 return SWIG_Py_Void();
13679 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 return SWIG_Python_InitShadowInstance(args
);
13683 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13684 PyObject
*resultobj
= 0;
13685 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13686 wxString
*arg2
= (wxString
*) 0 ;
13689 bool temp2
= false ;
13690 PyObject
*swig_obj
[2] ;
13692 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13694 if (!SWIG_IsOK(res1
)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13697 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13699 arg2
= wxString_in_helper(swig_obj
[1]);
13700 if (arg2
== NULL
) SWIG_fail
;
13703 if (arg1
) (arg1
)->facename
= *arg2
;
13705 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13721 PyObject
*resultobj
= 0;
13722 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13723 wxString
*result
= 0 ;
13726 PyObject
*swig_obj
[1] ;
13728 if (!args
) SWIG_fail
;
13729 swig_obj
[0] = args
;
13730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13734 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13735 result
= (wxString
*)& ((arg1
)->facename
);
13738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13749 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13750 PyObject
*resultobj
= 0;
13751 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13752 wxFontEncoding arg2
;
13757 PyObject
*swig_obj
[2] ;
13759 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13761 if (!SWIG_IsOK(res1
)) {
13762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13764 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13765 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13766 if (!SWIG_IsOK(ecode2
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13769 arg2
= static_cast< wxFontEncoding
>(val2
);
13770 if (arg1
) (arg1
)->encoding
= arg2
;
13772 resultobj
= SWIG_Py_Void();
13779 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13780 PyObject
*resultobj
= 0;
13781 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13782 wxFontEncoding result
;
13785 PyObject
*swig_obj
[1] ;
13787 if (!args
) SWIG_fail
;
13788 swig_obj
[0] = args
;
13789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13790 if (!SWIG_IsOK(res1
)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13793 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13794 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13795 resultobj
= SWIG_From_int(static_cast< int >(result
));
13802 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxNativeEncodingInfo
*result
= 0 ;
13806 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13820 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13821 PyObject
*resultobj
= 0;
13822 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13825 PyObject
*swig_obj
[1] ;
13827 if (!args
) SWIG_fail
;
13828 swig_obj
[0] = args
;
13829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13830 if (!SWIG_IsOK(res1
)) {
13831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13833 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_Py_Void();
13848 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13849 PyObject
*resultobj
= 0;
13850 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13851 wxString
*arg2
= 0 ;
13855 bool temp2
= false ;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char * kwnames
[] = {
13859 (char *) "self",(char *) "s", NULL
13862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13867 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13869 arg2
= wxString_in_helper(obj1
);
13870 if (arg2
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13896 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 PyObject
*resultobj
= 0;
13898 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13902 PyObject
*swig_obj
[1] ;
13904 if (!args
) SWIG_fail
;
13905 swig_obj
[0] = args
;
13906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13910 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13930 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13933 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13934 return SWIG_Py_Void();
13937 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13938 return SWIG_Python_InitShadowInstance(args
);
13941 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= 0;
13943 wxFontEncoding arg1
;
13944 wxNativeEncodingInfo
*result
= 0 ;
13947 PyObject
* obj0
= 0 ;
13948 char * kwnames
[] = {
13949 (char *) "encoding", NULL
13952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13953 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13954 if (!SWIG_IsOK(ecode1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13957 arg1
= static_cast< wxFontEncoding
>(val1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13971 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
= 0;
13973 wxNativeEncodingInfo
*arg1
= 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "info", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13983 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13990 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14006 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 PyObject
*resultobj
= 0;
14008 wxFontMapper
*result
= 0 ;
14010 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (wxFontMapper
*)new wxFontMapper();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
14024 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14025 PyObject
*resultobj
= 0;
14026 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14029 PyObject
*swig_obj
[1] ;
14031 if (!args
) SWIG_fail
;
14032 swig_obj
[0] = args
;
14033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
14034 if (!SWIG_IsOK(res1
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14037 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= SWIG_Py_Void();
14052 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14053 PyObject
*resultobj
= 0;
14054 wxFontMapper
*result
= 0 ;
14056 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (wxFontMapper
*)wxFontMapper::Get();
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14070 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
= 0;
14072 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14073 wxFontMapper
*result
= 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char * kwnames
[] = {
14078 (char *) "mapper", NULL
14081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
14082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14083 if (!SWIG_IsOK(res1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14086 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14100 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
= 0;
14102 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14103 wxString
*arg2
= 0 ;
14104 bool arg3
= (bool) true ;
14105 wxFontEncoding result
;
14108 bool temp2
= false ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "self",(char *) "charset",(char *) "interactive", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CharsetToEncoding" "', 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 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14131 if (!SWIG_IsOK(ecode3
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
14134 arg3
= static_cast< bool >(val3
);
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_From_int(static_cast< int >(result
));
14157 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14158 PyObject
*resultobj
= 0;
14161 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14175 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
= 0;
14178 wxFontEncoding result
;
14181 PyObject
* obj0
= 0 ;
14182 char * kwnames
[] = {
14186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14187 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14188 if (!SWIG_IsOK(ecode1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14191 arg1
= static_cast< size_t >(val1
);
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_From_int(static_cast< int >(result
));
14205 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
= 0;
14207 wxFontEncoding arg1
;
14211 PyObject
* obj0
= 0 ;
14212 char * kwnames
[] = {
14213 (char *) "encoding", NULL
14216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14218 if (!SWIG_IsOK(ecode1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14221 arg1
= static_cast< wxFontEncoding
>(val1
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= wxFontMapper::GetEncodingName(arg1
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14241 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
= 0;
14243 wxFontEncoding arg1
;
14247 PyObject
* obj0
= 0 ;
14248 char * kwnames
[] = {
14249 (char *) "encoding", NULL
14252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14254 if (!SWIG_IsOK(ecode1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14257 arg1
= static_cast< wxFontEncoding
>(val1
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= wxFontMapper::GetEncodingDescription(arg1
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14277 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
= 0;
14279 wxString
*arg1
= 0 ;
14280 wxFontEncoding result
;
14281 bool temp1
= false ;
14282 PyObject
* obj0
= 0 ;
14283 char * kwnames
[] = {
14284 (char *) "name", NULL
14287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14289 arg1
= wxString_in_helper(obj0
);
14290 if (arg1
== NULL
) SWIG_fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_From_int(static_cast< int >(result
));
14314 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
= 0;
14316 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14317 wxString
*arg2
= 0 ;
14320 bool temp2
= false ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char * kwnames
[] = {
14324 (char *) "self",(char *) "prefix", NULL
14327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14332 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14334 arg2
= wxString_in_helper(obj1
);
14335 if (arg2
== NULL
) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_Py_Void();
14359 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14360 PyObject
*resultobj
= 0;
14363 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= wxFontMapper::GetDefaultConfigPath();
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14383 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= 0;
14385 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14386 wxFontEncoding arg2
;
14387 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14388 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14389 bool arg4
= (bool) true ;
14390 PyObject
*result
= 0 ;
14395 bool temp3
= false ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 PyObject
* obj2
= 0 ;
14401 PyObject
* obj3
= 0 ;
14402 char * kwnames
[] = {
14403 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14408 if (!SWIG_IsOK(res1
)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14411 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14413 if (!SWIG_IsOK(ecode2
)) {
14414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14416 arg2
= static_cast< wxFontEncoding
>(val2
);
14419 arg3
= wxString_in_helper(obj2
);
14420 if (arg3
== NULL
) SWIG_fail
;
14425 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14426 if (!SWIG_IsOK(ecode4
)) {
14427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14429 arg4
= static_cast< bool >(val4
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= result
;
14452 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= 0;
14454 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14455 wxFontEncoding arg2
;
14456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14463 bool temp3
= false ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 char * kwnames
[] = {
14468 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14473 if (!SWIG_IsOK(res1
)) {
14474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14476 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14478 if (!SWIG_IsOK(ecode2
)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14481 arg2
= static_cast< wxFontEncoding
>(val2
);
14484 arg3
= wxString_in_helper(obj2
);
14485 if (arg3
== NULL
) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14512 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14513 PyObject
*resultobj
= 0;
14514 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14515 wxWindow
*arg2
= (wxWindow
*) 0 ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 char * kwnames
[] = {
14523 (char *) "self",(char *) "parent", NULL
14526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14531 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14533 if (!SWIG_IsOK(res2
)) {
14534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14536 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->SetDialogParent(arg2
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_Py_Void();
14550 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
= 0;
14552 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14553 wxString
*arg2
= 0 ;
14556 bool temp2
= false ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char * kwnames
[] = {
14560 (char *) "self",(char *) "title", NULL
14563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14568 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14570 arg2
= wxString_in_helper(obj1
);
14571 if (arg2
== NULL
) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_Py_Void();
14595 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14598 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14599 return SWIG_Py_Void();
14602 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14603 return SWIG_Python_InitShadowInstance(args
);
14606 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
= 0;
14612 bool arg5
= (bool) false ;
14613 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14614 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14615 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14616 wxFont
*result
= 0 ;
14627 bool temp6
= false ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 PyObject
* obj2
= 0 ;
14633 PyObject
* obj3
= 0 ;
14634 PyObject
* obj4
= 0 ;
14635 PyObject
* obj5
= 0 ;
14636 PyObject
* obj6
= 0 ;
14637 char * kwnames
[] = {
14638 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14643 if (!SWIG_IsOK(ecode1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14646 arg1
= static_cast< int >(val1
);
14647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14648 if (!SWIG_IsOK(ecode2
)) {
14649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14651 arg2
= static_cast< int >(val2
);
14652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14653 if (!SWIG_IsOK(ecode3
)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14656 arg3
= static_cast< int >(val3
);
14657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14658 if (!SWIG_IsOK(ecode4
)) {
14659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14661 arg4
= static_cast< int >(val4
);
14663 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14664 if (!SWIG_IsOK(ecode5
)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14667 arg5
= static_cast< bool >(val5
);
14671 arg6
= wxString_in_helper(obj5
);
14672 if (arg6
== NULL
) SWIG_fail
;
14677 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14678 if (!SWIG_IsOK(ecode7
)) {
14679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14681 arg7
= static_cast< wxFontEncoding
>(val7
);
14684 if (!wxPyCheckForApp()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14705 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14706 PyObject
*resultobj
= 0;
14707 wxFont
*arg1
= (wxFont
*) 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14718 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 wxPyEndAllowThreads(__tstate
);
14724 if (PyErr_Occurred()) SWIG_fail
;
14726 resultobj
= SWIG_Py_Void();
14733 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
= 0;
14735 wxNativeFontInfo
*arg1
= 0 ;
14736 wxFont
*result
= 0 ;
14739 PyObject
* obj0
= 0 ;
14740 char * kwnames
[] = {
14741 (char *) "info", NULL
14744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14745 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14752 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14754 if (!wxPyCheckForApp()) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14767 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
= 0;
14769 wxString
*arg1
= 0 ;
14770 wxFont
*result
= 0 ;
14771 bool temp1
= false ;
14772 PyObject
* obj0
= 0 ;
14773 char * kwnames
[] = {
14774 (char *) "info", NULL
14777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14779 arg1
= wxString_in_helper(obj0
);
14780 if (arg1
== NULL
) SWIG_fail
;
14784 if (!wxPyCheckForApp()) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14805 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14808 wxFontFamily arg2
;
14809 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14810 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14811 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14812 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14813 wxFont
*result
= 0 ;
14820 bool temp4
= false ;
14823 PyObject
* obj0
= 0 ;
14824 PyObject
* obj1
= 0 ;
14825 PyObject
* obj2
= 0 ;
14826 PyObject
* obj3
= 0 ;
14827 PyObject
* obj4
= 0 ;
14828 char * kwnames
[] = {
14829 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14834 if (!SWIG_IsOK(ecode1
)) {
14835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14837 arg1
= static_cast< int >(val1
);
14838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14839 if (!SWIG_IsOK(ecode2
)) {
14840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14842 arg2
= static_cast< wxFontFamily
>(val2
);
14844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14845 if (!SWIG_IsOK(ecode3
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14848 arg3
= static_cast< int >(val3
);
14852 arg4
= wxString_in_helper(obj3
);
14853 if (arg4
== NULL
) SWIG_fail
;
14858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14859 if (!SWIG_IsOK(ecode5
)) {
14860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14862 arg5
= static_cast< wxFontEncoding
>(val5
);
14865 if (!wxPyCheckForApp()) SWIG_fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14886 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
= 0;
14892 bool arg5
= (bool) false ;
14893 wxString
const &arg6_defvalue
= wxEmptyString
;
14894 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14895 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14896 wxFont
*result
= 0 ;
14906 bool temp6
= false ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 PyObject
* obj2
= 0 ;
14912 PyObject
* obj3
= 0 ;
14913 PyObject
* obj4
= 0 ;
14914 PyObject
* obj5
= 0 ;
14915 PyObject
* obj6
= 0 ;
14916 char * kwnames
[] = {
14917 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14923 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14926 if (!SWIG_IsOK(ecode2
)) {
14927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14929 arg2
= static_cast< int >(val2
);
14930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14931 if (!SWIG_IsOK(ecode3
)) {
14932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14934 arg3
= static_cast< int >(val3
);
14935 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14936 if (!SWIG_IsOK(ecode4
)) {
14937 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14939 arg4
= static_cast< int >(val4
);
14941 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14942 if (!SWIG_IsOK(ecode5
)) {
14943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14945 arg5
= static_cast< bool >(val5
);
14949 arg6
= wxString_in_helper(obj5
);
14950 if (arg6
== NULL
) SWIG_fail
;
14955 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14956 if (!SWIG_IsOK(ecode7
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14959 arg7
= static_cast< wxFontEncoding
>(val7
);
14962 if (!wxPyCheckForApp()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14983 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
= 0;
14986 wxFontFamily arg2
;
14987 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14988 wxString
const &arg4_defvalue
= wxEmptyString
;
14989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14990 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14991 wxFont
*result
= 0 ;
14997 bool temp4
= false ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 PyObject
* obj2
= 0 ;
15003 PyObject
* obj3
= 0 ;
15004 PyObject
* obj4
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15012 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15015 if (!SWIG_IsOK(ecode2
)) {
15016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
15018 arg2
= static_cast< wxFontFamily
>(val2
);
15020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15021 if (!SWIG_IsOK(ecode3
)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
15024 arg3
= static_cast< int >(val3
);
15028 arg4
= wxString_in_helper(obj3
);
15029 if (arg4
== NULL
) SWIG_fail
;
15034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15035 if (!SWIG_IsOK(ecode5
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
15038 arg5
= static_cast< wxFontEncoding
>(val5
);
15041 if (!wxPyCheckForApp()) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
15062 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15063 PyObject
*resultobj
= 0;
15064 wxFont
*arg1
= (wxFont
*) 0 ;
15068 PyObject
*swig_obj
[1] ;
15070 if (!args
) SWIG_fail
;
15071 swig_obj
[0] = args
;
15072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15073 if (!SWIG_IsOK(res1
)) {
15074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
15076 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (bool)((wxFont
const *)arg1
)->IsOk();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxFont
*arg1
= (wxFont
*) 0 ;
15095 wxFont
*arg2
= (wxFont
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char * kwnames
[] = {
15104 (char *) "self",(char *) "other", NULL
15107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15109 if (!SWIG_IsOK(res1
)) {
15110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
15112 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
15114 if (!SWIG_IsOK(res2
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
15117 arg2
= reinterpret_cast< wxFont
* >(argp2
);
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxFont
*arg1
= (wxFont
*) 0 ;
15136 wxFont
*arg2
= (wxFont
*) 0 ;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "other", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
15153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
15155 if (!SWIG_IsOK(res2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
15158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15174 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 PyObject
*resultobj
= 0;
15176 wxFont
*arg1
= (wxFont
*) 0 ;
15180 PyObject
*swig_obj
[1] ;
15182 if (!args
) SWIG_fail
;
15183 swig_obj
[0] = args
;
15184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15188 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_From_int(static_cast< int >(result
));
15202 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 PyObject
*resultobj
= 0;
15204 wxFont
*arg1
= (wxFont
*) 0 ;
15208 PyObject
*swig_obj
[1] ;
15210 if (!args
) SWIG_fail
;
15211 swig_obj
[0] = args
;
15212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15213 if (!SWIG_IsOK(res1
)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15230 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15231 PyObject
*resultobj
= 0;
15232 wxFont
*arg1
= (wxFont
*) 0 ;
15236 PyObject
*swig_obj
[1] ;
15238 if (!args
) SWIG_fail
;
15239 swig_obj
[0] = args
;
15240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15247 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15260 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15261 PyObject
*resultobj
= 0;
15262 wxFont
*arg1
= (wxFont
*) 0 ;
15266 PyObject
*swig_obj
[1] ;
15268 if (!args
) SWIG_fail
;
15269 swig_obj
[0] = args
;
15270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15274 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_From_int(static_cast< int >(result
));
15288 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15289 PyObject
*resultobj
= 0;
15290 wxFont
*arg1
= (wxFont
*) 0 ;
15294 PyObject
*swig_obj
[1] ;
15296 if (!args
) SWIG_fail
;
15297 swig_obj
[0] = args
;
15298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_From_int(static_cast< int >(result
));
15316 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15317 PyObject
*resultobj
= 0;
15318 wxFont
*arg1
= (wxFont
*) 0 ;
15322 PyObject
*swig_obj
[1] ;
15324 if (!args
) SWIG_fail
;
15325 swig_obj
[0] = args
;
15326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15330 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_From_int(static_cast< int >(result
));
15344 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 PyObject
*resultobj
= 0;
15346 wxFont
*arg1
= (wxFont
*) 0 ;
15350 PyObject
*swig_obj
[1] ;
15352 if (!args
) SWIG_fail
;
15353 swig_obj
[0] = args
;
15354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15358 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15374 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15375 PyObject
*resultobj
= 0;
15376 wxFont
*arg1
= (wxFont
*) 0 ;
15380 PyObject
*swig_obj
[1] ;
15382 if (!args
) SWIG_fail
;
15383 swig_obj
[0] = args
;
15384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15388 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= ((wxFont
const *)arg1
)->GetFaceName();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15408 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15409 PyObject
*resultobj
= 0;
15410 wxFont
*arg1
= (wxFont
*) 0 ;
15411 wxFontEncoding result
;
15414 PyObject
*swig_obj
[1] ;
15416 if (!args
) SWIG_fail
;
15417 swig_obj
[0] = args
;
15418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15419 if (!SWIG_IsOK(res1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15422 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_From_int(static_cast< int >(result
));
15436 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxFont
*arg1
= (wxFont
*) 0 ;
15439 wxNativeFontInfo
*result
= 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15464 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15465 PyObject
*resultobj
= 0;
15466 wxFont
*arg1
= (wxFont
*) 0 ;
15470 PyObject
*swig_obj
[1] ;
15472 if (!args
) SWIG_fail
;
15473 swig_obj
[0] = args
;
15474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15494 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15495 PyObject
*resultobj
= 0;
15496 wxFont
*arg1
= (wxFont
*) 0 ;
15500 PyObject
*swig_obj
[1] ;
15502 if (!args
) SWIG_fail
;
15503 swig_obj
[0] = args
;
15504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15505 if (!SWIG_IsOK(res1
)) {
15506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15528 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15529 PyObject
*resultobj
= 0;
15530 wxFont
*arg1
= (wxFont
*) 0 ;
15534 PyObject
*swig_obj
[1] ;
15536 if (!args
) SWIG_fail
;
15537 swig_obj
[0] = args
;
15538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15562 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= 0;
15564 wxFont
*arg1
= (wxFont
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char * kwnames
[] = {
15573 (char *) "self",(char *) "pointSize", NULL
15576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15578 if (!SWIG_IsOK(res1
)) {
15579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15581 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15583 if (!SWIG_IsOK(ecode2
)) {
15584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15586 arg2
= static_cast< int >(val2
);
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->SetPointSize(arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_Py_Void();
15600 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxFont
*arg1
= (wxFont
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "self",(char *) "pixelSize", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxFont
*arg1
= (wxFont
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "self",(char *) "family", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15655 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15657 if (!SWIG_IsOK(ecode2
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15660 arg2
= static_cast< int >(val2
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->SetFamily(arg2
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_Py_Void();
15674 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
= 0;
15676 wxFont
*arg1
= (wxFont
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char * kwnames
[] = {
15685 (char *) "self",(char *) "style", NULL
15688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15693 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15695 if (!SWIG_IsOK(ecode2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15698 arg2
= static_cast< int >(val2
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->SetStyle(arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= 0;
15714 wxFont
*arg1
= (wxFont
*) 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "weight", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15731 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15733 if (!SWIG_IsOK(ecode2
)) {
15734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15736 arg2
= static_cast< int >(val2
);
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 (arg1
)->SetWeight(arg2
);
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= SWIG_Py_Void();
15750 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
= 0;
15752 wxFont
*arg1
= (wxFont
*) 0 ;
15753 wxString
*arg2
= 0 ;
15757 bool temp2
= false ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char * kwnames
[] = {
15761 (char *) "self",(char *) "faceName", NULL
15764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15766 if (!SWIG_IsOK(res1
)) {
15767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15769 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15771 arg2
= wxString_in_helper(obj1
);
15772 if (arg2
== NULL
) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15798 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
= 0;
15800 wxFont
*arg1
= (wxFont
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char * kwnames
[] = {
15809 (char *) "self",(char *) "underlined", NULL
15812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15817 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15819 if (!SWIG_IsOK(ecode2
)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15822 arg2
= static_cast< bool >(val2
);
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 (arg1
)->SetUnderlined(arg2
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_Py_Void();
15836 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
= 0;
15838 wxFont
*arg1
= (wxFont
*) 0 ;
15839 wxFontEncoding arg2
;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char * kwnames
[] = {
15847 (char *) "self",(char *) "encoding", NULL
15850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15852 if (!SWIG_IsOK(res1
)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15855 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15857 if (!SWIG_IsOK(ecode2
)) {
15858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15860 arg2
= static_cast< wxFontEncoding
>(val2
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->SetEncoding(arg2
);
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_Py_Void();
15874 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxFont
*arg1
= (wxFont
*) 0 ;
15877 wxNativeFontInfo
*arg2
= 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "self",(char *) "info", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15890 if (!SWIG_IsOK(res1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15893 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15895 if (!SWIG_IsOK(res2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15901 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_Py_Void();
15915 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
= 0;
15917 wxFont
*arg1
= (wxFont
*) 0 ;
15918 wxString
*arg2
= 0 ;
15922 bool temp2
= false ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 char * kwnames
[] = {
15926 (char *) "self",(char *) "info", NULL
15929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15931 if (!SWIG_IsOK(res1
)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15934 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15936 arg2
= wxString_in_helper(obj1
);
15937 if (arg2
== NULL
) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= 0;
15965 wxFont
*arg1
= (wxFont
*) 0 ;
15966 wxString
*arg2
= 0 ;
15970 bool temp2
= false ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 char * kwnames
[] = {
15974 (char *) "self",(char *) "info", NULL
15977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15979 if (!SWIG_IsOK(res1
)) {
15980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15984 arg2
= wxString_in_helper(obj1
);
15985 if (arg2
== NULL
) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16011 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16012 PyObject
*resultobj
= 0;
16013 wxFont
*arg1
= (wxFont
*) 0 ;
16017 PyObject
*swig_obj
[1] ;
16019 if (!args
) SWIG_fail
;
16020 swig_obj
[0] = args
;
16021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16022 if (!SWIG_IsOK(res1
)) {
16023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
16025 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= ((wxFont
const *)arg1
)->GetFamilyString();
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16045 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16046 PyObject
*resultobj
= 0;
16047 wxFont
*arg1
= (wxFont
*) 0 ;
16051 PyObject
*swig_obj
[1] ;
16053 if (!args
) SWIG_fail
;
16054 swig_obj
[0] = args
;
16055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16056 if (!SWIG_IsOK(res1
)) {
16057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
16059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= ((wxFont
const *)arg1
)->GetStyleString();
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16079 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxFont
*arg1
= (wxFont
*) 0 ;
16085 PyObject
*swig_obj
[1] ;
16087 if (!args
) SWIG_fail
;
16088 swig_obj
[0] = args
;
16089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16090 if (!SWIG_IsOK(res1
)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
16093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= ((wxFont
const *)arg1
)->GetWeightString();
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16113 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
= 0;
16115 wxFont
*arg1
= (wxFont
*) 0 ;
16116 bool arg2
= (bool) true ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 char * kwnames
[] = {
16124 (char *) "self",(char *) "no", NULL
16127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16129 if (!SWIG_IsOK(res1
)) {
16130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
16132 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16134 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
16135 if (!SWIG_IsOK(ecode2
)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
16138 arg2
= static_cast< bool >(val2
);
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 (arg1
)->SetNoAntiAliasing(arg2
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= SWIG_Py_Void();
16153 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16154 PyObject
*resultobj
= 0;
16155 wxFont
*arg1
= (wxFont
*) 0 ;
16159 PyObject
*swig_obj
[1] ;
16161 if (!args
) SWIG_fail
;
16162 swig_obj
[0] = args
;
16163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
16167 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16183 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16184 PyObject
*resultobj
= 0;
16185 wxFontEncoding result
;
16187 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16189 if (!wxPyCheckForApp()) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_From_int(static_cast< int >(result
));
16202 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
= 0;
16204 wxFontEncoding arg1
;
16207 PyObject
* obj0
= 0 ;
16208 char * kwnames
[] = {
16209 (char *) "encoding", NULL
16212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16214 if (!SWIG_IsOK(ecode1
)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16217 arg1
= static_cast< wxFontEncoding
>(val1
);
16219 if (!wxPyCheckForApp()) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 wxFont::SetDefaultEncoding(arg1
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_Py_Void();
16232 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16235 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16236 return SWIG_Py_Void();
16239 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16240 return SWIG_Python_InitShadowInstance(args
);
16243 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16244 PyObject
*resultobj
= 0;
16245 wxPyFontEnumerator
*result
= 0 ;
16247 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16249 if (!wxPyCheckForApp()) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16262 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16263 PyObject
*resultobj
= 0;
16264 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16267 PyObject
*swig_obj
[1] ;
16269 if (!args
) SWIG_fail
;
16270 swig_obj
[0] = args
;
16271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16272 if (!SWIG_IsOK(res1
)) {
16273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16275 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_Py_Void();
16290 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
= 0;
16292 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16293 PyObject
*arg2
= (PyObject
*) 0 ;
16294 PyObject
*arg3
= (PyObject
*) 0 ;
16295 int arg4
= (int) 0 ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 PyObject
* obj3
= 0 ;
16304 char * kwnames
[] = {
16305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16310 if (!SWIG_IsOK(res1
)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16313 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16318 if (!SWIG_IsOK(ecode4
)) {
16319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16321 arg4
= static_cast< int >(val4
);
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_Py_Void();
16336 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16339 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16340 bool arg3
= (bool) false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 PyObject
* obj2
= 0 ;
16351 char * kwnames
[] = {
16352 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16357 if (!SWIG_IsOK(res1
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16360 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16363 if (!SWIG_IsOK(ecode2
)) {
16364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16366 arg2
= static_cast< wxFontEncoding
>(val2
);
16369 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16370 if (!SWIG_IsOK(ecode3
)) {
16371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16373 arg3
= static_cast< bool >(val3
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16390 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
= 0;
16392 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16393 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16394 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16398 bool temp2
= false ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 char * kwnames
[] = {
16402 (char *) "self",(char *) "facename", NULL
16405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16407 if (!SWIG_IsOK(res1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16410 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16413 arg2
= wxString_in_helper(obj1
);
16414 if (arg2
== NULL
) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16441 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16442 PyObject
*resultobj
= 0;
16443 PyObject
*result
= 0 ;
16445 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 resultobj
= result
;
16459 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16460 PyObject
*resultobj
= 0;
16461 PyObject
*result
= 0 ;
16463 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= result
;
16477 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
= 0;
16479 wxString
*arg1
= 0 ;
16481 bool temp1
= false ;
16482 PyObject
* obj0
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "str", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16489 arg1
= wxString_in_helper(obj0
);
16490 if (arg1
== NULL
) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16516 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16520 return SWIG_Py_Void();
16523 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16524 return SWIG_Python_InitShadowInstance(args
);
16527 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16528 PyObject
*resultobj
= 0;
16529 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16535 PyObject
*swig_obj
[2] ;
16537 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16539 if (!SWIG_IsOK(res1
)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16542 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16543 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16544 if (!SWIG_IsOK(ecode2
)) {
16545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16547 arg2
= static_cast< int >(val2
);
16548 if (arg1
) (arg1
)->Language
= arg2
;
16550 resultobj
= SWIG_Py_Void();
16557 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16558 PyObject
*resultobj
= 0;
16559 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16563 PyObject
*swig_obj
[1] ;
16565 if (!args
) SWIG_fail
;
16566 swig_obj
[0] = args
;
16567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16571 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16572 result
= (int) ((arg1
)->Language
);
16573 resultobj
= SWIG_From_int(static_cast< int >(result
));
16580 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16581 PyObject
*resultobj
= 0;
16582 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16583 wxString
*arg2
= (wxString
*) 0 ;
16586 bool temp2
= false ;
16587 PyObject
*swig_obj
[2] ;
16589 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16594 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16596 arg2
= wxString_in_helper(swig_obj
[1]);
16597 if (arg2
== NULL
) SWIG_fail
;
16600 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16602 resultobj
= SWIG_Py_Void();
16617 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16620 wxString
*result
= 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16631 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16632 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16635 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16637 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16646 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16647 PyObject
*resultobj
= 0;
16648 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16649 wxString
*arg2
= (wxString
*) 0 ;
16652 bool temp2
= false ;
16653 PyObject
*swig_obj
[2] ;
16655 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16660 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16662 arg2
= wxString_in_helper(swig_obj
[1]);
16663 if (arg2
== NULL
) SWIG_fail
;
16666 if (arg1
) (arg1
)->Description
= *arg2
;
16668 resultobj
= SWIG_Py_Void();
16683 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16684 PyObject
*resultobj
= 0;
16685 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16686 wxString
*result
= 0 ;
16689 PyObject
*swig_obj
[1] ;
16691 if (!args
) SWIG_fail
;
16692 swig_obj
[0] = args
;
16693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16694 if (!SWIG_IsOK(res1
)) {
16695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16697 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16698 result
= (wxString
*)& ((arg1
)->Description
);
16701 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16703 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16712 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16715 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16716 return SWIG_Py_Void();
16719 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
= 0;
16721 int arg1
= (int) -1 ;
16722 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16723 wxLocale
*result
= 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "language",(char *) "flags", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16737 if (!SWIG_IsOK(ecode1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16740 arg1
= static_cast< int >(val1
);
16743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16744 if (!SWIG_IsOK(ecode2
)) {
16745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16747 arg2
= static_cast< int >(val2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16762 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16763 PyObject
*resultobj
= 0;
16764 wxLocale
*arg1
= (wxLocale
*) 0 ;
16767 PyObject
*swig_obj
[1] ;
16769 if (!args
) SWIG_fail
;
16770 swig_obj
[0] = args
;
16771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16775 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_Py_Void();
16790 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
= 0;
16792 wxLocale
*arg1
= (wxLocale
*) 0 ;
16793 wxString
*arg2
= 0 ;
16794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16796 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16798 bool arg5
= (bool) true ;
16799 bool arg6
= (bool) false ;
16803 bool temp2
= false ;
16804 bool temp3
= false ;
16805 bool temp4
= false ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 PyObject
* obj2
= 0 ;
16813 PyObject
* obj3
= 0 ;
16814 PyObject
* obj4
= 0 ;
16815 PyObject
* obj5
= 0 ;
16816 char * kwnames
[] = {
16817 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16825 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16827 arg2
= wxString_in_helper(obj1
);
16828 if (arg2
== NULL
) SWIG_fail
;
16833 arg3
= wxString_in_helper(obj2
);
16834 if (arg3
== NULL
) SWIG_fail
;
16840 arg4
= wxString_in_helper(obj3
);
16841 if (arg4
== NULL
) SWIG_fail
;
16846 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16847 if (!SWIG_IsOK(ecode5
)) {
16848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16850 arg5
= static_cast< bool >(val5
);
16853 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16854 if (!SWIG_IsOK(ecode6
)) {
16855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16857 arg6
= static_cast< bool >(val6
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16898 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
= 0;
16900 wxLocale
*arg1
= (wxLocale
*) 0 ;
16901 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16902 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 PyObject
* obj2
= 0 ;
16913 char * kwnames
[] = {
16914 (char *) "self",(char *) "language",(char *) "flags", NULL
16917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16922 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16925 if (!SWIG_IsOK(ecode2
)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16928 arg2
= static_cast< int >(val2
);
16931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16932 if (!SWIG_IsOK(ecode3
)) {
16933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16935 arg3
= static_cast< int >(val3
);
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16952 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16953 PyObject
*resultobj
= 0;
16956 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (int)wxLocale::GetSystemLanguage();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_From_int(static_cast< int >(result
));
16970 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxFontEncoding result
;
16974 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= SWIG_From_int(static_cast< int >(result
));
16988 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16989 PyObject
*resultobj
= 0;
16992 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= wxLocale::GetSystemEncodingName();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17012 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17013 PyObject
*resultobj
= 0;
17014 wxLocale
*arg1
= (wxLocale
*) 0 ;
17018 PyObject
*swig_obj
[1] ;
17020 if (!args
) SWIG_fail
;
17021 swig_obj
[0] = args
;
17022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
17026 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17042 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17043 PyObject
*resultobj
= 0;
17044 wxLocale
*arg1
= (wxLocale
*) 0 ;
17048 PyObject
*swig_obj
[1] ;
17050 if (!args
) SWIG_fail
;
17051 swig_obj
[0] = args
;
17052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17053 if (!SWIG_IsOK(res1
)) {
17054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
17056 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= ((wxLocale
const *)arg1
)->GetLocale();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17076 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17077 PyObject
*resultobj
= 0;
17078 wxLocale
*arg1
= (wxLocale
*) 0 ;
17082 PyObject
*swig_obj
[1] ;
17084 if (!args
) SWIG_fail
;
17085 swig_obj
[0] = args
;
17086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17087 if (!SWIG_IsOK(res1
)) {
17088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
17090 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_From_int(static_cast< int >(result
));
17104 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17105 PyObject
*resultobj
= 0;
17106 wxLocale
*arg1
= (wxLocale
*) 0 ;
17110 PyObject
*swig_obj
[1] ;
17112 if (!args
) SWIG_fail
;
17113 swig_obj
[0] = args
;
17114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17115 if (!SWIG_IsOK(res1
)) {
17116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17118 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= ((wxLocale
const *)arg1
)->GetSysName();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17138 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17139 PyObject
*resultobj
= 0;
17140 wxLocale
*arg1
= (wxLocale
*) 0 ;
17144 PyObject
*swig_obj
[1] ;
17146 if (!args
) SWIG_fail
;
17147 swig_obj
[0] = args
;
17148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17152 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17172 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
= 0;
17174 wxString
*arg1
= 0 ;
17175 bool temp1
= false ;
17176 PyObject
* obj0
= 0 ;
17177 char * kwnames
[] = {
17178 (char *) "prefix", NULL
17181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17183 arg1
= wxString_in_helper(obj0
);
17184 if (arg1
== NULL
) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= SWIG_Py_Void();
17208 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
= 0;
17210 wxLocale
*arg1
= (wxLocale
*) 0 ;
17211 wxString
*arg2
= 0 ;
17215 bool temp2
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char * kwnames
[] = {
17219 (char *) "self",(char *) "domain", NULL
17222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17227 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17229 arg2
= wxString_in_helper(obj1
);
17230 if (arg2
== NULL
) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17256 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
= 0;
17262 PyObject
* obj0
= 0 ;
17263 char * kwnames
[] = {
17264 (char *) "lang", NULL
17267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17269 if (!SWIG_IsOK(ecode1
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17272 arg1
= static_cast< int >(val1
);
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)wxLocale::IsAvailable(arg1
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
= 0;
17290 wxLocale
*arg1
= (wxLocale
*) 0 ;
17291 wxString
*arg2
= 0 ;
17295 bool temp2
= false ;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char * kwnames
[] = {
17299 (char *) "self",(char *) "domain", NULL
17302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17304 if (!SWIG_IsOK(res1
)) {
17305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17307 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17309 arg2
= wxString_in_helper(obj1
);
17310 if (arg2
== NULL
) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17337 PyObject
*resultobj
= 0;
17339 wxLanguageInfo
*result
= 0 ;
17342 PyObject
* obj0
= 0 ;
17343 char * kwnames
[] = {
17344 (char *) "lang", NULL
17347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17349 if (!SWIG_IsOK(ecode1
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17352 arg1
= static_cast< int >(val1
);
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17366 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
= 0;
17372 PyObject
* obj0
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "lang", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17379 if (!SWIG_IsOK(ecode1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17382 arg1
= static_cast< int >(val1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= wxLocale::GetLanguageName(arg1
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17402 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
= 0;
17404 wxString
*arg1
= 0 ;
17405 wxLanguageInfo
*result
= 0 ;
17406 bool temp1
= false ;
17407 PyObject
* obj0
= 0 ;
17408 char * kwnames
[] = {
17409 (char *) "locale", NULL
17412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17414 arg1
= wxString_in_helper(obj0
);
17415 if (arg1
== NULL
) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17439 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
= 0;
17441 wxLanguageInfo
*arg1
= 0 ;
17444 PyObject
* obj0
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "info", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17457 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_Py_Void();
17471 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
= 0;
17473 wxLocale
*arg1
= (wxLocale
*) 0 ;
17474 wxString
*arg2
= 0 ;
17475 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17476 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17480 bool temp2
= false ;
17481 bool temp3
= false ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 PyObject
* obj2
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "self",(char *) "origString",(char *) "domain", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17491 if (!SWIG_IsOK(res1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17494 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17496 arg2
= wxString_in_helper(obj1
);
17497 if (arg2
== NULL
) SWIG_fail
;
17502 arg3
= wxString_in_helper(obj2
);
17503 if (arg3
== NULL
) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17542 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17543 PyObject
*resultobj
= 0;
17544 wxLocale
*arg1
= (wxLocale
*) 0 ;
17545 wxString
*result
= 0 ;
17548 PyObject
*swig_obj
[1] ;
17550 if (!args
) SWIG_fail
;
17551 swig_obj
[0] = args
;
17552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17553 if (!SWIG_IsOK(res1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17556 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17561 result
= (wxString
*) &_result_ref
;
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17570 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17579 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17582 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17583 return SWIG_Py_Void();
17586 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17587 return SWIG_Python_InitShadowInstance(args
);
17590 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= 0;
17592 int arg1
= (int) -1 ;
17593 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17594 wxPyLocale
*result
= 0 ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 char * kwnames
[] = {
17602 (char *) "language",(char *) "flags", NULL
17605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17607 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17608 if (!SWIG_IsOK(ecode1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17611 arg1
= static_cast< int >(val1
);
17614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17615 if (!SWIG_IsOK(ecode2
)) {
17616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17618 arg2
= static_cast< int >(val2
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17633 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17634 PyObject
*resultobj
= 0;
17635 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17638 PyObject
*swig_obj
[1] ;
17640 if (!args
) SWIG_fail
;
17641 swig_obj
[0] = args
;
17642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17643 if (!SWIG_IsOK(res1
)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17646 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_Py_Void();
17661 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17664 PyObject
*arg2
= (PyObject
*) 0 ;
17665 PyObject
*arg3
= (PyObject
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 PyObject
* obj2
= 0 ;
17671 char * kwnames
[] = {
17672 (char *) "self",(char *) "self",(char *) "_class", NULL
17675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17680 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= SWIG_Py_Void();
17696 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
= 0;
17698 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17699 wxString
*arg2
= 0 ;
17700 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17702 wxString
*result
= 0 ;
17705 bool temp2
= false ;
17706 bool temp3
= false ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 PyObject
* obj2
= 0 ;
17710 char * kwnames
[] = {
17711 (char *) "self",(char *) "origString",(char *) "domain", NULL
17714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17716 if (!SWIG_IsOK(res1
)) {
17717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17719 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17721 arg2
= wxString_in_helper(obj1
);
17722 if (arg2
== NULL
) SWIG_fail
;
17727 arg3
= wxString_in_helper(obj2
);
17728 if (arg3
== NULL
) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17736 result
= (wxString
*) &_result_ref
;
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17745 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17770 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
= 0;
17772 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17773 wxString
*arg2
= 0 ;
17774 wxString
*arg3
= 0 ;
17776 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17777 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17778 wxString
*result
= 0 ;
17781 bool temp2
= false ;
17782 bool temp3
= false ;
17785 bool temp5
= false ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 PyObject
* obj2
= 0 ;
17789 PyObject
* obj3
= 0 ;
17790 PyObject
* obj4
= 0 ;
17791 char * kwnames
[] = {
17792 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17797 if (!SWIG_IsOK(res1
)) {
17798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17800 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17802 arg2
= wxString_in_helper(obj1
);
17803 if (arg2
== NULL
) SWIG_fail
;
17807 arg3
= wxString_in_helper(obj2
);
17808 if (arg3
== NULL
) SWIG_fail
;
17811 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17812 if (!SWIG_IsOK(ecode4
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17815 arg4
= static_cast< size_t >(val4
);
17818 arg5
= wxString_in_helper(obj4
);
17819 if (arg5
== NULL
) SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17827 result
= (wxString
*) &_result_ref
;
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17836 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17869 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17872 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17873 return SWIG_Py_Void();
17876 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 return SWIG_Python_InitShadowInstance(args
);
17880 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17881 PyObject
*resultobj
= 0;
17882 wxLocale
*result
= 0 ;
17884 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (wxLocale
*)wxGetLocale();
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17898 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17899 PyObject
*resultobj
= 0;
17900 wxString
*arg1
= 0 ;
17902 bool temp1
= false ;
17904 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17906 arg1
= wxString_in_helper(swig_obj
[0]);
17907 if (arg1
== NULL
) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= wxGetTranslation((wxString
const &)*arg1
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17937 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17938 PyObject
*resultobj
= 0;
17939 wxString
*arg1
= 0 ;
17940 wxString
*arg2
= 0 ;
17942 bool temp1
= false ;
17943 bool temp2
= false ;
17945 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17947 arg1
= wxString_in_helper(swig_obj
[0]);
17948 if (arg1
== NULL
) SWIG_fail
;
17952 arg2
= wxString_in_helper(swig_obj
[1]);
17953 if (arg2
== NULL
) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17991 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17992 PyObject
*resultobj
= 0;
17993 wxString
*arg1
= 0 ;
17994 wxString
*arg2
= 0 ;
17997 bool temp1
= false ;
17998 bool temp2
= false ;
18002 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
18004 arg1
= wxString_in_helper(swig_obj
[0]);
18005 if (arg1
== NULL
) SWIG_fail
;
18009 arg2
= wxString_in_helper(swig_obj
[1]);
18010 if (arg2
== NULL
) SWIG_fail
;
18013 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
18014 if (!SWIG_IsOK(ecode3
)) {
18015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
18017 arg3
= static_cast< size_t >(val3
);
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18053 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
18054 PyObject
*resultobj
= 0;
18055 wxString
*arg1
= 0 ;
18056 wxString
*arg2
= 0 ;
18058 wxString
*arg4
= 0 ;
18060 bool temp1
= false ;
18061 bool temp2
= false ;
18064 bool temp4
= false ;
18066 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
18068 arg1
= wxString_in_helper(swig_obj
[0]);
18069 if (arg1
== NULL
) SWIG_fail
;
18073 arg2
= wxString_in_helper(swig_obj
[1]);
18074 if (arg2
== NULL
) SWIG_fail
;
18077 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
18078 if (!SWIG_IsOK(ecode3
)) {
18079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
18081 arg3
= static_cast< size_t >(val3
);
18083 arg4
= wxString_in_helper(swig_obj
[3]);
18084 if (arg4
== NULL
) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18130 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
18134 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
18137 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
18140 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
18143 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
18146 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
18150 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
18155 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18156 PyObject
*resultobj
= 0;
18157 wxEncodingConverter
*result
= 0 ;
18159 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 result
= (wxEncodingConverter
*)new wxEncodingConverter();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
18173 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 PyObject
*resultobj
= 0;
18175 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18178 PyObject
*swig_obj
[1] ;
18180 if (!args
) SWIG_fail
;
18181 swig_obj
[0] = args
;
18182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
18183 if (!SWIG_IsOK(res1
)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18186 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_Py_Void();
18201 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
= 0;
18203 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18204 wxFontEncoding arg2
;
18205 wxFontEncoding arg3
;
18206 int arg4
= (int) wxCONVERT_STRICT
;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 PyObject
* obj2
= 0 ;
18219 PyObject
* obj3
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18229 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18231 if (!SWIG_IsOK(ecode2
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18234 arg2
= static_cast< wxFontEncoding
>(val2
);
18235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18236 if (!SWIG_IsOK(ecode3
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18239 arg3
= static_cast< wxFontEncoding
>(val3
);
18241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18242 if (!SWIG_IsOK(ecode4
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18245 arg4
= static_cast< int >(val4
);
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18262 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= 0;
18264 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18265 wxString
*arg2
= 0 ;
18269 bool temp2
= false ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char * kwnames
[] = {
18273 (char *) "self",(char *) "input", NULL
18276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18281 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18283 arg2
= wxString_in_helper(obj1
);
18284 if (arg2
== NULL
) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18314 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= 0;
18316 wxFontEncoding arg1
;
18317 int arg2
= (int) wxPLATFORM_CURRENT
;
18318 wxFontEncodingArray result
;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 char * kwnames
[] = {
18326 (char *) "enc",(char *) "platform", NULL
18329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18331 if (!SWIG_IsOK(ecode1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18334 arg1
= static_cast< wxFontEncoding
>(val1
);
18336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18337 if (!SWIG_IsOK(ecode2
)) {
18338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18340 arg2
= static_cast< int >(val2
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= PyList_New(0);
18350 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18351 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18352 PyList_Append(resultobj
, number
);
18362 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
= 0;
18364 wxFontEncoding arg1
;
18365 wxFontEncodingArray result
;
18368 PyObject
* obj0
= 0 ;
18369 char * kwnames
[] = {
18370 (char *) "enc", NULL
18373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18375 if (!SWIG_IsOK(ecode1
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18378 arg1
= static_cast< wxFontEncoding
>(val1
);
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= PyList_New(0);
18387 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18388 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18389 PyList_Append(resultobj
, number
);
18399 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
= 0;
18401 wxFontEncoding arg1
;
18402 wxFontEncoding arg2
;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "encIn",(char *) "encOut", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18416 if (!SWIG_IsOK(ecode1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18419 arg1
= static_cast< wxFontEncoding
>(val1
);
18420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18421 if (!SWIG_IsOK(ecode2
)) {
18422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18424 arg2
= static_cast< wxFontEncoding
>(val2
);
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18443 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18444 return SWIG_Py_Void();
18447 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18448 return SWIG_Python_InitShadowInstance(args
);
18451 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18452 PyObject
*resultobj
= 0;
18453 wxDC
*arg1
= (wxDC
*) 0 ;
18456 PyObject
*swig_obj
[1] ;
18458 if (!args
) SWIG_fail
;
18459 swig_obj
[0] = args
;
18460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18461 if (!SWIG_IsOK(res1
)) {
18462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= 0;
18481 wxDC
*arg1
= (wxDC
*) 0 ;
18484 wxColour
*arg4
= 0 ;
18485 int arg5
= (int) wxFLOOD_SURFACE
;
18496 PyObject
* obj0
= 0 ;
18497 PyObject
* obj1
= 0 ;
18498 PyObject
* obj2
= 0 ;
18499 PyObject
* obj3
= 0 ;
18500 PyObject
* obj4
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18512 if (!SWIG_IsOK(ecode2
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18515 arg2
= static_cast< int >(val2
);
18516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18517 if (!SWIG_IsOK(ecode3
)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18520 arg3
= static_cast< int >(val3
);
18523 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18527 if (!SWIG_IsOK(ecode5
)) {
18528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18530 arg5
= static_cast< int >(val5
);
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18547 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
= 0;
18549 wxDC
*arg1
= (wxDC
*) 0 ;
18550 wxPoint
*arg2
= 0 ;
18551 wxColour
*arg3
= 0 ;
18552 int arg4
= (int) wxFLOOD_SURFACE
;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 PyObject
* obj2
= 0 ;
18563 PyObject
* obj3
= 0 ;
18564 char * kwnames
[] = {
18565 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18580 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18584 if (!SWIG_IsOK(ecode4
)) {
18585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18587 arg4
= static_cast< int >(val4
);
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18604 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
= 0;
18606 wxDC
*arg1
= (wxDC
*) 0 ;
18608 wxColour
*arg3
= 0 ;
18609 wxColour
*arg4
= 0 ;
18610 wxPoint
*arg5
= 0 ;
18617 PyObject
* obj0
= 0 ;
18618 PyObject
* obj1
= 0 ;
18619 PyObject
* obj2
= 0 ;
18620 PyObject
* obj3
= 0 ;
18621 PyObject
* obj4
= 0 ;
18622 char * kwnames
[] = {
18623 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18634 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18642 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18646 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_Py_Void();
18661 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18665 wxColour
*arg3
= 0 ;
18666 wxColour
*arg4
= 0 ;
18667 wxDirection arg5
= (wxDirection
) wxEAST
;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 PyObject
* obj2
= 0 ;
18678 PyObject
* obj3
= 0 ;
18679 PyObject
* obj4
= 0 ;
18680 char * kwnames
[] = {
18681 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18686 if (!SWIG_IsOK(res1
)) {
18687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18692 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18700 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18703 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18704 if (!SWIG_IsOK(ecode5
)) {
18705 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18707 arg5
= static_cast< wxDirection
>(val5
);
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_Py_Void();
18722 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
= 0;
18724 wxDC
*arg1
= (wxDC
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 PyObject
* obj2
= 0 ;
18737 char * kwnames
[] = {
18738 (char *) "self",(char *) "x",(char *) "y", NULL
18741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18743 if (!SWIG_IsOK(res1
)) {
18744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18748 if (!SWIG_IsOK(ecode2
)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18751 arg2
= static_cast< int >(val2
);
18752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18753 if (!SWIG_IsOK(ecode3
)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18756 arg3
= static_cast< int >(val3
);
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18770 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
= 0;
18772 wxDC
*arg1
= (wxDC
*) 0 ;
18773 wxPoint
*arg2
= 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "self",(char *) "pt", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18807 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
= 0;
18809 wxDC
*arg1
= (wxDC
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 PyObject
* obj2
= 0 ;
18827 PyObject
* obj3
= 0 ;
18828 PyObject
* obj4
= 0 ;
18829 char * kwnames
[] = {
18830 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18840 if (!SWIG_IsOK(ecode2
)) {
18841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18843 arg2
= static_cast< int >(val2
);
18844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18845 if (!SWIG_IsOK(ecode3
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18848 arg3
= static_cast< int >(val3
);
18849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18850 if (!SWIG_IsOK(ecode4
)) {
18851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18853 arg4
= static_cast< int >(val4
);
18854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18855 if (!SWIG_IsOK(ecode5
)) {
18856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18858 arg5
= static_cast< int >(val5
);
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 resultobj
= SWIG_Py_Void();
18872 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
= 0;
18874 wxDC
*arg1
= (wxDC
*) 0 ;
18875 wxPoint
*arg2
= 0 ;
18876 wxPoint
*arg3
= 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18905 wxPyEndAllowThreads(__tstate
);
18906 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= SWIG_Py_Void();
18915 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
= 0;
18917 wxDC
*arg1
= (wxDC
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 PyObject
* obj2
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "self",(char *) "x",(char *) "y", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18935 if (!SWIG_IsOK(res1
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18940 if (!SWIG_IsOK(ecode2
)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18943 arg2
= static_cast< int >(val2
);
18944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18945 if (!SWIG_IsOK(ecode3
)) {
18946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18948 arg3
= static_cast< int >(val3
);
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->CrossHair(arg2
,arg3
);
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= SWIG_Py_Void();
18962 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18963 PyObject
*resultobj
= 0;
18964 wxDC
*arg1
= (wxDC
*) 0 ;
18965 wxPoint
*arg2
= 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char * kwnames
[] = {
18972 (char *) "self",(char *) "pt", NULL
18975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= SWIG_Py_Void();
18998 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxDC
*arg1
= (wxDC
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 PyObject
* obj1
= 0 ;
19023 PyObject
* obj2
= 0 ;
19024 PyObject
* obj3
= 0 ;
19025 PyObject
* obj4
= 0 ;
19026 PyObject
* obj5
= 0 ;
19027 PyObject
* obj6
= 0 ;
19028 char * kwnames
[] = {
19029 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
19032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19034 if (!SWIG_IsOK(res1
)) {
19035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
19037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19039 if (!SWIG_IsOK(ecode2
)) {
19040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
19042 arg2
= static_cast< int >(val2
);
19043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19044 if (!SWIG_IsOK(ecode3
)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
19047 arg3
= static_cast< int >(val3
);
19048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19049 if (!SWIG_IsOK(ecode4
)) {
19050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
19052 arg4
= static_cast< int >(val4
);
19053 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19054 if (!SWIG_IsOK(ecode5
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
19057 arg5
= static_cast< int >(val5
);
19058 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19059 if (!SWIG_IsOK(ecode6
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
19062 arg6
= static_cast< int >(val6
);
19063 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19064 if (!SWIG_IsOK(ecode7
)) {
19065 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
19067 arg7
= static_cast< int >(val7
);
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= SWIG_Py_Void();
19081 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
= 0;
19083 wxDC
*arg1
= (wxDC
*) 0 ;
19084 wxPoint
*arg2
= 0 ;
19085 wxPoint
*arg3
= 0 ;
19086 wxPoint
*arg4
= 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 PyObject
* obj2
= 0 ;
19095 PyObject
* obj3
= 0 ;
19096 char * kwnames
[] = {
19097 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
19100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19102 if (!SWIG_IsOK(res1
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_Py_Void();
19131 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
= 0;
19133 wxDC
*arg1
= (wxDC
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 PyObject
* obj2
= 0 ;
19151 PyObject
* obj3
= 0 ;
19152 PyObject
* obj4
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
19162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19164 if (!SWIG_IsOK(ecode2
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
19167 arg2
= static_cast< int >(val2
);
19168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19169 if (!SWIG_IsOK(ecode3
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
19172 arg3
= static_cast< int >(val3
);
19173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19174 if (!SWIG_IsOK(ecode4
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
19177 arg4
= static_cast< int >(val4
);
19178 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19179 if (!SWIG_IsOK(ecode5
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
19182 arg5
= static_cast< int >(val5
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
= 0;
19198 wxDC
*arg1
= (wxDC
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "self",(char *) "rect", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
19214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_Py_Void();
19232 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
= 0;
19234 wxDC
*arg1
= (wxDC
*) 0 ;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 PyObject
* obj2
= 0 ;
19258 PyObject
* obj3
= 0 ;
19259 PyObject
* obj4
= 0 ;
19260 PyObject
* obj5
= 0 ;
19261 PyObject
* obj6
= 0 ;
19262 char * kwnames
[] = {
19263 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19273 if (!SWIG_IsOK(ecode2
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19276 arg2
= static_cast< int >(val2
);
19277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19278 if (!SWIG_IsOK(ecode3
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19281 arg3
= static_cast< int >(val3
);
19282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19283 if (!SWIG_IsOK(ecode4
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19286 arg4
= static_cast< int >(val4
);
19287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19288 if (!SWIG_IsOK(ecode5
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19291 arg5
= static_cast< int >(val5
);
19292 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19293 if (!SWIG_IsOK(ecode6
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19296 arg6
= static_cast< double >(val6
);
19297 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19298 if (!SWIG_IsOK(ecode7
)) {
19299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19301 arg7
= static_cast< double >(val7
);
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_Py_Void();
19315 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
= 0;
19317 wxDC
*arg1
= (wxDC
*) 0 ;
19318 wxPoint
*arg2
= 0 ;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 PyObject
* obj2
= 0 ;
19333 PyObject
* obj3
= 0 ;
19334 PyObject
* obj4
= 0 ;
19335 char * kwnames
[] = {
19336 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19341 if (!SWIG_IsOK(res1
)) {
19342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19351 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19353 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19354 if (!SWIG_IsOK(ecode4
)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19357 arg4
= static_cast< double >(val4
);
19358 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19359 if (!SWIG_IsOK(ecode5
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19362 arg5
= static_cast< double >(val5
);
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_Py_Void();
19376 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
= 0;
19378 wxDC
*arg1
= (wxDC
*) 0 ;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 PyObject
* obj2
= 0 ;
19390 char * kwnames
[] = {
19391 (char *) "self",(char *) "x",(char *) "y", NULL
19394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19396 if (!SWIG_IsOK(res1
)) {
19397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19401 if (!SWIG_IsOK(ecode2
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19404 arg2
= static_cast< int >(val2
);
19405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19406 if (!SWIG_IsOK(ecode3
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19409 arg3
= static_cast< int >(val3
);
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->DrawPoint(arg2
,arg3
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_Py_Void();
19423 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
= 0;
19425 wxDC
*arg1
= (wxDC
*) 0 ;
19426 wxPoint
*arg2
= 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 char * kwnames
[] = {
19433 (char *) "self",(char *) "pt", NULL
19436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19438 if (!SWIG_IsOK(res1
)) {
19439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_Py_Void();
19459 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
= 0;
19461 wxDC
*arg1
= (wxDC
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 PyObject
* obj2
= 0 ;
19479 PyObject
* obj3
= 0 ;
19480 PyObject
* obj4
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19492 if (!SWIG_IsOK(ecode2
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19495 arg2
= static_cast< int >(val2
);
19496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19497 if (!SWIG_IsOK(ecode3
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19500 arg3
= static_cast< int >(val3
);
19501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19502 if (!SWIG_IsOK(ecode4
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19505 arg4
= static_cast< int >(val4
);
19506 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19507 if (!SWIG_IsOK(ecode5
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19510 arg5
= static_cast< int >(val5
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxDC
*arg1
= (wxDC
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "self",(char *) "rect", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19545 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_Py_Void();
19560 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
= 0;
19562 wxDC
*arg1
= (wxDC
*) 0 ;
19563 wxPoint
*arg2
= 0 ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "pt",(char *) "sz", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19588 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_Py_Void();
19603 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= 0;
19605 wxDC
*arg1
= (wxDC
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 PyObject
* obj2
= 0 ;
19626 PyObject
* obj3
= 0 ;
19627 PyObject
* obj4
= 0 ;
19628 PyObject
* obj5
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19643 arg2
= static_cast< int >(val2
);
19644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19645 if (!SWIG_IsOK(ecode3
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19648 arg3
= static_cast< int >(val3
);
19649 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19650 if (!SWIG_IsOK(ecode4
)) {
19651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19653 arg4
= static_cast< int >(val4
);
19654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19655 if (!SWIG_IsOK(ecode5
)) {
19656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19658 arg5
= static_cast< int >(val5
);
19659 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19660 if (!SWIG_IsOK(ecode6
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19663 arg6
= static_cast< double >(val6
);
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_Py_Void();
19677 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
= 0;
19679 wxDC
*arg1
= (wxDC
*) 0 ;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 char * kwnames
[] = {
19691 (char *) "self",(char *) "r",(char *) "radius", NULL
19694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19696 if (!SWIG_IsOK(res1
)) {
19697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19704 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19705 if (!SWIG_IsOK(ecode3
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19708 arg3
= static_cast< double >(val3
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= SWIG_Py_Void();
19722 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
= 0;
19724 wxDC
*arg1
= (wxDC
*) 0 ;
19725 wxPoint
*arg2
= 0 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 PyObject
* obj3
= 0 ;
19738 char * kwnames
[] = {
19739 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19744 if (!SWIG_IsOK(res1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19754 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19756 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19757 if (!SWIG_IsOK(ecode4
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19760 arg4
= static_cast< double >(val4
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19774 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= 0;
19776 wxDC
*arg1
= (wxDC
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 PyObject
* obj2
= 0 ;
19791 PyObject
* obj3
= 0 ;
19792 char * kwnames
[] = {
19793 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19798 if (!SWIG_IsOK(res1
)) {
19799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19803 if (!SWIG_IsOK(ecode2
)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19806 arg2
= static_cast< int >(val2
);
19807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19808 if (!SWIG_IsOK(ecode3
)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19811 arg3
= static_cast< int >(val3
);
19812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19813 if (!SWIG_IsOK(ecode4
)) {
19814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19816 arg4
= static_cast< int >(val4
);
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_Py_Void();
19830 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= 0;
19832 wxDC
*arg1
= (wxDC
*) 0 ;
19833 wxPoint
*arg2
= 0 ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 PyObject
* obj2
= 0 ;
19843 char * kwnames
[] = {
19844 (char *) "self",(char *) "pt",(char *) "radius", NULL
19847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19849 if (!SWIG_IsOK(res1
)) {
19850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19858 if (!SWIG_IsOK(ecode3
)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19861 arg3
= static_cast< int >(val3
);
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_Py_Void();
19875 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
= 0;
19877 wxDC
*arg1
= (wxDC
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 PyObject
* obj2
= 0 ;
19895 PyObject
* obj3
= 0 ;
19896 PyObject
* obj4
= 0 ;
19897 char * kwnames
[] = {
19898 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19903 if (!SWIG_IsOK(res1
)) {
19904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19908 if (!SWIG_IsOK(ecode2
)) {
19909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19911 arg2
= static_cast< int >(val2
);
19912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19913 if (!SWIG_IsOK(ecode3
)) {
19914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19916 arg3
= static_cast< int >(val3
);
19917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19918 if (!SWIG_IsOK(ecode4
)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19921 arg4
= static_cast< int >(val4
);
19922 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19923 if (!SWIG_IsOK(ecode5
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19926 arg5
= static_cast< int >(val5
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19940 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxDC
*arg1
= (wxDC
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char * kwnames
[] = {
19950 (char *) "self",(char *) "rect", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19961 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_Py_Void();
19976 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
= 0;
19978 wxDC
*arg1
= (wxDC
*) 0 ;
19979 wxPoint
*arg2
= 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 char * kwnames
[] = {
19989 (char *) "self",(char *) "pt",(char *) "sz", NULL
19992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19994 if (!SWIG_IsOK(res1
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20000 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20004 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_Py_Void();
20019 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
= 0;
20021 wxDC
*arg1
= (wxDC
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 PyObject
* obj3
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
20048 if (!SWIG_IsOK(res2
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
20052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
20054 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
20055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20056 if (!SWIG_IsOK(ecode3
)) {
20057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
20059 arg3
= static_cast< int >(val3
);
20060 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20061 if (!SWIG_IsOK(ecode4
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
20064 arg4
= static_cast< int >(val4
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_Py_Void();
20078 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
= 0;
20080 wxDC
*arg1
= (wxDC
*) 0 ;
20082 wxPoint
*arg3
= 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 char * kwnames
[] = {
20092 (char *) "self",(char *) "icon",(char *) "pt", NULL
20095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
20102 if (!SWIG_IsOK(res2
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
20106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
20108 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
20111 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= SWIG_Py_Void();
20126 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
= 0;
20128 wxDC
*arg1
= (wxDC
*) 0 ;
20129 wxBitmap
*arg2
= 0 ;
20132 bool arg5
= (bool) false ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 PyObject
* obj2
= 0 ;
20146 PyObject
* obj3
= 0 ;
20147 PyObject
* obj4
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20159 if (!SWIG_IsOK(res2
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20165 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20167 if (!SWIG_IsOK(ecode3
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
20170 arg3
= static_cast< int >(val3
);
20171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20172 if (!SWIG_IsOK(ecode4
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
20175 arg4
= static_cast< int >(val4
);
20177 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20178 if (!SWIG_IsOK(ecode5
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
20181 arg5
= static_cast< bool >(val5
);
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_Py_Void();
20196 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
= 0;
20198 wxDC
*arg1
= (wxDC
*) 0 ;
20199 wxBitmap
*arg2
= 0 ;
20200 wxPoint
*arg3
= 0 ;
20201 bool arg4
= (bool) false ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 PyObject
* obj3
= 0 ;
20213 char * kwnames
[] = {
20214 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
20217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20219 if (!SWIG_IsOK(res1
)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20224 if (!SWIG_IsOK(res2
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20230 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20233 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20236 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20237 if (!SWIG_IsOK(ecode4
)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20240 arg4
= static_cast< bool >(val4
);
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_Py_Void();
20255 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxDC
*arg1
= (wxDC
*) 0 ;
20258 wxString
*arg2
= 0 ;
20263 bool temp2
= false ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 PyObject
* obj2
= 0 ;
20271 PyObject
* obj3
= 0 ;
20272 char * kwnames
[] = {
20273 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20283 arg2
= wxString_in_helper(obj1
);
20284 if (arg2
== NULL
) SWIG_fail
;
20287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20288 if (!SWIG_IsOK(ecode3
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20291 arg3
= static_cast< int >(val3
);
20292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20293 if (!SWIG_IsOK(ecode4
)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20296 arg4
= static_cast< int >(val4
);
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_Py_Void();
20318 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxDC
*arg1
= (wxDC
*) 0 ;
20321 wxString
*arg2
= 0 ;
20322 wxPoint
*arg3
= 0 ;
20325 bool temp2
= false ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 PyObject
* obj2
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "text",(char *) "pt", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 arg2
= wxString_in_helper(obj1
);
20342 if (arg2
== NULL
) SWIG_fail
;
20347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_Py_Void();
20370 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20371 PyObject
*resultobj
= 0;
20372 wxDC
*arg1
= (wxDC
*) 0 ;
20373 wxString
*arg2
= 0 ;
20379 bool temp2
= false ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 PyObject
* obj2
= 0 ;
20389 PyObject
* obj3
= 0 ;
20390 PyObject
* obj4
= 0 ;
20391 char * kwnames
[] = {
20392 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20402 arg2
= wxString_in_helper(obj1
);
20403 if (arg2
== NULL
) SWIG_fail
;
20406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20407 if (!SWIG_IsOK(ecode3
)) {
20408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20410 arg3
= static_cast< int >(val3
);
20411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20412 if (!SWIG_IsOK(ecode4
)) {
20413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20415 arg4
= static_cast< int >(val4
);
20416 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20417 if (!SWIG_IsOK(ecode5
)) {
20418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20420 arg5
= static_cast< double >(val5
);
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_Py_Void();
20442 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
= 0;
20444 wxDC
*arg1
= (wxDC
*) 0 ;
20445 wxString
*arg2
= 0 ;
20446 wxPoint
*arg3
= 0 ;
20450 bool temp2
= false ;
20454 PyObject
* obj0
= 0 ;
20455 PyObject
* obj1
= 0 ;
20456 PyObject
* obj2
= 0 ;
20457 PyObject
* obj3
= 0 ;
20458 char * kwnames
[] = {
20459 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20469 arg2
= wxString_in_helper(obj1
);
20470 if (arg2
== NULL
) SWIG_fail
;
20475 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20477 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20478 if (!SWIG_IsOK(ecode4
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20481 arg4
= static_cast< double >(val4
);
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= SWIG_Py_Void();
20503 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
= 0;
20505 wxDC
*arg1
= (wxDC
*) 0 ;
20510 wxDC
*arg6
= (wxDC
*) 0 ;
20513 int arg9
= (int) wxCOPY
;
20514 bool arg10
= (bool) false ;
20515 int arg11
= (int) -1 ;
20516 int arg12
= (int) -1 ;
20542 PyObject
* obj0
= 0 ;
20543 PyObject
* obj1
= 0 ;
20544 PyObject
* obj2
= 0 ;
20545 PyObject
* obj3
= 0 ;
20546 PyObject
* obj4
= 0 ;
20547 PyObject
* obj5
= 0 ;
20548 PyObject
* obj6
= 0 ;
20549 PyObject
* obj7
= 0 ;
20550 PyObject
* obj8
= 0 ;
20551 PyObject
* obj9
= 0 ;
20552 PyObject
* obj10
= 0 ;
20553 PyObject
* obj11
= 0 ;
20554 char * kwnames
[] = {
20555 (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
20558 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
;
20559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20565 if (!SWIG_IsOK(ecode2
)) {
20566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20568 arg2
= static_cast< int >(val2
);
20569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20570 if (!SWIG_IsOK(ecode3
)) {
20571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20573 arg3
= static_cast< int >(val3
);
20574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20575 if (!SWIG_IsOK(ecode4
)) {
20576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20578 arg4
= static_cast< int >(val4
);
20579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20580 if (!SWIG_IsOK(ecode5
)) {
20581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20583 arg5
= static_cast< int >(val5
);
20584 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20585 if (!SWIG_IsOK(res6
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20588 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20589 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20590 if (!SWIG_IsOK(ecode7
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20593 arg7
= static_cast< int >(val7
);
20594 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20595 if (!SWIG_IsOK(ecode8
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20598 arg8
= static_cast< int >(val8
);
20600 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20601 if (!SWIG_IsOK(ecode9
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20604 arg9
= static_cast< int >(val9
);
20607 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20608 if (!SWIG_IsOK(ecode10
)) {
20609 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20611 arg10
= static_cast< bool >(val10
);
20614 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20615 if (!SWIG_IsOK(ecode11
)) {
20616 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20618 arg11
= static_cast< int >(val11
);
20621 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20622 if (!SWIG_IsOK(ecode12
)) {
20623 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20625 arg12
= static_cast< int >(val12
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20642 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxDC
*arg1
= (wxDC
*) 0 ;
20645 wxPoint
*arg2
= 0 ;
20647 wxDC
*arg4
= (wxDC
*) 0 ;
20648 wxPoint
*arg5
= 0 ;
20649 int arg6
= (int) wxCOPY
;
20650 bool arg7
= (bool) false ;
20651 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20652 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 PyObject
* obj2
= 0 ;
20669 PyObject
* obj3
= 0 ;
20670 PyObject
* obj4
= 0 ;
20671 PyObject
* obj5
= 0 ;
20672 PyObject
* obj6
= 0 ;
20673 PyObject
* obj7
= 0 ;
20674 char * kwnames
[] = {
20675 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20680 if (!SWIG_IsOK(res1
)) {
20681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20690 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20692 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20693 if (!SWIG_IsOK(res4
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20696 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20702 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20703 if (!SWIG_IsOK(ecode6
)) {
20704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20706 arg6
= static_cast< int >(val6
);
20709 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20710 if (!SWIG_IsOK(ecode7
)) {
20711 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20713 arg7
= static_cast< bool >(val7
);
20718 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20736 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20743 wxDC
*arg6
= (wxDC
*) 0 ;
20748 int arg11
= (int) wxCOPY
;
20749 bool arg12
= (bool) false ;
20750 int arg13
= (int) wxDefaultCoord
;
20751 int arg14
= (int) wxDefaultCoord
;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 PyObject
* obj3
= 0 ;
20785 PyObject
* obj4
= 0 ;
20786 PyObject
* obj5
= 0 ;
20787 PyObject
* obj6
= 0 ;
20788 PyObject
* obj7
= 0 ;
20789 PyObject
* obj8
= 0 ;
20790 PyObject
* obj9
= 0 ;
20791 PyObject
* obj10
= 0 ;
20792 PyObject
* obj11
= 0 ;
20793 PyObject
* obj12
= 0 ;
20794 PyObject
* obj13
= 0 ;
20795 char * kwnames
[] = {
20796 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20806 if (!SWIG_IsOK(ecode2
)) {
20807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20809 arg2
= static_cast< int >(val2
);
20810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20811 if (!SWIG_IsOK(ecode3
)) {
20812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20814 arg3
= static_cast< int >(val3
);
20815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20816 if (!SWIG_IsOK(ecode4
)) {
20817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20819 arg4
= static_cast< int >(val4
);
20820 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20821 if (!SWIG_IsOK(ecode5
)) {
20822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20824 arg5
= static_cast< int >(val5
);
20825 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20826 if (!SWIG_IsOK(res6
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20829 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20830 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20831 if (!SWIG_IsOK(ecode7
)) {
20832 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20834 arg7
= static_cast< int >(val7
);
20835 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20836 if (!SWIG_IsOK(ecode8
)) {
20837 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20839 arg8
= static_cast< int >(val8
);
20840 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20841 if (!SWIG_IsOK(ecode9
)) {
20842 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20844 arg9
= static_cast< int >(val9
);
20845 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20846 if (!SWIG_IsOK(ecode10
)) {
20847 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20849 arg10
= static_cast< int >(val10
);
20851 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20852 if (!SWIG_IsOK(ecode11
)) {
20853 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20855 arg11
= static_cast< int >(val11
);
20858 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20859 if (!SWIG_IsOK(ecode12
)) {
20860 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20862 arg12
= static_cast< bool >(val12
);
20865 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20866 if (!SWIG_IsOK(ecode13
)) {
20867 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20869 arg13
= static_cast< int >(val13
);
20872 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20873 if (!SWIG_IsOK(ecode14
)) {
20874 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20876 arg14
= static_cast< int >(val14
);
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20893 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
= 0;
20895 wxDC
*arg1
= (wxDC
*) 0 ;
20896 wxPoint
*arg2
= 0 ;
20898 wxDC
*arg4
= (wxDC
*) 0 ;
20899 wxPoint
*arg5
= 0 ;
20901 int arg7
= (int) wxCOPY
;
20902 bool arg8
= (bool) false ;
20903 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20904 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20919 PyObject
* obj0
= 0 ;
20920 PyObject
* obj1
= 0 ;
20921 PyObject
* obj2
= 0 ;
20922 PyObject
* obj3
= 0 ;
20923 PyObject
* obj4
= 0 ;
20924 PyObject
* obj5
= 0 ;
20925 PyObject
* obj6
= 0 ;
20926 PyObject
* obj7
= 0 ;
20927 PyObject
* obj8
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20934 if (!SWIG_IsOK(res1
)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20944 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20946 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res4
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20950 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20953 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20957 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20960 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20961 if (!SWIG_IsOK(ecode7
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20964 arg7
= static_cast< int >(val7
);
20967 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20968 if (!SWIG_IsOK(ecode8
)) {
20969 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20971 arg8
= static_cast< bool >(val8
);
20976 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20994 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
= 0;
20996 wxDC
*arg1
= (wxDC
*) 0 ;
20997 wxRect
*arg2
= (wxRect
*) NULL
;
20998 SwigValueWrapper
<wxBitmap
> result
;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "subrect", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",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_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21017 if (!SWIG_IsOK(res2
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
21020 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21035 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= 0;
21037 wxDC
*arg1
= (wxDC
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 PyObject
* obj2
= 0 ;
21055 PyObject
* obj3
= 0 ;
21056 PyObject
* obj4
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21068 if (!SWIG_IsOK(ecode2
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
21071 arg2
= static_cast< int >(val2
);
21072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21073 if (!SWIG_IsOK(ecode3
)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
21076 arg3
= static_cast< int >(val3
);
21077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21078 if (!SWIG_IsOK(ecode4
)) {
21079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
21081 arg4
= static_cast< int >(val4
);
21082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21083 if (!SWIG_IsOK(ecode5
)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
21086 arg5
= static_cast< int >(val5
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_Py_Void();
21100 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxDC
*arg1
= (wxDC
*) 0 ;
21103 wxPoint
*arg2
= 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 PyObject
* obj2
= 0 ;
21112 char * kwnames
[] = {
21113 (char *) "self",(char *) "pt",(char *) "sz", NULL
21116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21118 if (!SWIG_IsOK(res1
)) {
21119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
21121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21128 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_Py_Void();
21143 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= 0;
21145 wxDC
*arg1
= (wxDC
*) 0 ;
21146 wxRegion
*arg2
= 0 ;
21151 PyObject
* obj0
= 0 ;
21152 PyObject
* obj1
= 0 ;
21153 char * kwnames
[] = {
21154 (char *) "self",(char *) "region", NULL
21157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21159 if (!SWIG_IsOK(res1
)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
21164 if (!SWIG_IsOK(res2
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21170 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_Py_Void();
21184 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
= 0;
21186 wxDC
*arg1
= (wxDC
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char * kwnames
[] = {
21194 (char *) "self",(char *) "rect", NULL
21197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21205 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_Py_Void();
21220 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxDC
*arg1
= (wxDC
*) 0 ;
21224 wxPoint
*arg3
= (wxPoint
*) 0 ;
21225 int arg4
= (int) 0 ;
21226 int arg5
= (int) 0 ;
21233 PyObject
* obj0
= 0 ;
21234 PyObject
* obj1
= 0 ;
21235 PyObject
* obj2
= 0 ;
21236 PyObject
* obj3
= 0 ;
21237 char * kwnames
[] = {
21238 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
21241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21243 if (!SWIG_IsOK(res1
)) {
21244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
21246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21248 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21249 if (arg3
== NULL
) SWIG_fail
;
21252 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21253 if (!SWIG_IsOK(ecode4
)) {
21254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
21256 arg4
= static_cast< int >(val4
);
21259 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21260 if (!SWIG_IsOK(ecode5
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
21263 arg5
= static_cast< int >(val5
);
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_Py_Void();
21273 if (arg3
) delete [] arg3
;
21278 if (arg3
) delete [] arg3
;
21284 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
= 0;
21286 wxDC
*arg1
= (wxDC
*) 0 ;
21288 wxPoint
*arg3
= (wxPoint
*) 0 ;
21289 int arg4
= (int) 0 ;
21290 int arg5
= (int) 0 ;
21291 int arg6
= (int) wxODDEVEN_RULE
;
21300 PyObject
* obj0
= 0 ;
21301 PyObject
* obj1
= 0 ;
21302 PyObject
* obj2
= 0 ;
21303 PyObject
* obj3
= 0 ;
21304 PyObject
* obj4
= 0 ;
21305 char * kwnames
[] = {
21306 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
21309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21311 if (!SWIG_IsOK(res1
)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
21314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21316 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21317 if (arg3
== NULL
) SWIG_fail
;
21320 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21321 if (!SWIG_IsOK(ecode4
)) {
21322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
21324 arg4
= static_cast< int >(val4
);
21327 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21328 if (!SWIG_IsOK(ecode5
)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
21331 arg5
= static_cast< int >(val5
);
21334 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
21335 if (!SWIG_IsOK(ecode6
)) {
21336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
21338 arg6
= static_cast< int >(val6
);
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= SWIG_Py_Void();
21348 if (arg3
) delete [] arg3
;
21353 if (arg3
) delete [] arg3
;
21359 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxDC
*arg1
= (wxDC
*) 0 ;
21362 wxString
*arg2
= 0 ;
21364 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21365 int arg5
= (int) -1 ;
21368 bool temp2
= false ;
21374 PyObject
* obj0
= 0 ;
21375 PyObject
* obj1
= 0 ;
21376 PyObject
* obj2
= 0 ;
21377 PyObject
* obj3
= 0 ;
21378 PyObject
* obj4
= 0 ;
21379 char * kwnames
[] = {
21380 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21385 if (!SWIG_IsOK(res1
)) {
21386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21390 arg2
= wxString_in_helper(obj1
);
21391 if (arg2
== NULL
) SWIG_fail
;
21396 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21400 if (!SWIG_IsOK(ecode4
)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
21403 arg4
= static_cast< int >(val4
);
21406 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21407 if (!SWIG_IsOK(ecode5
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
21410 arg5
= static_cast< int >(val5
);
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= SWIG_Py_Void();
21433 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxDC
*arg1
= (wxDC
*) 0 ;
21436 wxString
*arg2
= 0 ;
21437 wxBitmap
*arg3
= 0 ;
21439 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21440 int arg6
= (int) -1 ;
21444 bool temp2
= false ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 PyObject
* obj2
= 0 ;
21455 PyObject
* obj3
= 0 ;
21456 PyObject
* obj4
= 0 ;
21457 PyObject
* obj5
= 0 ;
21458 char * kwnames
[] = {
21459 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21469 arg2
= wxString_in_helper(obj1
);
21470 if (arg2
== NULL
) SWIG_fail
;
21473 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21474 if (!SWIG_IsOK(res3
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21480 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21483 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21486 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21487 if (!SWIG_IsOK(ecode5
)) {
21488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21490 arg5
= static_cast< int >(val5
);
21493 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21494 if (!SWIG_IsOK(ecode6
)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21497 arg6
= static_cast< int >(val6
);
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21520 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxDC
*arg1
= (wxDC
*) 0 ;
21524 wxPoint
*arg3
= (wxPoint
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "self",(char *) "points", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21540 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21541 if (arg3
== NULL
) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 (arg1
)->DrawSpline(arg2
,arg3
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_Py_Void();
21551 if (arg3
) delete [] arg3
;
21556 if (arg3
) delete [] arg3
;
21562 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 PyObject
*resultobj
= 0;
21564 wxDC
*arg1
= (wxDC
*) 0 ;
21567 PyObject
*swig_obj
[1] ;
21569 if (!args
) SWIG_fail
;
21570 swig_obj
[0] = args
;
21571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_Py_Void();
21589 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21590 PyObject
*resultobj
= 0;
21591 wxDC
*arg1
= (wxDC
*) 0 ;
21592 wxString
*arg2
= 0 ;
21596 bool temp2
= false ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char * kwnames
[] = {
21600 (char *) "self",(char *) "message", NULL
21603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21605 if (!SWIG_IsOK(res1
)) {
21606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21610 arg2
= wxString_in_helper(obj1
);
21611 if (arg2
== NULL
) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21637 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 PyObject
*resultobj
= 0;
21639 wxDC
*arg1
= (wxDC
*) 0 ;
21642 PyObject
*swig_obj
[1] ;
21644 if (!args
) SWIG_fail
;
21645 swig_obj
[0] = args
;
21646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21647 if (!SWIG_IsOK(res1
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_Py_Void();
21664 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 PyObject
*resultobj
= 0;
21666 wxDC
*arg1
= (wxDC
*) 0 ;
21669 PyObject
*swig_obj
[1] ;
21671 if (!args
) SWIG_fail
;
21672 swig_obj
[0] = args
;
21673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21674 if (!SWIG_IsOK(res1
)) {
21675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21677 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 (arg1
)->StartPage();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= SWIG_Py_Void();
21691 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21692 PyObject
*resultobj
= 0;
21693 wxDC
*arg1
= (wxDC
*) 0 ;
21696 PyObject
*swig_obj
[1] ;
21698 if (!args
) SWIG_fail
;
21699 swig_obj
[0] = args
;
21700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21701 if (!SWIG_IsOK(res1
)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_Py_Void();
21718 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
= 0;
21720 wxDC
*arg1
= (wxDC
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char * kwnames
[] = {
21729 (char *) "self",(char *) "font", NULL
21732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21739 if (!SWIG_IsOK(res2
)) {
21740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21745 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->SetFont((wxFont
const &)*arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_Py_Void();
21759 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxDC
*arg1
= (wxDC
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char * kwnames
[] = {
21770 (char *) "self",(char *) "pen", NULL
21773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21775 if (!SWIG_IsOK(res1
)) {
21776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21780 if (!SWIG_IsOK(res2
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21786 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->SetPen((wxPen
const &)*arg2
);
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= SWIG_Py_Void();
21800 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
= 0;
21802 wxDC
*arg1
= (wxDC
*) 0 ;
21803 wxBrush
*arg2
= 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char * kwnames
[] = {
21811 (char *) "self",(char *) "brush", NULL
21814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21816 if (!SWIG_IsOK(res1
)) {
21817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21821 if (!SWIG_IsOK(res2
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21827 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_Py_Void();
21841 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
= 0;
21843 wxDC
*arg1
= (wxDC
*) 0 ;
21844 wxBrush
*arg2
= 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char * kwnames
[] = {
21852 (char *) "self",(char *) "brush", NULL
21855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21857 if (!SWIG_IsOK(res1
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21862 if (!SWIG_IsOK(res2
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21868 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_Py_Void();
21882 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
= 0;
21884 wxDC
*arg1
= (wxDC
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "self",(char *) "mode", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21903 if (!SWIG_IsOK(ecode2
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21906 arg2
= static_cast< int >(val2
);
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 (arg1
)->SetBackgroundMode(arg2
);
21910 wxPyEndAllowThreads(__tstate
);
21911 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= SWIG_Py_Void();
21920 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21921 PyObject
*resultobj
= 0;
21922 wxDC
*arg1
= (wxDC
*) 0 ;
21923 wxPalette
*arg2
= 0 ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 char * kwnames
[] = {
21931 (char *) "self",(char *) "palette", NULL
21934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21936 if (!SWIG_IsOK(res1
)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21941 if (!SWIG_IsOK(res2
)) {
21942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21947 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_Py_Void();
21961 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21962 PyObject
*resultobj
= 0;
21963 wxDC
*arg1
= (wxDC
*) 0 ;
21966 PyObject
*swig_obj
[1] ;
21968 if (!args
) SWIG_fail
;
21969 swig_obj
[0] = args
;
21970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21971 if (!SWIG_IsOK(res1
)) {
21972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 (arg1
)->DestroyClippingRegion();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_Py_Void();
21988 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21989 PyObject
*resultobj
= 0;
21990 wxDC
*arg1
= (wxDC
*) 0 ;
21991 int *arg2
= (int *) 0 ;
21992 int *arg3
= (int *) 0 ;
21993 int *arg4
= (int *) 0 ;
21994 int *arg5
= (int *) 0 ;
21998 int res2
= SWIG_TMPOBJ
;
22000 int res3
= SWIG_TMPOBJ
;
22002 int res4
= SWIG_TMPOBJ
;
22004 int res5
= SWIG_TMPOBJ
;
22005 PyObject
*swig_obj
[1] ;
22011 if (!args
) SWIG_fail
;
22012 swig_obj
[0] = args
;
22013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
22017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= SWIG_Py_Void();
22025 if (SWIG_IsTmpObj(res2
)) {
22026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22028 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22031 if (SWIG_IsTmpObj(res3
)) {
22032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22034 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22037 if (SWIG_IsTmpObj(res4
)) {
22038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22040 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22043 if (SWIG_IsTmpObj(res5
)) {
22044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22046 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22055 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxDC
*arg1
= (wxDC
*) 0 ;
22061 PyObject
*swig_obj
[1] ;
22063 if (!args
) SWIG_fail
;
22064 swig_obj
[0] = args
;
22065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22066 if (!SWIG_IsOK(res1
)) {
22067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
22069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= wxDC_GetClippingRect(arg1
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22083 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22089 PyObject
*swig_obj
[1] ;
22091 if (!args
) SWIG_fail
;
22092 swig_obj
[0] = args
;
22093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
22097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_From_int(static_cast< int >(result
));
22111 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22112 PyObject
*resultobj
= 0;
22113 wxDC
*arg1
= (wxDC
*) 0 ;
22117 PyObject
*swig_obj
[1] ;
22119 if (!args
) SWIG_fail
;
22120 swig_obj
[0] = args
;
22121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22122 if (!SWIG_IsOK(res1
)) {
22123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
22125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_From_int(static_cast< int >(result
));
22139 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxDC
*arg1
= (wxDC
*) 0 ;
22142 wxString
*arg2
= 0 ;
22143 int *arg3
= (int *) 0 ;
22144 int *arg4
= (int *) 0 ;
22147 bool temp2
= false ;
22149 int res3
= SWIG_TMPOBJ
;
22151 int res4
= SWIG_TMPOBJ
;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "self",(char *) "string", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22167 arg2
= wxString_in_helper(obj1
);
22168 if (arg2
== NULL
) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_Py_Void();
22178 if (SWIG_IsTmpObj(res3
)) {
22179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22181 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22184 if (SWIG_IsTmpObj(res4
)) {
22185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22187 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22204 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
= 0;
22206 wxDC
*arg1
= (wxDC
*) 0 ;
22207 wxString
*arg2
= 0 ;
22208 int *arg3
= (int *) 0 ;
22209 int *arg4
= (int *) 0 ;
22210 int *arg5
= (int *) 0 ;
22211 int *arg6
= (int *) 0 ;
22212 wxFont
*arg7
= (wxFont
*) NULL
;
22215 bool temp2
= false ;
22217 int res3
= SWIG_TMPOBJ
;
22219 int res4
= SWIG_TMPOBJ
;
22221 int res5
= SWIG_TMPOBJ
;
22223 int res6
= SWIG_TMPOBJ
;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 PyObject
* obj2
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "self",(char *) "string",(char *) "font", NULL
22237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22239 if (!SWIG_IsOK(res1
)) {
22240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22244 arg2
= wxString_in_helper(obj1
);
22245 if (arg2
== NULL
) SWIG_fail
;
22249 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
22250 if (!SWIG_IsOK(res7
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
22253 arg7
= reinterpret_cast< wxFont
* >(argp7
);
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_Py_Void();
22262 if (SWIG_IsTmpObj(res3
)) {
22263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22265 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22268 if (SWIG_IsTmpObj(res4
)) {
22269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22271 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22274 if (SWIG_IsTmpObj(res5
)) {
22275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22277 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22280 if (SWIG_IsTmpObj(res6
)) {
22281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
22283 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
22300 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
= 0;
22302 wxDC
*arg1
= (wxDC
*) 0 ;
22303 wxString
*arg2
= 0 ;
22304 int *arg3
= (int *) 0 ;
22305 int *arg4
= (int *) 0 ;
22306 int *arg5
= (int *) 0 ;
22307 wxFont
*arg6
= (wxFont
*) NULL
;
22310 bool temp2
= false ;
22312 int res3
= SWIG_TMPOBJ
;
22314 int res4
= SWIG_TMPOBJ
;
22316 int res5
= SWIG_TMPOBJ
;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 char * kwnames
[] = {
22323 (char *) "self",(char *) "text",(char *) "font", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 arg2
= wxString_in_helper(obj1
);
22337 if (arg2
== NULL
) SWIG_fail
;
22341 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
22342 if (!SWIG_IsOK(res6
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
22345 arg6
= reinterpret_cast< wxFont
* >(argp6
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22354 if (SWIG_IsTmpObj(res3
)) {
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22357 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22360 if (SWIG_IsTmpObj(res4
)) {
22361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22363 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22366 if (SWIG_IsTmpObj(res5
)) {
22367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22369 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22386 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
= 0;
22388 wxDC
*arg1
= (wxDC
*) 0 ;
22389 wxString
*arg2
= 0 ;
22393 bool temp2
= false ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 char * kwnames
[] = {
22397 (char *) "self",(char *) "text", NULL
22400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
22405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22407 arg2
= wxString_in_helper(obj1
);
22408 if (arg2
== NULL
) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= wxArrayInt2PyList_helper(result
);
22434 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
22448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (arg1
)->GetSize();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22462 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxDC
*arg1
= (wxDC
*) 0 ;
22465 int *arg2
= (int *) 0 ;
22466 int *arg3
= (int *) 0 ;
22470 int res2
= SWIG_TMPOBJ
;
22472 int res3
= SWIG_TMPOBJ
;
22473 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 (arg1
)->GetSize(arg2
,arg3
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_Py_Void();
22491 if (SWIG_IsTmpObj(res2
)) {
22492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22494 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22497 if (SWIG_IsTmpObj(res3
)) {
22498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22509 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22510 PyObject
*resultobj
= 0;
22511 wxDC
*arg1
= (wxDC
*) 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22537 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22538 PyObject
*resultobj
= 0;
22539 wxDC
*arg1
= (wxDC
*) 0 ;
22540 int *arg2
= (int *) 0 ;
22541 int *arg3
= (int *) 0 ;
22545 int res2
= SWIG_TMPOBJ
;
22547 int res3
= SWIG_TMPOBJ
;
22548 PyObject
*swig_obj
[1] ;
22552 if (!args
) SWIG_fail
;
22553 swig_obj
[0] = args
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22566 if (SWIG_IsTmpObj(res2
)) {
22567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22569 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22572 if (SWIG_IsTmpObj(res3
)) {
22573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22575 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22584 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
= 0;
22586 wxDC
*arg1
= (wxDC
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 char * kwnames
[] = {
22596 (char *) "self",(char *) "x", NULL
22599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22606 if (!SWIG_IsOK(ecode2
)) {
22607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22609 arg2
= static_cast< int >(val2
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_From_int(static_cast< int >(result
));
22623 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= 0;
22625 wxDC
*arg1
= (wxDC
*) 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char * kwnames
[] = {
22635 (char *) "self",(char *) "y", NULL
22638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22640 if (!SWIG_IsOK(res1
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22645 if (!SWIG_IsOK(ecode2
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22648 arg2
= static_cast< int >(val2
);
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22652 wxPyEndAllowThreads(__tstate
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 resultobj
= SWIG_From_int(static_cast< int >(result
));
22662 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxDC
*arg1
= (wxDC
*) 0 ;
22671 PyObject
* obj0
= 0 ;
22672 PyObject
* obj1
= 0 ;
22673 char * kwnames
[] = {
22674 (char *) "self",(char *) "x", NULL
22677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22679 if (!SWIG_IsOK(res1
)) {
22680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22684 if (!SWIG_IsOK(ecode2
)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22687 arg2
= static_cast< int >(val2
);
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 resultobj
= SWIG_From_int(static_cast< int >(result
));
22701 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
= 0;
22703 wxDC
*arg1
= (wxDC
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char * kwnames
[] = {
22713 (char *) "self",(char *) "y", NULL
22716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22723 if (!SWIG_IsOK(ecode2
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22726 arg2
= static_cast< int >(val2
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_From_int(static_cast< int >(result
));
22740 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
= 0;
22742 wxDC
*arg1
= (wxDC
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 char * kwnames
[] = {
22752 (char *) "self",(char *) "x", NULL
22755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22757 if (!SWIG_IsOK(res1
)) {
22758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22762 if (!SWIG_IsOK(ecode2
)) {
22763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22765 arg2
= static_cast< int >(val2
);
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_From_int(static_cast< int >(result
));
22779 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
= 0;
22781 wxDC
*arg1
= (wxDC
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char * kwnames
[] = {
22791 (char *) "self",(char *) "y", NULL
22794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22796 if (!SWIG_IsOK(res1
)) {
22797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22801 if (!SWIG_IsOK(ecode2
)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22804 arg2
= static_cast< int >(val2
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_From_int(static_cast< int >(result
));
22818 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
= 0;
22820 wxDC
*arg1
= (wxDC
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char * kwnames
[] = {
22830 (char *) "self",(char *) "x", NULL
22833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22835 if (!SWIG_IsOK(res1
)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22840 if (!SWIG_IsOK(ecode2
)) {
22841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22843 arg2
= static_cast< int >(val2
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_From_int(static_cast< int >(result
));
22857 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
= 0;
22859 wxDC
*arg1
= (wxDC
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char * kwnames
[] = {
22869 (char *) "self",(char *) "y", NULL
22872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22879 if (!SWIG_IsOK(ecode2
)) {
22880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22882 arg2
= static_cast< int >(val2
);
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_From_int(static_cast< int >(result
));
22896 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 PyObject
*resultobj
= 0;
22898 wxDC
*arg1
= (wxDC
*) 0 ;
22902 PyObject
*swig_obj
[1] ;
22904 if (!args
) SWIG_fail
;
22905 swig_obj
[0] = args
;
22906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22926 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxDC
*arg1
= (wxDC
*) 0 ;
22932 PyObject
*swig_obj
[1] ;
22934 if (!args
) SWIG_fail
;
22935 swig_obj
[0] = args
;
22936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22956 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22957 PyObject
*resultobj
= 0;
22958 wxDC
*arg1
= (wxDC
*) 0 ;
22962 PyObject
*swig_obj
[1] ;
22964 if (!args
) SWIG_fail
;
22965 swig_obj
[0] = args
;
22966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_From_int(static_cast< int >(result
));
22984 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 PyObject
*resultobj
= 0;
22986 wxDC
*arg1
= (wxDC
*) 0 ;
22990 PyObject
*swig_obj
[1] ;
22992 if (!args
) SWIG_fail
;
22993 swig_obj
[0] = args
;
22994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22995 if (!SWIG_IsOK(res1
)) {
22996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= ((wxDC
const *)arg1
)->GetPPI();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23012 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxDC
*arg1
= (wxDC
*) 0 ;
23018 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
23026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (bool)((wxDC
const *)arg1
)->IsOk();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23042 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23043 PyObject
*resultobj
= 0;
23044 wxDC
*arg1
= (wxDC
*) 0 ;
23048 PyObject
*swig_obj
[1] ;
23050 if (!args
) SWIG_fail
;
23051 swig_obj
[0] = args
;
23052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
23056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_From_int(static_cast< int >(result
));
23070 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23073 wxBrush
*result
= 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_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
23084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
23089 result
= (wxBrush
*) &_result_ref
;
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 wxBrush
* resultptr
= new wxBrush(*result
);
23096 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
23104 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23105 PyObject
*resultobj
= 0;
23106 wxDC
*arg1
= (wxDC
*) 0 ;
23107 wxBrush
*result
= 0 ;
23110 PyObject
*swig_obj
[1] ;
23112 if (!args
) SWIG_fail
;
23113 swig_obj
[0] = args
;
23114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
23118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
23123 result
= (wxBrush
*) &_result_ref
;
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 wxBrush
* resultptr
= new wxBrush(*result
);
23130 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
23138 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxDC
*arg1
= (wxDC
*) 0 ;
23141 wxFont
*result
= 0 ;
23144 PyObject
*swig_obj
[1] ;
23146 if (!args
) SWIG_fail
;
23147 swig_obj
[0] = args
;
23148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23149 if (!SWIG_IsOK(res1
)) {
23150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
23152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
23157 result
= (wxFont
*) &_result_ref
;
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 wxFont
* resultptr
= new wxFont(*result
);
23164 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23172 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 PyObject
*resultobj
= 0;
23174 wxDC
*arg1
= (wxDC
*) 0 ;
23175 wxPen
*result
= 0 ;
23178 PyObject
*swig_obj
[1] ;
23180 if (!args
) SWIG_fail
;
23181 swig_obj
[0] = args
;
23182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23183 if (!SWIG_IsOK(res1
)) {
23184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
23186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23190 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
23191 result
= (wxPen
*) &_result_ref
;
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 wxPen
* resultptr
= new wxPen(*result
);
23198 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
23206 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23207 PyObject
*resultobj
= 0;
23208 wxDC
*arg1
= (wxDC
*) 0 ;
23209 wxColour
*result
= 0 ;
23212 PyObject
*swig_obj
[1] ;
23214 if (!args
) SWIG_fail
;
23215 swig_obj
[0] = args
;
23216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23217 if (!SWIG_IsOK(res1
)) {
23218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
23220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
23225 result
= (wxColour
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23237 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxDC
*arg1
= (wxDC
*) 0 ;
23240 wxColour
*result
= 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
23251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
23256 result
= (wxColour
*) &_result_ref
;
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23268 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
= 0;
23270 wxDC
*arg1
= (wxDC
*) 0 ;
23271 wxColour
*arg2
= 0 ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char * kwnames
[] = {
23278 (char *) "self",(char *) "colour", NULL
23281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23283 if (!SWIG_IsOK(res1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
23286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23289 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_Py_Void();
23304 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
= 0;
23306 wxDC
*arg1
= (wxDC
*) 0 ;
23307 wxColour
*arg2
= 0 ;
23311 PyObject
* obj0
= 0 ;
23312 PyObject
* obj1
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "self",(char *) "colour", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
23322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_Py_Void();
23340 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23341 PyObject
*resultobj
= 0;
23342 wxDC
*arg1
= (wxDC
*) 0 ;
23346 PyObject
*swig_obj
[1] ;
23348 if (!args
) SWIG_fail
;
23349 swig_obj
[0] = args
;
23350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23351 if (!SWIG_IsOK(res1
)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
23354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_From_int(static_cast< int >(result
));
23368 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= 0;
23370 wxDC
*arg1
= (wxDC
*) 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "mode", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
23387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23389 if (!SWIG_IsOK(ecode2
)) {
23390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
23392 arg2
= static_cast< int >(val2
);
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 (arg1
)->SetMapMode(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_Py_Void();
23406 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23407 PyObject
*resultobj
= 0;
23408 wxDC
*arg1
= (wxDC
*) 0 ;
23409 double *arg2
= (double *) 0 ;
23410 double *arg3
= (double *) 0 ;
23414 int res2
= SWIG_TMPOBJ
;
23416 int res3
= SWIG_TMPOBJ
;
23417 PyObject
*swig_obj
[1] ;
23421 if (!args
) SWIG_fail
;
23422 swig_obj
[0] = args
;
23423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
23427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_Py_Void();
23435 if (SWIG_IsTmpObj(res2
)) {
23436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23438 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23441 if (SWIG_IsTmpObj(res3
)) {
23442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23444 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23453 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
= 0;
23455 wxDC
*arg1
= (wxDC
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 PyObject
* obj2
= 0 ;
23467 char * kwnames
[] = {
23468 (char *) "self",(char *) "x",(char *) "y", NULL
23471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23473 if (!SWIG_IsOK(res1
)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
23476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23477 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23478 if (!SWIG_IsOK(ecode2
)) {
23479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
23481 arg2
= static_cast< double >(val2
);
23482 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23483 if (!SWIG_IsOK(ecode3
)) {
23484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23486 arg3
= static_cast< double >(val3
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 (arg1
)->SetUserScale(arg2
,arg3
);
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_Py_Void();
23500 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23501 PyObject
*resultobj
= 0;
23502 wxDC
*arg1
= (wxDC
*) 0 ;
23503 double *arg2
= (double *) 0 ;
23504 double *arg3
= (double *) 0 ;
23508 int res2
= SWIG_TMPOBJ
;
23510 int res3
= SWIG_TMPOBJ
;
23511 PyObject
*swig_obj
[1] ;
23515 if (!args
) SWIG_fail
;
23516 swig_obj
[0] = args
;
23517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->GetLogicalScale(arg2
,arg3
);
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= SWIG_Py_Void();
23529 if (SWIG_IsTmpObj(res2
)) {
23530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23532 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23535 if (SWIG_IsTmpObj(res3
)) {
23536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23538 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23547 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
= 0;
23549 wxDC
*arg1
= (wxDC
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 PyObject
* obj2
= 0 ;
23561 char * kwnames
[] = {
23562 (char *) "self",(char *) "x",(char *) "y", NULL
23565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23571 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23572 if (!SWIG_IsOK(ecode2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23575 arg2
= static_cast< double >(val2
);
23576 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23577 if (!SWIG_IsOK(ecode3
)) {
23578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23580 arg3
= static_cast< double >(val3
);
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 (arg1
)->SetLogicalScale(arg2
,arg3
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= SWIG_Py_Void();
23594 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23595 PyObject
*resultobj
= 0;
23596 wxDC
*arg1
= (wxDC
*) 0 ;
23600 PyObject
*swig_obj
[1] ;
23602 if (!args
) SWIG_fail
;
23603 swig_obj
[0] = args
;
23604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23605 if (!SWIG_IsOK(res1
)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23622 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23623 PyObject
*resultobj
= 0;
23624 wxDC
*arg1
= (wxDC
*) 0 ;
23625 int *arg2
= (int *) 0 ;
23626 int *arg3
= (int *) 0 ;
23630 int res2
= SWIG_TMPOBJ
;
23632 int res3
= SWIG_TMPOBJ
;
23633 PyObject
*swig_obj
[1] ;
23637 if (!args
) SWIG_fail
;
23638 swig_obj
[0] = args
;
23639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23640 if (!SWIG_IsOK(res1
)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_Py_Void();
23651 if (SWIG_IsTmpObj(res2
)) {
23652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23654 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23657 if (SWIG_IsTmpObj(res3
)) {
23658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23669 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
= 0;
23671 wxDC
*arg1
= (wxDC
*) 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "self",(char *) "x",(char *) "y", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23694 if (!SWIG_IsOK(ecode2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23697 arg2
= static_cast< int >(val2
);
23698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23699 if (!SWIG_IsOK(ecode3
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23702 arg3
= static_cast< int >(val3
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_Py_Void();
23716 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
= 0;
23718 wxDC
*arg1
= (wxDC
*) 0 ;
23719 wxPoint
*arg2
= 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char * kwnames
[] = {
23726 (char *) "self",(char *) "point", NULL
23729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= SWIG_Py_Void();
23752 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23753 PyObject
*resultobj
= 0;
23754 wxDC
*arg1
= (wxDC
*) 0 ;
23758 PyObject
*swig_obj
[1] ;
23760 if (!args
) SWIG_fail
;
23761 swig_obj
[0] = args
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23780 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23781 PyObject
*resultobj
= 0;
23782 wxDC
*arg1
= (wxDC
*) 0 ;
23783 int *arg2
= (int *) 0 ;
23784 int *arg3
= (int *) 0 ;
23788 int res2
= SWIG_TMPOBJ
;
23790 int res3
= SWIG_TMPOBJ
;
23791 PyObject
*swig_obj
[1] ;
23795 if (!args
) SWIG_fail
;
23796 swig_obj
[0] = args
;
23797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23798 if (!SWIG_IsOK(res1
)) {
23799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_Py_Void();
23809 if (SWIG_IsTmpObj(res2
)) {
23810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23812 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23815 if (SWIG_IsTmpObj(res3
)) {
23816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23818 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23827 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23829 wxDC
*arg1
= (wxDC
*) 0 ;
23838 PyObject
* obj0
= 0 ;
23839 PyObject
* obj1
= 0 ;
23840 PyObject
* obj2
= 0 ;
23841 char * kwnames
[] = {
23842 (char *) "self",(char *) "x",(char *) "y", NULL
23845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23847 if (!SWIG_IsOK(res1
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23852 if (!SWIG_IsOK(ecode2
)) {
23853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23855 arg2
= static_cast< int >(val2
);
23856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23857 if (!SWIG_IsOK(ecode3
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23860 arg3
= static_cast< int >(val3
);
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= SWIG_Py_Void();
23874 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
= 0;
23876 wxDC
*arg1
= (wxDC
*) 0 ;
23877 wxPoint
*arg2
= 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char * kwnames
[] = {
23884 (char *) "self",(char *) "point", NULL
23887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23889 if (!SWIG_IsOK(res1
)) {
23890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23892 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23895 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_Py_Void();
23910 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
= 0;
23912 wxDC
*arg1
= (wxDC
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 PyObject
* obj1
= 0 ;
23923 PyObject
* obj2
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23935 if (!SWIG_IsOK(ecode2
)) {
23936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23938 arg2
= static_cast< bool >(val2
);
23939 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23940 if (!SWIG_IsOK(ecode3
)) {
23941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23943 arg3
= static_cast< bool >(val3
);
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 resultobj
= SWIG_Py_Void();
23957 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23958 PyObject
*resultobj
= 0;
23959 wxDC
*arg1
= (wxDC
*) 0 ;
23963 PyObject
*swig_obj
[1] ;
23965 if (!args
) SWIG_fail
;
23966 swig_obj
[0] = args
;
23967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23968 if (!SWIG_IsOK(res1
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_From_int(static_cast< int >(result
));
23985 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
= 0;
23987 wxDC
*arg1
= (wxDC
*) 0 ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 char * kwnames
[] = {
23996 (char *) "self",(char *) "function", NULL
23999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24001 if (!SWIG_IsOK(res1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
24004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24006 if (!SWIG_IsOK(ecode2
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
24009 arg2
= static_cast< int >(val2
);
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 (arg1
)->SetLogicalFunction(arg2
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_Py_Void();
24023 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 PyObject
*resultobj
= 0;
24025 wxDC
*arg1
= (wxDC
*) 0 ;
24028 PyObject
*swig_obj
[1] ;
24030 if (!args
) SWIG_fail
;
24031 swig_obj
[0] = args
;
24032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24033 if (!SWIG_IsOK(res1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
24036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 (arg1
)->ComputeScaleAndOrigin();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24043 resultobj
= SWIG_Py_Void();
24050 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
= 0;
24052 wxDC
*arg1
= (wxDC
*) 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "x",(char *) "y", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24075 if (!SWIG_IsOK(ecode2
)) {
24076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
24078 arg2
= static_cast< int >(val2
);
24079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24080 if (!SWIG_IsOK(ecode3
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
24083 arg3
= static_cast< int >(val3
);
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->CalcBoundingBox(arg2
,arg3
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_Py_Void();
24097 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxDC
*arg1
= (wxDC
*) 0 ;
24100 wxPoint
*arg2
= 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "self",(char *) "point", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
24115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24118 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_Py_Void();
24133 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 PyObject
*resultobj
= 0;
24135 wxDC
*arg1
= (wxDC
*) 0 ;
24138 PyObject
*swig_obj
[1] ;
24140 if (!args
) SWIG_fail
;
24141 swig_obj
[0] = args
;
24142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->ResetBoundingBox();
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_Py_Void();
24160 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24161 PyObject
*resultobj
= 0;
24162 wxDC
*arg1
= (wxDC
*) 0 ;
24166 PyObject
*swig_obj
[1] ;
24168 if (!args
) SWIG_fail
;
24169 swig_obj
[0] = args
;
24170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24171 if (!SWIG_IsOK(res1
)) {
24172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
24174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (int)((wxDC
const *)arg1
)->MinX();
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= SWIG_From_int(static_cast< int >(result
));
24188 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24189 PyObject
*resultobj
= 0;
24190 wxDC
*arg1
= (wxDC
*) 0 ;
24194 PyObject
*swig_obj
[1] ;
24196 if (!args
) SWIG_fail
;
24197 swig_obj
[0] = args
;
24198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
24202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 result
= (int)((wxDC
const *)arg1
)->MaxX();
24206 wxPyEndAllowThreads(__tstate
);
24207 if (PyErr_Occurred()) SWIG_fail
;
24209 resultobj
= SWIG_From_int(static_cast< int >(result
));
24216 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24217 PyObject
*resultobj
= 0;
24218 wxDC
*arg1
= (wxDC
*) 0 ;
24222 PyObject
*swig_obj
[1] ;
24224 if (!args
) SWIG_fail
;
24225 swig_obj
[0] = args
;
24226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
24230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (int)((wxDC
const *)arg1
)->MinY();
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_From_int(static_cast< int >(result
));
24244 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 PyObject
*resultobj
= 0;
24246 wxDC
*arg1
= (wxDC
*) 0 ;
24250 PyObject
*swig_obj
[1] ;
24252 if (!args
) SWIG_fail
;
24253 swig_obj
[0] = args
;
24254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
24258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (int)((wxDC
const *)arg1
)->MaxY();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_From_int(static_cast< int >(result
));
24272 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24273 PyObject
*resultobj
= 0;
24274 wxDC
*arg1
= (wxDC
*) 0 ;
24275 int *arg2
= (int *) 0 ;
24276 int *arg3
= (int *) 0 ;
24277 int *arg4
= (int *) 0 ;
24278 int *arg5
= (int *) 0 ;
24282 int res2
= SWIG_TMPOBJ
;
24284 int res3
= SWIG_TMPOBJ
;
24286 int res4
= SWIG_TMPOBJ
;
24288 int res5
= SWIG_TMPOBJ
;
24289 PyObject
*swig_obj
[1] ;
24295 if (!args
) SWIG_fail
;
24296 swig_obj
[0] = args
;
24297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24298 if (!SWIG_IsOK(res1
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_Py_Void();
24309 if (SWIG_IsTmpObj(res2
)) {
24310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24312 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24315 if (SWIG_IsTmpObj(res3
)) {
24316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24318 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24321 if (SWIG_IsTmpObj(res4
)) {
24322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24324 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24327 if (SWIG_IsTmpObj(res5
)) {
24328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
24330 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
24339 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24340 PyObject
*resultobj
= 0;
24341 wxDC
*arg1
= (wxDC
*) 0 ;
24342 wxLayoutDirection result
;
24345 PyObject
*swig_obj
[1] ;
24347 if (!args
) SWIG_fail
;
24348 swig_obj
[0] = args
;
24349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24350 if (!SWIG_IsOK(res1
)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
24353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= SWIG_From_int(static_cast< int >(result
));
24367 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= 0;
24369 wxDC
*arg1
= (wxDC
*) 0 ;
24370 wxLayoutDirection arg2
;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 char * kwnames
[] = {
24378 (char *) "self",(char *) "dir", NULL
24381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
24386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24388 if (!SWIG_IsOK(ecode2
)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
24391 arg2
= static_cast< wxLayoutDirection
>(val2
);
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->SetLayoutDirection(arg2
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_Py_Void();
24405 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 PyObject
*resultobj
= 0;
24407 wxDC
*arg1
= (wxDC
*) 0 ;
24411 PyObject
*swig_obj
[1] ;
24413 if (!args
) SWIG_fail
;
24414 swig_obj
[0] = args
;
24415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24416 if (!SWIG_IsOK(res1
)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
24419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (long)(arg1
)->GetHDC();
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_From_long(static_cast< long >(result
));
24433 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxDC
*arg1
= (wxDC
*) 0 ;
24436 PyObject
*arg2
= (PyObject
*) 0 ;
24437 PyObject
*arg3
= (PyObject
*) 0 ;
24438 PyObject
*arg4
= (PyObject
*) 0 ;
24439 PyObject
*result
= 0 ;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 PyObject
* obj2
= 0 ;
24445 PyObject
* obj3
= 0 ;
24446 char * kwnames
[] = {
24447 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
24455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
;
24472 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
= 0;
24474 wxDC
*arg1
= (wxDC
*) 0 ;
24475 PyObject
*arg2
= (PyObject
*) 0 ;
24476 PyObject
*arg3
= (PyObject
*) 0 ;
24477 PyObject
*arg4
= (PyObject
*) 0 ;
24478 PyObject
*result
= 0 ;
24481 PyObject
* obj0
= 0 ;
24482 PyObject
* obj1
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 PyObject
* obj3
= 0 ;
24485 char * kwnames
[] = {
24486 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= result
;
24511 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24513 wxDC
*arg1
= (wxDC
*) 0 ;
24514 PyObject
*arg2
= (PyObject
*) 0 ;
24515 PyObject
*arg3
= (PyObject
*) 0 ;
24516 PyObject
*arg4
= (PyObject
*) 0 ;
24517 PyObject
*result
= 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 PyObject
* obj2
= 0 ;
24523 PyObject
* obj3
= 0 ;
24524 char * kwnames
[] = {
24525 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24530 if (!SWIG_IsOK(res1
)) {
24531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= result
;
24550 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= 0;
24552 wxDC
*arg1
= (wxDC
*) 0 ;
24553 PyObject
*arg2
= (PyObject
*) 0 ;
24554 PyObject
*arg3
= (PyObject
*) 0 ;
24555 PyObject
*arg4
= (PyObject
*) 0 ;
24556 PyObject
*result
= 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 PyObject
* obj2
= 0 ;
24562 PyObject
* obj3
= 0 ;
24563 char * kwnames
[] = {
24564 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24569 if (!SWIG_IsOK(res1
)) {
24570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24582 resultobj
= result
;
24589 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxDC
*arg1
= (wxDC
*) 0 ;
24592 PyObject
*arg2
= (PyObject
*) 0 ;
24593 PyObject
*arg3
= (PyObject
*) 0 ;
24594 PyObject
*arg4
= (PyObject
*) 0 ;
24595 PyObject
*result
= 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 PyObject
* obj2
= 0 ;
24601 PyObject
* obj3
= 0 ;
24602 char * kwnames
[] = {
24603 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24608 if (!SWIG_IsOK(res1
)) {
24609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
;
24628 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxDC
*arg1
= (wxDC
*) 0 ;
24631 PyObject
*arg2
= (PyObject
*) 0 ;
24632 PyObject
*arg3
= (PyObject
*) 0 ;
24633 PyObject
*arg4
= (PyObject
*) 0 ;
24634 PyObject
*arg5
= (PyObject
*) 0 ;
24635 PyObject
*result
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 PyObject
* obj2
= 0 ;
24641 PyObject
* obj3
= 0 ;
24642 PyObject
* obj4
= 0 ;
24643 char * kwnames
[] = {
24644 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24649 if (!SWIG_IsOK(res1
)) {
24650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= result
;
24670 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24673 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24674 return SWIG_Py_Void();
24677 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24680 wxColour
*arg2
= 0 ;
24681 wxDCTextColourChanger
*result
= 0 ;
24685 PyObject
* obj0
= 0 ;
24686 PyObject
* obj1
= 0 ;
24687 char * kwnames
[] = {
24688 (char *) "dc",(char *) "col", NULL
24691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24692 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24693 if (!SWIG_IsOK(res1
)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24702 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24717 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 PyObject
*resultobj
= 0;
24719 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24722 PyObject
*swig_obj
[1] ;
24724 if (!args
) SWIG_fail
;
24725 swig_obj
[0] = args
;
24726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24730 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_Py_Void();
24745 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24748 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24749 return SWIG_Py_Void();
24752 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 return SWIG_Python_InitShadowInstance(args
);
24756 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24760 wxDCPenChanger
*result
= 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char * kwnames
[] = {
24768 (char *) "dc",(char *) "pen", NULL
24771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24772 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24781 if (!SWIG_IsOK(res2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24787 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24801 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24802 PyObject
*resultobj
= 0;
24803 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24806 PyObject
*swig_obj
[1] ;
24808 if (!args
) SWIG_fail
;
24809 swig_obj
[0] = args
;
24810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24814 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_Py_Void();
24829 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24832 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24833 return SWIG_Py_Void();
24836 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24837 return SWIG_Python_InitShadowInstance(args
);
24840 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24843 wxBrush
*arg2
= 0 ;
24844 wxDCBrushChanger
*result
= 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char * kwnames
[] = {
24852 (char *) "dc",(char *) "brush", NULL
24855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24856 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24865 if (!SWIG_IsOK(res2
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24871 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24885 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24886 PyObject
*resultobj
= 0;
24887 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24890 PyObject
*swig_obj
[1] ;
24892 if (!args
) SWIG_fail
;
24893 swig_obj
[0] = args
;
24894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24898 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_Py_Void();
24913 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24917 return SWIG_Py_Void();
24920 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24921 return SWIG_Python_InitShadowInstance(args
);
24924 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24925 PyObject
*resultobj
= 0;
24927 wxRegion
*arg2
= 0 ;
24928 wxDCClipper
*result
= 0 ;
24934 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24943 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24944 if (!SWIG_IsOK(res2
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24950 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24964 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24965 PyObject
*resultobj
= 0;
24968 wxDCClipper
*result
= 0 ;
24973 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24984 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24999 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25000 PyObject
*resultobj
= 0;
25006 wxDCClipper
*result
= 0 ;
25018 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
25019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
25020 if (!SWIG_IsOK(res1
)) {
25021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
25024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
25026 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25027 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
25028 if (!SWIG_IsOK(ecode2
)) {
25029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
25031 arg2
= static_cast< int >(val2
);
25032 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25033 if (!SWIG_IsOK(ecode3
)) {
25034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
25036 arg3
= static_cast< int >(val3
);
25037 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
25038 if (!SWIG_IsOK(ecode4
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
25041 arg4
= static_cast< int >(val4
);
25042 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
25043 if (!SWIG_IsOK(ecode5
)) {
25044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
25046 arg5
= static_cast< int >(val5
);
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
25060 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
25064 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
25069 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
25070 _v
= SWIG_CheckState(res
);
25072 if (!_v
) goto check_1
;
25073 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
25078 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
25081 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
25085 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
25090 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25091 PyObject
*resultobj
= 0;
25092 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
25095 PyObject
*swig_obj
[1] ;
25097 if (!args
) SWIG_fail
;
25098 swig_obj
[0] = args
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
25103 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_Py_Void();
25118 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25121 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
25122 return SWIG_Py_Void();
25125 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25126 return SWIG_Python_InitShadowInstance(args
);
25129 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 PyObject
*resultobj
= 0;
25131 wxScreenDC
*result
= 0 ;
25133 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
25135 if (!wxPyCheckForApp()) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25137 result
= (wxScreenDC
*)new wxScreenDC();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
25148 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
= 0;
25150 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25151 wxWindow
*arg2
= (wxWindow
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 PyObject
* obj1
= 0 ;
25159 char * kwnames
[] = {
25160 (char *) "self",(char *) "window", NULL
25163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25165 if (!SWIG_IsOK(res1
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25168 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25170 if (!SWIG_IsOK(res2
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
25173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25189 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
= 0;
25191 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25192 wxRect
*arg2
= (wxRect
*) NULL
;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char * kwnames
[] = {
25201 (char *) "self",(char *) "rect", NULL
25204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25209 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
25212 if (!SWIG_IsOK(res2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
25215 arg2
= reinterpret_cast< wxRect
* >(argp2
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25232 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25233 PyObject
*resultobj
= 0;
25234 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25238 PyObject
*swig_obj
[1] ;
25240 if (!args
) SWIG_fail
;
25241 swig_obj
[0] = args
;
25242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25243 if (!SWIG_IsOK(res1
)) {
25244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25246 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (bool)(arg1
)->EndDrawingOnTop();
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25262 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25265 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
25266 return SWIG_Py_Void();
25269 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25270 return SWIG_Python_InitShadowInstance(args
);
25273 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
= 0;
25275 wxWindow
*arg1
= (wxWindow
*) 0 ;
25276 wxWindowDC
*result
= 0 ;
25279 PyObject
* obj0
= 0 ;
25280 char * kwnames
[] = {
25281 (char *) "win", NULL
25284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
25285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25291 if (!wxPyCheckForApp()) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
25304 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25307 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
25308 return SWIG_Py_Void();
25311 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25312 return SWIG_Python_InitShadowInstance(args
);
25315 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxWindow
*arg1
= (wxWindow
*) 0 ;
25318 wxClientDC
*result
= 0 ;
25321 PyObject
* obj0
= 0 ;
25322 char * kwnames
[] = {
25323 (char *) "win", NULL
25326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
25327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25328 if (!SWIG_IsOK(res1
)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25331 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25333 if (!wxPyCheckForApp()) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxClientDC
*)new wxClientDC(arg1
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
25346 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25349 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
25350 return SWIG_Py_Void();
25353 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 return SWIG_Python_InitShadowInstance(args
);
25357 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
= 0;
25359 wxWindow
*arg1
= (wxWindow
*) 0 ;
25360 wxPaintDC
*result
= 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "win", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25375 if (!wxPyCheckForApp()) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25388 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25392 return SWIG_Py_Void();
25395 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 return SWIG_Python_InitShadowInstance(args
);
25399 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
= 0;
25401 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
25402 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25403 wxMemoryDC
*result
= 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char * kwnames
[] = {
25408 (char *) "bitmap", NULL
25411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
25423 if (!wxPyCheckForApp()) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
25436 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
= 0;
25438 wxDC
*arg1
= (wxDC
*) 0 ;
25439 wxMemoryDC
*result
= 0 ;
25442 PyObject
* obj0
= 0 ;
25443 char * kwnames
[] = {
25444 (char *) "oldDC", NULL
25447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
25448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
25452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25454 if (!wxPyCheckForApp()) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
25467 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
= 0;
25469 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25470 wxBitmap
*arg2
= 0 ;
25475 PyObject
* obj0
= 0 ;
25476 PyObject
* obj1
= 0 ;
25477 char * kwnames
[] = {
25478 (char *) "self",(char *) "bitmap", NULL
25481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25486 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25488 if (!SWIG_IsOK(res2
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25494 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 (arg1
)->SelectObject(*arg2
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_Py_Void();
25508 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
= 0;
25510 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25511 wxBitmap
*arg2
= 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char * kwnames
[] = {
25519 (char *) "self",(char *) "bmp", NULL
25522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25524 if (!SWIG_IsOK(res1
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25527 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25529 if (!SWIG_IsOK(res2
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25535 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_Py_Void();
25549 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25552 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25553 return SWIG_Py_Void();
25556 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 return SWIG_Python_InitShadowInstance(args
);
25560 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25561 PyObject
*resultobj
= 0;
25562 wxDC
*arg1
= (wxDC
*) 0 ;
25563 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25564 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25565 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25566 wxBufferedDC
*result
= 0 ;
25574 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25576 if (!SWIG_IsOK(res1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25581 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25582 if (!SWIG_IsOK(res2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25588 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25591 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25592 if (!SWIG_IsOK(ecode3
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25595 arg3
= static_cast< int >(val3
);
25598 if (!wxPyCheckForApp()) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25611 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25612 PyObject
*resultobj
= 0;
25613 wxDC
*arg1
= (wxDC
*) 0 ;
25615 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25616 wxBufferedDC
*result
= 0 ;
25623 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25631 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25634 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25635 if (!SWIG_IsOK(ecode3
)) {
25636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25638 arg3
= static_cast< int >(val3
);
25641 if (!wxPyCheckForApp()) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25654 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25658 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25660 if ((argc
>= 1) && (argc
<= 3)) {
25665 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25666 _v
= SWIG_CheckState(res
);
25668 if (!_v
) goto check_1
;
25670 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25674 if ((argc
>= 2) && (argc
<= 3)) {
25675 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25679 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25684 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 PyObject
*resultobj
= 0;
25686 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25689 PyObject
*swig_obj
[1] ;
25691 if (!args
) SWIG_fail
;
25692 swig_obj
[0] = args
;
25693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25697 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= SWIG_Py_Void();
25712 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25713 PyObject
*resultobj
= 0;
25714 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25717 PyObject
*swig_obj
[1] ;
25719 if (!args
) SWIG_fail
;
25720 swig_obj
[0] = args
;
25721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25725 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_Py_Void();
25739 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= 0;
25741 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "style", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25758 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25760 if (!SWIG_IsOK(ecode2
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25763 arg2
= static_cast< int >(val2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->SetStyle(arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25778 PyObject
*resultobj
= 0;
25779 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25783 PyObject
*swig_obj
[1] ;
25785 if (!args
) SWIG_fail
;
25786 swig_obj
[0] = args
;
25787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25791 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_From_int(static_cast< int >(result
));
25805 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25808 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25809 return SWIG_Py_Void();
25812 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25813 return SWIG_Python_InitShadowInstance(args
);
25816 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25817 PyObject
*resultobj
= 0;
25818 wxWindow
*arg1
= (wxWindow
*) 0 ;
25819 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25820 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25821 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25822 wxBufferedPaintDC
*result
= 0 ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 PyObject
* obj2
= 0 ;
25832 char * kwnames
[] = {
25833 (char *) "window",(char *) "buffer",(char *) "style", NULL
25836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25838 if (!SWIG_IsOK(res1
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25844 if (!SWIG_IsOK(res2
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25850 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25854 if (!SWIG_IsOK(ecode3
)) {
25855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25857 arg3
= static_cast< int >(val3
);
25860 if (!wxPyCheckForApp()) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25873 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25876 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25877 return SWIG_Py_Void();
25880 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25881 return SWIG_Python_InitShadowInstance(args
);
25884 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
= 0;
25886 wxWindow
*arg1
= (wxWindow
*) 0 ;
25887 wxAutoBufferedPaintDC
*result
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 char * kwnames
[] = {
25892 (char *) "win", NULL
25895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25914 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25917 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25918 return SWIG_Py_Void();
25921 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 return SWIG_Python_InitShadowInstance(args
);
25925 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
= 0;
25927 wxWindow
*arg1
= (wxWindow
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "window", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25941 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25957 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= 0;
25961 wxMirrorDC
*result
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char * kwnames
[] = {
25969 (char *) "dc",(char *) "mirror", NULL
25972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25973 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25981 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25982 if (!SWIG_IsOK(ecode2
)) {
25983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25985 arg2
= static_cast< bool >(val2
);
25987 if (!wxPyCheckForApp()) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
26000 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26003 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
26004 return SWIG_Py_Void();
26007 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26008 return SWIG_Python_InitShadowInstance(args
);
26011 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
= 0;
26013 wxPrintData
*arg1
= 0 ;
26014 wxPostScriptDC
*result
= 0 ;
26017 PyObject
* obj0
= 0 ;
26018 char * kwnames
[] = {
26019 (char *) "printData", NULL
26022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
26023 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26024 if (!SWIG_IsOK(res1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26030 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26032 if (!wxPyCheckForApp()) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
26045 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
26048 wxPrintData
*result
= 0 ;
26051 PyObject
*swig_obj
[1] ;
26053 if (!args
) SWIG_fail
;
26054 swig_obj
[0] = args
;
26055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
26059 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26064 result
= (wxPrintData
*) &_result_ref
;
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26076 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
26079 wxPrintData
*arg2
= 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "self",(char *) "data", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
26095 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
26096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26097 if (!SWIG_IsOK(res2
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26103 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26106 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_Py_Void();
26117 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
= 0;
26122 PyObject
* obj0
= 0 ;
26123 char * kwnames
[] = {
26124 (char *) "ppi", NULL
26127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
26128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26129 if (!SWIG_IsOK(ecode1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
26132 arg1
= static_cast< int >(val1
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 wxPostScriptDC::SetResolution(arg1
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 PyObject
*resultobj
= 0;
26150 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (int)wxPostScriptDC::GetResolution();
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_From_int(static_cast< int >(result
));
26164 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26167 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
26168 return SWIG_Py_Void();
26171 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26172 return SWIG_Python_InitShadowInstance(args
);
26175 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
= 0;
26177 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26178 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26179 wxMetaFile
*result
= 0 ;
26180 bool temp1
= false ;
26181 PyObject
* obj0
= 0 ;
26182 char * kwnames
[] = {
26183 (char *) "filename", NULL
26186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
26189 arg1
= wxString_in_helper(obj0
);
26190 if (arg1
== NULL
) SWIG_fail
;
26195 if (!wxPyCheckForApp()) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
26216 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 PyObject
*resultobj
= 0;
26218 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26221 PyObject
*swig_obj
[1] ;
26223 if (!args
) SWIG_fail
;
26224 swig_obj
[0] = args
;
26225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
26226 if (!SWIG_IsOK(res1
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26229 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_Py_Void();
26244 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26245 PyObject
*resultobj
= 0;
26246 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26250 PyObject
*swig_obj
[1] ;
26252 if (!args
) SWIG_fail
;
26253 swig_obj
[0] = args
;
26254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26255 if (!SWIG_IsOK(res1
)) {
26256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26258 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 result
= (bool)(arg1
)->IsOk();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26274 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= 0;
26276 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26277 int arg2
= (int) 0 ;
26278 int arg3
= (int) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 PyObject
* obj2
= 0 ;
26289 char * kwnames
[] = {
26290 (char *) "self",(char *) "width",(char *) "height", NULL
26293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26295 if (!SWIG_IsOK(res1
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26298 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26301 if (!SWIG_IsOK(ecode2
)) {
26302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
26304 arg2
= static_cast< int >(val2
);
26307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26308 if (!SWIG_IsOK(ecode3
)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
26311 arg3
= static_cast< int >(val3
);
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26315 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26328 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26329 PyObject
*resultobj
= 0;
26330 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26334 PyObject
*swig_obj
[1] ;
26336 if (!args
) SWIG_fail
;
26337 swig_obj
[0] = args
;
26338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26339 if (!SWIG_IsOK(res1
)) {
26340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26342 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (arg1
)->GetSize();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
26356 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26362 PyObject
*swig_obj
[1] ;
26364 if (!args
) SWIG_fail
;
26365 swig_obj
[0] = args
;
26366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26370 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (int)(arg1
)->GetWidth();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_From_int(static_cast< int >(result
));
26384 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26385 PyObject
*resultobj
= 0;
26386 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26390 PyObject
*swig_obj
[1] ;
26392 if (!args
) SWIG_fail
;
26393 swig_obj
[0] = args
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26398 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (int)(arg1
)->GetHeight();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_From_int(static_cast< int >(result
));
26412 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26413 PyObject
*resultobj
= 0;
26414 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26415 wxString
*result
= 0 ;
26418 PyObject
*swig_obj
[1] ;
26420 if (!args
) SWIG_fail
;
26421 swig_obj
[0] = args
;
26422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
26426 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
26431 result
= (wxString
*) &_result_ref
;
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26440 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26449 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26451 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26452 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
26453 return SWIG_Py_Void();
26456 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26457 return SWIG_Python_InitShadowInstance(args
);
26460 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= 0;
26462 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26463 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26464 int arg2
= (int) 0 ;
26465 int arg3
= (int) 0 ;
26466 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26467 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26468 wxMetaFileDC
*result
= 0 ;
26469 bool temp1
= false ;
26474 bool temp4
= false ;
26475 PyObject
* obj0
= 0 ;
26476 PyObject
* obj1
= 0 ;
26477 PyObject
* obj2
= 0 ;
26478 PyObject
* obj3
= 0 ;
26479 char * kwnames
[] = {
26480 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26486 arg1
= wxString_in_helper(obj0
);
26487 if (arg1
== NULL
) SWIG_fail
;
26492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26493 if (!SWIG_IsOK(ecode2
)) {
26494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26496 arg2
= static_cast< int >(val2
);
26499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26500 if (!SWIG_IsOK(ecode3
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26503 arg3
= static_cast< int >(val3
);
26507 arg4
= wxString_in_helper(obj3
);
26508 if (arg4
== NULL
) SWIG_fail
;
26513 if (!wxPyCheckForApp()) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26542 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26543 PyObject
*resultobj
= 0;
26544 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26545 wxMetaFile
*result
= 0 ;
26548 PyObject
*swig_obj
[1] ;
26550 if (!args
) SWIG_fail
;
26551 swig_obj
[0] = args
;
26552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26553 if (!SWIG_IsOK(res1
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26556 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (wxMetaFile
*)(arg1
)->Close();
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26570 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26573 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26574 return SWIG_Py_Void();
26577 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26578 return SWIG_Python_InitShadowInstance(args
);
26581 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
= 0;
26583 wxPrintData
*arg1
= 0 ;
26584 wxPrinterDC
*result
= 0 ;
26587 PyObject
* obj0
= 0 ;
26588 char * kwnames
[] = {
26589 (char *) "printData", NULL
26592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26593 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26600 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26602 if (!wxPyCheckForApp()) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26615 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26618 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26619 return SWIG_Py_Void();
26622 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26623 return SWIG_Python_InitShadowInstance(args
);
26626 SWIGINTERN PyObject
*SVGFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26629 SWIG_TypeNewClientData(SWIGTYPE_p_wxSVGFileDC
, SWIG_NewClientData(obj
));
26630 return SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26636 wxGraphicsObject
*result
= 0 ;
26639 PyObject
* obj0
= 0 ;
26640 char * kwnames
[] = {
26641 (char *) "renderer", NULL
26644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26650 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26653 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26663 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26664 PyObject
*resultobj
= 0;
26665 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26676 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_Py_Void();
26689 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26690 PyObject
*resultobj
= 0;
26691 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26695 PyObject
*swig_obj
[1] ;
26697 if (!args
) SWIG_fail
;
26698 swig_obj
[0] = args
;
26699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26703 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26705 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26706 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26717 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 PyObject
*resultobj
= 0;
26719 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26720 wxGraphicsRenderer
*result
= 0 ;
26723 PyObject
*swig_obj
[1] ;
26725 if (!args
) SWIG_fail
;
26726 swig_obj
[0] = args
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26731 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26733 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26743 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26746 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26747 return SWIG_Py_Void();
26750 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 return SWIG_Python_InitShadowInstance(args
);
26754 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26755 PyObject
*resultobj
= 0;
26756 wxGraphicsPen
*result
= 0 ;
26758 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26760 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26761 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26770 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26771 PyObject
*resultobj
= 0;
26772 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26775 PyObject
*swig_obj
[1] ;
26777 if (!args
) SWIG_fail
;
26778 swig_obj
[0] = args
;
26779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26783 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= SWIG_Py_Void();
26796 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26799 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26800 return SWIG_Py_Void();
26803 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26804 return SWIG_Python_InitShadowInstance(args
);
26807 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 PyObject
*resultobj
= 0;
26809 wxGraphicsBrush
*result
= 0 ;
26811 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26813 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26823 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26824 PyObject
*resultobj
= 0;
26825 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26828 PyObject
*swig_obj
[1] ;
26830 if (!args
) SWIG_fail
;
26831 swig_obj
[0] = args
;
26832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26836 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_Py_Void();
26849 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26852 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26853 return SWIG_Py_Void();
26856 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26857 return SWIG_Python_InitShadowInstance(args
);
26860 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26861 PyObject
*resultobj
= 0;
26862 wxGraphicsFont
*result
= 0 ;
26864 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26866 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26876 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26877 PyObject
*resultobj
= 0;
26878 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26881 PyObject
*swig_obj
[1] ;
26883 if (!args
) SWIG_fail
;
26884 swig_obj
[0] = args
;
26885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26886 if (!SWIG_IsOK(res1
)) {
26887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26889 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26905 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26906 return SWIG_Py_Void();
26909 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26910 return SWIG_Python_InitShadowInstance(args
);
26913 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26914 PyObject
*resultobj
= 0;
26915 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26918 PyObject
*swig_obj
[1] ;
26920 if (!args
) SWIG_fail
;
26921 swig_obj
[0] = args
;
26922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26926 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_Py_Void();
26939 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26942 wxGraphicsMatrix
*arg2
= 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "t", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26958 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26960 if (!SWIG_IsOK(res2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26966 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26968 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_Py_Void();
26978 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
= 0;
26980 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26981 wxDouble arg2
= (wxDouble
) 1.0 ;
26982 wxDouble arg3
= (wxDouble
) 0.0 ;
26983 wxDouble arg4
= (wxDouble
) 0.0 ;
26984 wxDouble arg5
= (wxDouble
) 1.0 ;
26985 wxDouble arg6
= (wxDouble
) 0.0 ;
26986 wxDouble arg7
= (wxDouble
) 0.0 ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 PyObject
* obj2
= 0 ;
27004 PyObject
* obj3
= 0 ;
27005 PyObject
* obj4
= 0 ;
27006 PyObject
* obj5
= 0 ;
27007 PyObject
* obj6
= 0 ;
27008 char * kwnames
[] = {
27009 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27014 if (!SWIG_IsOK(res1
)) {
27015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27017 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27019 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27020 if (!SWIG_IsOK(ecode2
)) {
27021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
27023 arg2
= static_cast< wxDouble
>(val2
);
27026 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27027 if (!SWIG_IsOK(ecode3
)) {
27028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
27030 arg3
= static_cast< wxDouble
>(val3
);
27033 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
27037 arg4
= static_cast< wxDouble
>(val4
);
27040 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27041 if (!SWIG_IsOK(ecode5
)) {
27042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
27044 arg5
= static_cast< wxDouble
>(val5
);
27047 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27048 if (!SWIG_IsOK(ecode6
)) {
27049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
27051 arg6
= static_cast< wxDouble
>(val6
);
27054 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27055 if (!SWIG_IsOK(ecode7
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
27058 arg7
= static_cast< wxDouble
>(val7
);
27061 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= SWIG_Py_Void();
27071 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 PyObject
*resultobj
= 0;
27073 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27074 wxDouble
*arg2
= (wxDouble
*) 0 ;
27075 wxDouble
*arg3
= (wxDouble
*) 0 ;
27076 wxDouble
*arg4
= (wxDouble
*) 0 ;
27077 wxDouble
*arg5
= (wxDouble
*) 0 ;
27078 wxDouble
*arg6
= (wxDouble
*) 0 ;
27079 wxDouble
*arg7
= (wxDouble
*) 0 ;
27083 int res2
= SWIG_TMPOBJ
;
27085 int res3
= SWIG_TMPOBJ
;
27087 int res4
= SWIG_TMPOBJ
;
27089 int res5
= SWIG_TMPOBJ
;
27091 int res6
= SWIG_TMPOBJ
;
27093 int res7
= SWIG_TMPOBJ
;
27094 PyObject
*swig_obj
[1] ;
27102 if (!args
) SWIG_fail
;
27103 swig_obj
[0] = args
;
27104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27108 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27110 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27114 if (SWIG_IsTmpObj(res2
)) {
27115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27117 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27120 if (SWIG_IsTmpObj(res3
)) {
27121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27123 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27126 if (SWIG_IsTmpObj(res4
)) {
27127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
27129 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
27132 if (SWIG_IsTmpObj(res5
)) {
27133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
27135 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
27138 if (SWIG_IsTmpObj(res6
)) {
27139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
27141 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
27144 if (SWIG_IsTmpObj(res7
)) {
27145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
27147 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
27156 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27157 PyObject
*resultobj
= 0;
27158 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27161 PyObject
*swig_obj
[1] ;
27163 if (!args
) SWIG_fail
;
27164 swig_obj
[0] = args
;
27165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27166 if (!SWIG_IsOK(res1
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27169 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_Py_Void();
27181 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
= 0;
27183 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27184 wxGraphicsMatrix
*arg2
= 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "self",(char *) "t", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27201 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27203 if (!SWIG_IsOK(res2
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27209 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27211 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
27212 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27223 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27224 PyObject
*resultobj
= 0;
27225 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27229 PyObject
*swig_obj
[1] ;
27231 if (!args
) SWIG_fail
;
27232 swig_obj
[0] = args
;
27233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27234 if (!SWIG_IsOK(res1
)) {
27235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27237 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27239 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
27240 if (PyErr_Occurred()) SWIG_fail
;
27243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27251 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= 0;
27253 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 PyObject
* obj2
= 0 ;
27265 char * kwnames
[] = {
27266 (char *) "self",(char *) "dx",(char *) "dy", NULL
27269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27271 if (!SWIG_IsOK(res1
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27274 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27276 if (!SWIG_IsOK(ecode2
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27279 arg2
= static_cast< wxDouble
>(val2
);
27280 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27281 if (!SWIG_IsOK(ecode3
)) {
27282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27284 arg3
= static_cast< wxDouble
>(val3
);
27286 (arg1
)->Translate(arg2
,arg3
);
27287 if (PyErr_Occurred()) SWIG_fail
;
27289 resultobj
= SWIG_Py_Void();
27296 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
= 0;
27298 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 PyObject
* obj2
= 0 ;
27310 char * kwnames
[] = {
27311 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27316 if (!SWIG_IsOK(res1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27319 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27321 if (!SWIG_IsOK(ecode2
)) {
27322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27324 arg2
= static_cast< wxDouble
>(val2
);
27325 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27326 if (!SWIG_IsOK(ecode3
)) {
27327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27329 arg3
= static_cast< wxDouble
>(val3
);
27331 (arg1
)->Scale(arg2
,arg3
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_Py_Void();
27341 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= 0;
27343 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 PyObject
* obj1
= 0 ;
27351 char * kwnames
[] = {
27352 (char *) "self",(char *) "angle", NULL
27355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27357 if (!SWIG_IsOK(res1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27360 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27361 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27362 if (!SWIG_IsOK(ecode2
)) {
27363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27365 arg2
= static_cast< wxDouble
>(val2
);
27367 (arg1
)->Rotate(arg2
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27370 resultobj
= SWIG_Py_Void();
27377 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27378 PyObject
*resultobj
= 0;
27379 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27380 wxDouble
*arg2
= (wxDouble
*) 0 ;
27381 wxDouble
*arg3
= (wxDouble
*) 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 char * kwnames
[] = {
27392 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27400 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27401 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27403 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27404 if (!SWIG_IsOK(ecode
)) {
27405 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27407 temp2
= static_cast< wxDouble
>(val
);
27409 res2
= SWIG_AddTmpMask(ecode
);
27411 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27413 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27414 if (!SWIG_IsOK(ecode
)) {
27415 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27417 temp3
= static_cast< wxDouble
>(val
);
27419 res3
= SWIG_AddTmpMask(ecode
);
27422 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_Py_Void();
27426 if (SWIG_IsTmpObj(res2
)) {
27427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27429 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27432 if (SWIG_IsTmpObj(res3
)) {
27433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27435 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27444 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
= 0;
27446 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27447 wxDouble
*arg2
= (wxDouble
*) 0 ;
27448 wxDouble
*arg3
= (wxDouble
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 PyObject
* obj1
= 0 ;
27457 PyObject
* obj2
= 0 ;
27458 char * kwnames
[] = {
27459 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27464 if (!SWIG_IsOK(res1
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27467 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27468 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27470 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27471 if (!SWIG_IsOK(ecode
)) {
27472 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27474 temp2
= static_cast< wxDouble
>(val
);
27476 res2
= SWIG_AddTmpMask(ecode
);
27478 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27480 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27481 if (!SWIG_IsOK(ecode
)) {
27482 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27484 temp3
= static_cast< wxDouble
>(val
);
27486 res3
= SWIG_AddTmpMask(ecode
);
27489 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_Py_Void();
27493 if (SWIG_IsTmpObj(res2
)) {
27494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27496 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27499 if (SWIG_IsTmpObj(res3
)) {
27500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27511 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27512 PyObject
*resultobj
= 0;
27513 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27517 PyObject
*swig_obj
[1] ;
27519 if (!args
) SWIG_fail
;
27520 swig_obj
[0] = args
;
27521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27522 if (!SWIG_IsOK(res1
)) {
27523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27525 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27527 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27537 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27540 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27541 return SWIG_Py_Void();
27544 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 PyObject
*resultobj
= 0;
27546 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27549 PyObject
*swig_obj
[1] ;
27551 if (!args
) SWIG_fail
;
27552 swig_obj
[0] = args
;
27553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27557 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 resultobj
= SWIG_Py_Void();
27570 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27571 PyObject
*resultobj
= 0;
27572 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27582 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27584 if (!SWIG_IsOK(res1
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27587 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27588 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27589 if (!SWIG_IsOK(ecode2
)) {
27590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27592 arg2
= static_cast< wxDouble
>(val2
);
27593 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27594 if (!SWIG_IsOK(ecode3
)) {
27595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27597 arg3
= static_cast< wxDouble
>(val3
);
27599 (arg1
)->MoveToPoint(arg2
,arg3
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_Py_Void();
27609 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27610 PyObject
*resultobj
= 0;
27611 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27612 wxPoint2D
*arg2
= 0 ;
27617 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27622 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27625 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27628 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_Py_Void();
27638 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27642 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27645 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27648 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27652 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27657 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27658 PyObject
*resultobj
= 0;
27659 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27669 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27671 if (!SWIG_IsOK(res1
)) {
27672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27674 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27675 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27676 if (!SWIG_IsOK(ecode2
)) {
27677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27679 arg2
= static_cast< wxDouble
>(val2
);
27680 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27681 if (!SWIG_IsOK(ecode3
)) {
27682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27684 arg3
= static_cast< wxDouble
>(val3
);
27686 (arg1
)->AddLineToPoint(arg2
,arg3
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_Py_Void();
27696 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27697 PyObject
*resultobj
= 0;
27698 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27699 wxPoint2D
*arg2
= 0 ;
27704 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27706 if (!SWIG_IsOK(res1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27709 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27712 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27715 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= SWIG_Py_Void();
27725 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27729 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27732 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27735 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27739 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27744 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27745 PyObject
*resultobj
= 0;
27746 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27768 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27770 if (!SWIG_IsOK(res1
)) {
27771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27773 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27774 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27775 if (!SWIG_IsOK(ecode2
)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27778 arg2
= static_cast< wxDouble
>(val2
);
27779 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27780 if (!SWIG_IsOK(ecode3
)) {
27781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27783 arg3
= static_cast< wxDouble
>(val3
);
27784 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27785 if (!SWIG_IsOK(ecode4
)) {
27786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27788 arg4
= static_cast< wxDouble
>(val4
);
27789 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27790 if (!SWIG_IsOK(ecode5
)) {
27791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27793 arg5
= static_cast< wxDouble
>(val5
);
27794 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27795 if (!SWIG_IsOK(ecode6
)) {
27796 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27798 arg6
= static_cast< wxDouble
>(val6
);
27799 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27800 if (!SWIG_IsOK(ecode7
)) {
27801 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27803 arg7
= static_cast< wxDouble
>(val7
);
27805 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 resultobj
= SWIG_Py_Void();
27815 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27816 PyObject
*resultobj
= 0;
27817 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27818 wxPoint2D
*arg2
= 0 ;
27819 wxPoint2D
*arg3
= 0 ;
27820 wxPoint2D
*arg4
= 0 ;
27827 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27832 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27835 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27839 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27843 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27846 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_Py_Void();
27856 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27860 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27863 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27866 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27870 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27875 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27878 wxGraphicsPath
*arg2
= 0 ;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 char * kwnames
[] = {
27886 (char *) "self",(char *) "path", NULL
27889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27894 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27896 if (!SWIG_IsOK(res2
)) {
27897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27902 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27904 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27907 resultobj
= SWIG_Py_Void();
27914 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27915 PyObject
*resultobj
= 0;
27916 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27919 PyObject
*swig_obj
[1] ;
27921 if (!args
) SWIG_fail
;
27922 swig_obj
[0] = args
;
27923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27927 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27929 (arg1
)->CloseSubpath();
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 PyObject
*resultobj
= 0;
27941 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27945 PyObject
*swig_obj
[1] ;
27947 if (!args
) SWIG_fail
;
27948 swig_obj
[0] = args
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27953 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27955 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27965 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27966 PyObject
*resultobj
= 0;
27967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27973 bool arg7
= (bool) true ;
27989 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27991 if (!SWIG_IsOK(res1
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27994 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27995 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27996 if (!SWIG_IsOK(ecode2
)) {
27997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27999 arg2
= static_cast< wxDouble
>(val2
);
28000 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28001 if (!SWIG_IsOK(ecode3
)) {
28002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
28004 arg3
= static_cast< wxDouble
>(val3
);
28005 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
28006 if (!SWIG_IsOK(ecode4
)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
28009 arg4
= static_cast< wxDouble
>(val4
);
28010 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
28011 if (!SWIG_IsOK(ecode5
)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
28014 arg5
= static_cast< wxDouble
>(val5
);
28015 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
28016 if (!SWIG_IsOK(ecode6
)) {
28017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
28019 arg6
= static_cast< wxDouble
>(val6
);
28021 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
28022 if (!SWIG_IsOK(ecode7
)) {
28023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
28025 arg7
= static_cast< bool >(val7
);
28028 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_Py_Void();
28038 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28039 PyObject
*resultobj
= 0;
28040 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28041 wxPoint2D
*arg2
= 0 ;
28045 bool arg6
= (bool) true ;
28058 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
28059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28063 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28066 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28068 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28069 if (!SWIG_IsOK(ecode3
)) {
28070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
28072 arg3
= static_cast< wxDouble
>(val3
);
28073 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
28074 if (!SWIG_IsOK(ecode4
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
28077 arg4
= static_cast< wxDouble
>(val4
);
28078 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
28079 if (!SWIG_IsOK(ecode5
)) {
28080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
28082 arg5
= static_cast< wxDouble
>(val5
);
28084 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
28085 if (!SWIG_IsOK(ecode6
)) {
28086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
28088 arg6
= static_cast< bool >(val6
);
28091 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= SWIG_Py_Void();
28101 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
28105 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
28107 if ((argc
>= 5) && (argc
<= 6)) {
28111 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28114 if (!_v
) goto check_1
;
28118 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
28119 _v
= SWIG_CheckState(res
);
28122 if (!_v
) goto check_1
;
28124 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
28128 if ((argc
>= 6) && (argc
<= 7)) {
28129 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
28133 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
28138 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
= 0;
28140 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28155 PyObject
* obj0
= 0 ;
28156 PyObject
* obj1
= 0 ;
28157 PyObject
* obj2
= 0 ;
28158 PyObject
* obj3
= 0 ;
28159 PyObject
* obj4
= 0 ;
28160 char * kwnames
[] = {
28161 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
28164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28166 if (!SWIG_IsOK(res1
)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28169 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28170 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28171 if (!SWIG_IsOK(ecode2
)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
28174 arg2
= static_cast< wxDouble
>(val2
);
28175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28176 if (!SWIG_IsOK(ecode3
)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28179 arg3
= static_cast< wxDouble
>(val3
);
28180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28181 if (!SWIG_IsOK(ecode4
)) {
28182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28184 arg4
= static_cast< wxDouble
>(val4
);
28185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28186 if (!SWIG_IsOK(ecode5
)) {
28187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28189 arg5
= static_cast< wxDouble
>(val5
);
28191 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_Py_Void();
28201 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 PyObject
* obj2
= 0 ;
28221 PyObject
* obj3
= 0 ;
28222 PyObject
* obj4
= 0 ;
28223 char * kwnames
[] = {
28224 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28229 if (!SWIG_IsOK(res1
)) {
28230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28232 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28233 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28234 if (!SWIG_IsOK(ecode2
)) {
28235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28237 arg2
= static_cast< wxDouble
>(val2
);
28238 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28239 if (!SWIG_IsOK(ecode3
)) {
28240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28242 arg3
= static_cast< wxDouble
>(val3
);
28243 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28244 if (!SWIG_IsOK(ecode4
)) {
28245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28247 arg4
= static_cast< wxDouble
>(val4
);
28248 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28249 if (!SWIG_IsOK(ecode5
)) {
28250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28252 arg5
= static_cast< wxDouble
>(val5
);
28254 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_Py_Void();
28264 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
= 0;
28266 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28278 PyObject
* obj0
= 0 ;
28279 PyObject
* obj1
= 0 ;
28280 PyObject
* obj2
= 0 ;
28281 PyObject
* obj3
= 0 ;
28282 char * kwnames
[] = {
28283 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
28286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28291 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28292 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28293 if (!SWIG_IsOK(ecode2
)) {
28294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
28296 arg2
= static_cast< wxDouble
>(val2
);
28297 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28298 if (!SWIG_IsOK(ecode3
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
28301 arg3
= static_cast< wxDouble
>(val3
);
28302 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28303 if (!SWIG_IsOK(ecode4
)) {
28304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
28306 arg4
= static_cast< wxDouble
>(val4
);
28308 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_Py_Void();
28318 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
= 0;
28320 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28338 PyObject
* obj0
= 0 ;
28339 PyObject
* obj1
= 0 ;
28340 PyObject
* obj2
= 0 ;
28341 PyObject
* obj3
= 0 ;
28342 PyObject
* obj4
= 0 ;
28343 PyObject
* obj5
= 0 ;
28344 char * kwnames
[] = {
28345 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
28348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28353 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28354 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28355 if (!SWIG_IsOK(ecode2
)) {
28356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
28358 arg2
= static_cast< wxDouble
>(val2
);
28359 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28360 if (!SWIG_IsOK(ecode3
)) {
28361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28363 arg3
= static_cast< wxDouble
>(val3
);
28364 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28365 if (!SWIG_IsOK(ecode4
)) {
28366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28368 arg4
= static_cast< wxDouble
>(val4
);
28369 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28370 if (!SWIG_IsOK(ecode5
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28373 arg5
= static_cast< wxDouble
>(val5
);
28374 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28375 if (!SWIG_IsOK(ecode6
)) {
28376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
28378 arg6
= static_cast< wxDouble
>(val6
);
28380 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_Py_Void();
28390 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= 0;
28392 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 PyObject
* obj2
= 0 ;
28410 PyObject
* obj3
= 0 ;
28411 PyObject
* obj4
= 0 ;
28412 char * kwnames
[] = {
28413 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28418 if (!SWIG_IsOK(res1
)) {
28419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28421 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28422 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28423 if (!SWIG_IsOK(ecode2
)) {
28424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
28426 arg2
= static_cast< wxDouble
>(val2
);
28427 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28428 if (!SWIG_IsOK(ecode3
)) {
28429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
28431 arg3
= static_cast< wxDouble
>(val3
);
28432 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28433 if (!SWIG_IsOK(ecode4
)) {
28434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
28436 arg4
= static_cast< wxDouble
>(val4
);
28437 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28438 if (!SWIG_IsOK(ecode5
)) {
28439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
28441 arg5
= static_cast< wxDouble
>(val5
);
28443 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_Py_Void();
28453 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
= 0;
28455 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 PyObject
* obj3
= 0 ;
28477 PyObject
* obj4
= 0 ;
28478 PyObject
* obj5
= 0 ;
28479 char * kwnames
[] = {
28480 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28485 if (!SWIG_IsOK(res1
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28488 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28489 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28490 if (!SWIG_IsOK(ecode2
)) {
28491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28493 arg2
= static_cast< wxDouble
>(val2
);
28494 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28495 if (!SWIG_IsOK(ecode3
)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28498 arg3
= static_cast< wxDouble
>(val3
);
28499 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28500 if (!SWIG_IsOK(ecode4
)) {
28501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28503 arg4
= static_cast< wxDouble
>(val4
);
28504 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28505 if (!SWIG_IsOK(ecode5
)) {
28506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28508 arg5
= static_cast< wxDouble
>(val5
);
28509 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28510 if (!SWIG_IsOK(ecode6
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28513 arg6
= static_cast< wxDouble
>(val6
);
28515 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= SWIG_Py_Void();
28525 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28526 PyObject
*resultobj
= 0;
28527 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28531 PyObject
*swig_obj
[1] ;
28533 if (!args
) SWIG_fail
;
28534 swig_obj
[0] = args
;
28535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28536 if (!SWIG_IsOK(res1
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28539 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28541 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28542 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28551 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28552 PyObject
*resultobj
= 0;
28553 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28554 void *arg2
= (void *) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 PyObject
* obj1
= 0 ;
28560 char * kwnames
[] = {
28561 (char *) "self",(char *) "p", NULL
28564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28566 if (!SWIG_IsOK(res1
)) {
28567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28569 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28570 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28571 if (!SWIG_IsOK(res2
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28575 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
= 0;
28587 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28588 wxGraphicsMatrix
*arg2
= 0 ;
28593 PyObject
* obj0
= 0 ;
28594 PyObject
* obj1
= 0 ;
28595 char * kwnames
[] = {
28596 (char *) "self",(char *) "matrix", NULL
28599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28601 if (!SWIG_IsOK(res1
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28604 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28606 if (!SWIG_IsOK(res2
)) {
28607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28612 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28614 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= SWIG_Py_Void();
28624 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28625 PyObject
*resultobj
= 0;
28626 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28630 PyObject
*swig_obj
[1] ;
28632 if (!args
) SWIG_fail
;
28633 swig_obj
[0] = args
;
28634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28635 if (!SWIG_IsOK(res1
)) {
28636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28638 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28640 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28650 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28651 PyObject
*resultobj
= 0;
28652 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28655 int arg4
= (int) wxODDEVEN_RULE
;
28666 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28668 if (!SWIG_IsOK(res1
)) {
28669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28671 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28672 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28673 if (!SWIG_IsOK(ecode2
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28676 arg2
= static_cast< wxDouble
>(val2
);
28677 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28678 if (!SWIG_IsOK(ecode3
)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28681 arg3
= static_cast< wxDouble
>(val3
);
28683 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28684 if (!SWIG_IsOK(ecode4
)) {
28685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28687 arg4
= static_cast< int >(val4
);
28690 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28702 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28703 PyObject
*resultobj
= 0;
28704 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28705 wxPoint2D
*arg2
= 0 ;
28706 int arg3
= (int) wxODDEVEN_RULE
;
28714 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28719 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28722 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28725 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28726 if (!SWIG_IsOK(ecode3
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28729 arg3
= static_cast< int >(val3
);
28732 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28748 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28750 if ((argc
>= 2) && (argc
<= 3)) {
28754 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28757 if (!_v
) goto check_1
;
28761 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28762 _v
= SWIG_CheckState(res
);
28765 if (!_v
) goto check_1
;
28767 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28771 if ((argc
>= 3) && (argc
<= 4)) {
28772 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28776 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28781 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28784 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28785 return SWIG_Py_Void();
28788 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28789 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28794 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28795 PyObject
*pyobj
= 0;
28797 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28802 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28803 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28808 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28809 PyObject
*pyobj
= 0;
28811 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28816 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28817 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28822 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28823 PyObject
*pyobj
= 0;
28825 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28830 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28831 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28836 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28837 PyObject
*pyobj
= 0;
28839 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28844 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28845 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28850 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28851 PyObject
*pyobj
= 0;
28853 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28858 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28859 PyObject
*resultobj
= 0;
28860 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28863 PyObject
*swig_obj
[1] ;
28865 if (!args
) SWIG_fail
;
28866 swig_obj
[0] = args
;
28867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28871 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28885 PyObject
*resultobj
= 0;
28886 wxWindowDC
*arg1
= 0 ;
28887 wxGraphicsContext
*result
= 0 ;
28891 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28893 if (!SWIG_IsOK(res1
)) {
28894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28899 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28901 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28911 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28912 PyObject
*resultobj
= 0;
28913 wxWindow
*arg1
= (wxWindow
*) 0 ;
28914 wxGraphicsContext
*result
= 0 ;
28918 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28920 if (!SWIG_IsOK(res1
)) {
28921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28923 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28925 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28935 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28939 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28944 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28945 _v
= SWIG_CheckState(res
);
28947 if (!_v
) goto check_1
;
28948 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28953 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28957 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28962 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxGraphicsContext
*result
= 0 ;
28966 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28968 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28978 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
= 0;
28980 void *arg1
= (void *) 0 ;
28981 wxGraphicsContext
*result
= 0 ;
28983 PyObject
* obj0
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "context", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28994 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29004 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 void *arg1
= (void *) 0 ;
29007 wxGraphicsContext
*result
= 0 ;
29009 PyObject
* obj0
= 0 ;
29010 char * kwnames
[] = {
29011 (char *) "window", NULL
29014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
29015 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
29016 if (!SWIG_IsOK(res1
)) {
29017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
29020 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29030 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29031 PyObject
*resultobj
= 0;
29032 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29033 wxGraphicsPath result
;
29036 PyObject
*swig_obj
[1] ;
29038 if (!args
) SWIG_fail
;
29039 swig_obj
[0] = args
;
29040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29041 if (!SWIG_IsOK(res1
)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29044 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29046 result
= (arg1
)->CreatePath();
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29056 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
= 0;
29058 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29060 wxGraphicsPen result
;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 char * kwnames
[] = {
29068 (char *) "self",(char *) "pen", NULL
29071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29073 if (!SWIG_IsOK(res1
)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29076 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29078 if (!SWIG_IsOK(res2
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
29084 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29086 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
29096 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29097 PyObject
*resultobj
= 0;
29098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29099 wxBrush
*arg2
= 0 ;
29100 wxGraphicsBrush result
;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 char * kwnames
[] = {
29108 (char *) "self",(char *) "brush", NULL
29111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29116 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29118 if (!SWIG_IsOK(res2
)) {
29119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29124 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29126 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29136 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29138 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29143 wxColour
*arg6
= 0 ;
29144 wxColour
*arg7
= 0 ;
29145 wxGraphicsBrush result
;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 PyObject
* obj2
= 0 ;
29161 PyObject
* obj3
= 0 ;
29162 PyObject
* obj4
= 0 ;
29163 PyObject
* obj5
= 0 ;
29164 PyObject
* obj6
= 0 ;
29165 char * kwnames
[] = {
29166 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
29169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29171 if (!SWIG_IsOK(res1
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29174 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29175 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29176 if (!SWIG_IsOK(ecode2
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29179 arg2
= static_cast< wxDouble
>(val2
);
29180 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29181 if (!SWIG_IsOK(ecode3
)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29184 arg3
= static_cast< wxDouble
>(val3
);
29185 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29186 if (!SWIG_IsOK(ecode4
)) {
29187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29189 arg4
= static_cast< wxDouble
>(val4
);
29190 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29191 if (!SWIG_IsOK(ecode5
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29194 arg5
= static_cast< wxDouble
>(val5
);
29197 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29201 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29204 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29207 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29214 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29215 PyObject
*resultobj
= 0;
29216 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29222 wxColour
*arg7
= 0 ;
29223 wxColour
*arg8
= 0 ;
29224 wxGraphicsBrush result
;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 PyObject
* obj4
= 0 ;
29244 PyObject
* obj5
= 0 ;
29245 PyObject
* obj6
= 0 ;
29246 PyObject
* obj7
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29257 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29261 arg2
= static_cast< wxDouble
>(val2
);
29262 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29263 if (!SWIG_IsOK(ecode3
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29266 arg3
= static_cast< wxDouble
>(val3
);
29267 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29268 if (!SWIG_IsOK(ecode4
)) {
29269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29271 arg4
= static_cast< wxDouble
>(val4
);
29272 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29273 if (!SWIG_IsOK(ecode5
)) {
29274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29276 arg5
= static_cast< wxDouble
>(val5
);
29277 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29278 if (!SWIG_IsOK(ecode6
)) {
29279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
29281 arg6
= static_cast< wxDouble
>(val6
);
29284 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29288 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
29291 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29301 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
= 0;
29303 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29305 wxColour
const &arg3_defvalue
= *wxBLACK
;
29306 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29307 wxGraphicsFont result
;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "font",(char *) "col", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29325 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29327 if (!SWIG_IsOK(res2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29333 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29337 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29341 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
29351 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29354 wxDouble arg2
= (wxDouble
) 1.0 ;
29355 wxDouble arg3
= (wxDouble
) 0.0 ;
29356 wxDouble arg4
= (wxDouble
) 0.0 ;
29357 wxDouble arg5
= (wxDouble
) 1.0 ;
29358 wxDouble arg6
= (wxDouble
) 0.0 ;
29359 wxDouble arg7
= (wxDouble
) 0.0 ;
29360 wxGraphicsMatrix result
;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 PyObject
* obj2
= 0 ;
29378 PyObject
* obj3
= 0 ;
29379 PyObject
* obj4
= 0 ;
29380 PyObject
* obj5
= 0 ;
29381 PyObject
* obj6
= 0 ;
29382 char * kwnames
[] = {
29383 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29391 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29393 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29394 if (!SWIG_IsOK(ecode2
)) {
29395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29397 arg2
= static_cast< wxDouble
>(val2
);
29400 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29401 if (!SWIG_IsOK(ecode3
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29404 arg3
= static_cast< wxDouble
>(val3
);
29407 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29408 if (!SWIG_IsOK(ecode4
)) {
29409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29411 arg4
= static_cast< wxDouble
>(val4
);
29414 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29415 if (!SWIG_IsOK(ecode5
)) {
29416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29418 arg5
= static_cast< wxDouble
>(val5
);
29421 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29422 if (!SWIG_IsOK(ecode6
)) {
29423 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29425 arg6
= static_cast< wxDouble
>(val6
);
29428 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29429 if (!SWIG_IsOK(ecode7
)) {
29430 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29432 arg7
= static_cast< wxDouble
>(val7
);
29435 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29445 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29446 PyObject
*resultobj
= 0;
29447 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29450 PyObject
*swig_obj
[1] ;
29452 if (!args
) SWIG_fail
;
29453 swig_obj
[0] = args
;
29454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29455 if (!SWIG_IsOK(res1
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29458 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29460 (arg1
)->PushState();
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_Py_Void();
29470 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29471 PyObject
*resultobj
= 0;
29472 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29475 PyObject
*swig_obj
[1] ;
29477 if (!args
) SWIG_fail
;
29478 swig_obj
[0] = args
;
29479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29483 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29485 (arg1
)->PopState();
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_Py_Void();
29495 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
= 0;
29497 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29498 wxRegion
*arg2
= 0 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 char * kwnames
[] = {
29506 (char *) "self",(char *) "region", NULL
29509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29511 if (!SWIG_IsOK(res1
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29514 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29516 if (!SWIG_IsOK(res2
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29522 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29524 (arg1
)->Clip((wxRegion
const &)*arg2
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_Py_Void();
29534 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
= 0;
29536 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 PyObject
* obj3
= 0 ;
29555 PyObject
* obj4
= 0 ;
29556 char * kwnames
[] = {
29557 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29565 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29566 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29567 if (!SWIG_IsOK(ecode2
)) {
29568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29570 arg2
= static_cast< wxDouble
>(val2
);
29571 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29572 if (!SWIG_IsOK(ecode3
)) {
29573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29575 arg3
= static_cast< wxDouble
>(val3
);
29576 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29577 if (!SWIG_IsOK(ecode4
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29580 arg4
= static_cast< wxDouble
>(val4
);
29581 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29582 if (!SWIG_IsOK(ecode5
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29585 arg5
= static_cast< wxDouble
>(val5
);
29587 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29588 if (PyErr_Occurred()) SWIG_fail
;
29590 resultobj
= SWIG_Py_Void();
29597 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29598 PyObject
*resultobj
= 0;
29599 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29602 PyObject
*swig_obj
[1] ;
29604 if (!args
) SWIG_fail
;
29605 swig_obj
[0] = args
;
29606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29607 if (!SWIG_IsOK(res1
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29610 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29612 (arg1
)->ResetClip();
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= SWIG_Py_Void();
29622 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29623 PyObject
*resultobj
= 0;
29624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29628 PyObject
*swig_obj
[1] ;
29630 if (!args
) SWIG_fail
;
29631 swig_obj
[0] = args
;
29632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29633 if (!SWIG_IsOK(res1
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29636 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29638 result
= (void *)(arg1
)->GetNativeContext();
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29648 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29649 PyObject
*resultobj
= 0;
29650 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29654 PyObject
*swig_obj
[1] ;
29656 if (!args
) SWIG_fail
;
29657 swig_obj
[0] = args
;
29658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29659 if (!SWIG_IsOK(res1
)) {
29660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29662 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29664 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29665 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= SWIG_From_int(static_cast< int >(result
));
29674 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
= 0;
29676 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 char * kwnames
[] = {
29686 (char *) "self",(char *) "function", NULL
29689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29696 if (!SWIG_IsOK(ecode2
)) {
29697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29699 arg2
= static_cast< int >(val2
);
29701 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29713 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29714 PyObject
*resultobj
= 0;
29715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 PyObject
* obj2
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "dx",(char *) "dy", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29736 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29737 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29738 if (!SWIG_IsOK(ecode2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29741 arg2
= static_cast< wxDouble
>(val2
);
29742 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29743 if (!SWIG_IsOK(ecode3
)) {
29744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29746 arg3
= static_cast< wxDouble
>(val3
);
29748 (arg1
)->Translate(arg2
,arg3
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_Py_Void();
29758 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 PyObject
* obj2
= 0 ;
29772 char * kwnames
[] = {
29773 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29782 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29783 if (!SWIG_IsOK(ecode2
)) {
29784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29786 arg2
= static_cast< wxDouble
>(val2
);
29787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29788 if (!SWIG_IsOK(ecode3
)) {
29789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29791 arg3
= static_cast< wxDouble
>(val3
);
29793 (arg1
)->Scale(arg2
,arg3
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_Py_Void();
29803 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29804 PyObject
*resultobj
= 0;
29805 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 char * kwnames
[] = {
29814 (char *) "self",(char *) "angle", NULL
29817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29819 if (!SWIG_IsOK(res1
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29822 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29823 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29824 if (!SWIG_IsOK(ecode2
)) {
29825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29827 arg2
= static_cast< wxDouble
>(val2
);
29829 (arg1
)->Rotate(arg2
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_Py_Void();
29839 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= 0;
29841 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29842 wxGraphicsMatrix
*arg2
= 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 char * kwnames
[] = {
29850 (char *) "self",(char *) "matrix", NULL
29853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29858 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29859 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29860 if (!SWIG_IsOK(res2
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29866 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29868 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_Py_Void();
29878 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
= 0;
29880 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29881 wxGraphicsMatrix
*arg2
= 0 ;
29886 PyObject
* obj0
= 0 ;
29887 PyObject
* obj1
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "matrix", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29897 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29899 if (!SWIG_IsOK(res2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29905 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29907 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_Py_Void();
29917 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29918 PyObject
*resultobj
= 0;
29919 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29920 wxGraphicsMatrix result
;
29923 PyObject
*swig_obj
[1] ;
29925 if (!args
) SWIG_fail
;
29926 swig_obj
[0] = args
;
29927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29931 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29933 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29943 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29944 PyObject
*resultobj
= 0;
29945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29946 wxGraphicsPen
*arg2
= 0 ;
29952 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29954 if (!SWIG_IsOK(res1
)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29957 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29958 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29959 if (!SWIG_IsOK(res2
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29965 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29967 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 resultobj
= SWIG_Py_Void();
29977 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29978 PyObject
*resultobj
= 0;
29979 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29986 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29988 if (!SWIG_IsOK(res1
)) {
29989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29991 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29992 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29993 if (!SWIG_IsOK(res2
)) {
29994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29999 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30001 (arg1
)->SetPen((wxPen
const &)*arg2
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_Py_Void();
30011 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
30015 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
30020 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
30021 _v
= SWIG_CheckState(res
);
30023 if (!_v
) goto check_1
;
30024 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
30029 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
30033 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
30038 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30039 PyObject
*resultobj
= 0;
30040 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30041 wxGraphicsBrush
*arg2
= 0 ;
30047 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30049 if (!SWIG_IsOK(res1
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30052 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30053 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30054 if (!SWIG_IsOK(res2
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
30058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
30060 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
30062 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 resultobj
= SWIG_Py_Void();
30072 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30073 PyObject
*resultobj
= 0;
30074 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30075 wxBrush
*arg2
= 0 ;
30081 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30083 if (!SWIG_IsOK(res1
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30087 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30088 if (!SWIG_IsOK(res2
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30094 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30096 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_Py_Void();
30106 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
30110 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
30115 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
30116 _v
= SWIG_CheckState(res
);
30118 if (!_v
) goto check_1
;
30119 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
30124 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
30128 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
30133 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30134 PyObject
*resultobj
= 0;
30135 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30136 wxGraphicsFont
*arg2
= 0 ;
30142 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30144 if (!SWIG_IsOK(res1
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30148 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
30149 if (!SWIG_IsOK(res2
)) {
30150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
30153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
30155 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
30157 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_Py_Void();
30167 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30168 PyObject
*resultobj
= 0;
30169 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30171 wxColour
const &arg3_defvalue
= *wxBLACK
;
30172 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30179 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30184 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30185 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30192 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30196 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
30200 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= SWIG_Py_Void();
30210 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
30214 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
30219 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
30220 _v
= SWIG_CheckState(res
);
30222 if (!_v
) goto check_1
;
30223 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
30227 if ((argc
>= 2) && (argc
<= 3)) {
30228 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
30232 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
30237 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
= 0;
30239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30240 wxGraphicsPath
*arg2
= 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char * kwnames
[] = {
30248 (char *) "self",(char *) "path", NULL
30251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30253 if (!SWIG_IsOK(res1
)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30258 if (!SWIG_IsOK(res2
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30264 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30266 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= SWIG_Py_Void();
30276 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
= 0;
30278 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30279 wxGraphicsPath
*arg2
= 0 ;
30280 int arg3
= (int) wxODDEVEN_RULE
;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 PyObject
* obj2
= 0 ;
30290 char * kwnames
[] = {
30291 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30299 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30301 if (!SWIG_IsOK(res2
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30307 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30310 if (!SWIG_IsOK(ecode3
)) {
30311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
30313 arg3
= static_cast< int >(val3
);
30316 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= SWIG_Py_Void();
30326 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
= 0;
30328 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30329 wxGraphicsPath
*arg2
= 0 ;
30330 int arg3
= (int) wxODDEVEN_RULE
;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 PyObject
* obj2
= 0 ;
30340 char * kwnames
[] = {
30341 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30346 if (!SWIG_IsOK(res1
)) {
30347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30349 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30351 if (!SWIG_IsOK(res2
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30357 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30360 if (!SWIG_IsOK(ecode3
)) {
30361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
30363 arg3
= static_cast< int >(val3
);
30366 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_Py_Void();
30376 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
= 0;
30378 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30379 wxString
*arg2
= 0 ;
30382 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
30383 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
30386 bool temp2
= false ;
30393 PyObject
* obj0
= 0 ;
30394 PyObject
* obj1
= 0 ;
30395 PyObject
* obj2
= 0 ;
30396 PyObject
* obj3
= 0 ;
30397 PyObject
* obj4
= 0 ;
30398 char * kwnames
[] = {
30399 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
30402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30404 if (!SWIG_IsOK(res1
)) {
30405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30409 arg2
= wxString_in_helper(obj1
);
30410 if (arg2
== NULL
) SWIG_fail
;
30413 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30414 if (!SWIG_IsOK(ecode3
)) {
30415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
30417 arg3
= static_cast< wxDouble
>(val3
);
30418 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30419 if (!SWIG_IsOK(ecode4
)) {
30420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
30422 arg4
= static_cast< wxDouble
>(val4
);
30424 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30425 if (!SWIG_IsOK(res5
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30431 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
30434 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= SWIG_Py_Void();
30452 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
= 0;
30454 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30455 wxString
*arg2
= 0 ;
30459 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30460 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30463 bool temp2
= false ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 PyObject
* obj2
= 0 ;
30475 PyObject
* obj3
= 0 ;
30476 PyObject
* obj4
= 0 ;
30477 PyObject
* obj5
= 0 ;
30478 char * kwnames
[] = {
30479 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30484 if (!SWIG_IsOK(res1
)) {
30485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30487 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30489 arg2
= wxString_in_helper(obj1
);
30490 if (arg2
== NULL
) SWIG_fail
;
30493 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30494 if (!SWIG_IsOK(ecode3
)) {
30495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30497 arg3
= static_cast< wxDouble
>(val3
);
30498 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30499 if (!SWIG_IsOK(ecode4
)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30502 arg4
= static_cast< wxDouble
>(val4
);
30503 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30504 if (!SWIG_IsOK(ecode5
)) {
30505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30507 arg5
= static_cast< wxDouble
>(val5
);
30509 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30510 if (!SWIG_IsOK(res6
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30516 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30519 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 resultobj
= SWIG_Py_Void();
30537 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30538 PyObject
*resultobj
= 0;
30539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30540 wxString
*arg2
= 0 ;
30541 wxDouble
*arg3
= (wxDouble
*) 0 ;
30542 wxDouble
*arg4
= (wxDouble
*) 0 ;
30543 wxDouble
*arg5
= (wxDouble
*) 0 ;
30544 wxDouble
*arg6
= (wxDouble
*) 0 ;
30547 bool temp2
= false ;
30549 int res3
= SWIG_TMPOBJ
;
30551 int res4
= SWIG_TMPOBJ
;
30553 int res5
= SWIG_TMPOBJ
;
30555 int res6
= SWIG_TMPOBJ
;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "text", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30571 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30573 arg2
= wxString_in_helper(obj1
);
30574 if (arg2
== NULL
) SWIG_fail
;
30578 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_Py_Void();
30582 if (SWIG_IsTmpObj(res3
)) {
30583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30585 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30586 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30588 if (SWIG_IsTmpObj(res4
)) {
30589 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30591 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30594 if (SWIG_IsTmpObj(res5
)) {
30595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30597 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30600 if (SWIG_IsTmpObj(res6
)) {
30601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30603 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30620 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
= 0;
30622 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30623 wxString
*arg2
= 0 ;
30624 PyObject
*result
= 0 ;
30627 bool temp2
= false ;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 char * kwnames
[] = {
30631 (char *) "self",(char *) "text", NULL
30634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30636 if (!SWIG_IsOK(res1
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30639 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30641 arg2
= wxString_in_helper(obj1
);
30642 if (arg2
== NULL
) SWIG_fail
;
30646 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= result
;
30664 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= 0;
30666 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30667 wxString
*arg2
= 0 ;
30668 wxArrayDouble result
;
30671 bool temp2
= false ;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char * kwnames
[] = {
30675 (char *) "self",(char *) "text", NULL
30678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30680 if (!SWIG_IsOK(res1
)) {
30681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30685 arg2
= wxString_in_helper(obj1
);
30686 if (arg2
== NULL
) SWIG_fail
;
30690 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= wxArrayDouble2PyList_helper(result
);
30710 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30711 PyObject
*resultobj
= 0;
30712 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30713 wxBitmap
*arg2
= 0 ;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 PyObject
* obj2
= 0 ;
30733 PyObject
* obj3
= 0 ;
30734 PyObject
* obj4
= 0 ;
30735 PyObject
* obj5
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30745 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30747 if (!SWIG_IsOK(res2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30753 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30754 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30755 if (!SWIG_IsOK(ecode3
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30758 arg3
= static_cast< wxDouble
>(val3
);
30759 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30760 if (!SWIG_IsOK(ecode4
)) {
30761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30763 arg4
= static_cast< wxDouble
>(val4
);
30764 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30765 if (!SWIG_IsOK(ecode5
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30768 arg5
= static_cast< wxDouble
>(val5
);
30769 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30770 if (!SWIG_IsOK(ecode6
)) {
30771 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30773 arg6
= static_cast< wxDouble
>(val6
);
30775 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= SWIG_Py_Void();
30785 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
= 0;
30787 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30805 PyObject
* obj0
= 0 ;
30806 PyObject
* obj1
= 0 ;
30807 PyObject
* obj2
= 0 ;
30808 PyObject
* obj3
= 0 ;
30809 PyObject
* obj4
= 0 ;
30810 PyObject
* obj5
= 0 ;
30811 char * kwnames
[] = {
30812 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30820 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30822 if (!SWIG_IsOK(res2
)) {
30823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30828 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30829 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30830 if (!SWIG_IsOK(ecode3
)) {
30831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30833 arg3
= static_cast< wxDouble
>(val3
);
30834 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30835 if (!SWIG_IsOK(ecode4
)) {
30836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30838 arg4
= static_cast< wxDouble
>(val4
);
30839 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30840 if (!SWIG_IsOK(ecode5
)) {
30841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30843 arg5
= static_cast< wxDouble
>(val5
);
30844 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30845 if (!SWIG_IsOK(ecode6
)) {
30846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30848 arg6
= static_cast< wxDouble
>(val6
);
30850 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_Py_Void();
30860 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= 0;
30862 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30877 PyObject
* obj0
= 0 ;
30878 PyObject
* obj1
= 0 ;
30879 PyObject
* obj2
= 0 ;
30880 PyObject
* obj3
= 0 ;
30881 PyObject
* obj4
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30891 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30892 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30893 if (!SWIG_IsOK(ecode2
)) {
30894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30896 arg2
= static_cast< wxDouble
>(val2
);
30897 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30898 if (!SWIG_IsOK(ecode3
)) {
30899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30901 arg3
= static_cast< wxDouble
>(val3
);
30902 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30903 if (!SWIG_IsOK(ecode4
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30906 arg4
= static_cast< wxDouble
>(val4
);
30907 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30908 if (!SWIG_IsOK(ecode5
)) {
30909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30911 arg5
= static_cast< wxDouble
>(val5
);
30913 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= SWIG_Py_Void();
30923 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30924 PyObject
*resultobj
= 0;
30925 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30927 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "self",(char *) "points", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30943 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30944 if (arg3
== NULL
) SWIG_fail
;
30947 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_Py_Void();
30952 if (arg3
) delete [] arg3
;
30957 if (arg3
) delete [] arg3
;
30963 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
= 0;
30965 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30966 PyObject
*arg2
= (PyObject
*) 0 ;
30967 PyObject
*arg3
= (PyObject
*) 0 ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 PyObject
* obj2
= 0 ;
30973 char * kwnames
[] = {
30974 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30982 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30986 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= SWIG_Py_Void();
30996 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
= 0;
30998 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31000 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
31001 int arg4
= (int) wxODDEVEN_RULE
;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 PyObject
* obj2
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31015 if (!SWIG_IsOK(res1
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31018 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31020 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
31021 if (arg3
== NULL
) SWIG_fail
;
31024 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
31025 if (!SWIG_IsOK(ecode4
)) {
31026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
31028 arg4
= static_cast< int >(val4
);
31031 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= SWIG_Py_Void();
31036 if (arg3
) delete [] arg3
;
31041 if (arg3
) delete [] arg3
;
31047 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
= 0;
31049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 PyObject
* obj2
= 0 ;
31067 PyObject
* obj3
= 0 ;
31068 PyObject
* obj4
= 0 ;
31069 char * kwnames
[] = {
31070 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31078 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31079 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31080 if (!SWIG_IsOK(ecode2
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
31083 arg2
= static_cast< wxDouble
>(val2
);
31084 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31085 if (!SWIG_IsOK(ecode3
)) {
31086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
31088 arg3
= static_cast< wxDouble
>(val3
);
31089 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31090 if (!SWIG_IsOK(ecode4
)) {
31091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
31093 arg4
= static_cast< wxDouble
>(val4
);
31094 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31095 if (!SWIG_IsOK(ecode5
)) {
31096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
31098 arg5
= static_cast< wxDouble
>(val5
);
31100 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= SWIG_Py_Void();
31110 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 PyObject
* obj2
= 0 ;
31130 PyObject
* obj3
= 0 ;
31131 PyObject
* obj4
= 0 ;
31132 char * kwnames
[] = {
31133 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
31136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31138 if (!SWIG_IsOK(res1
)) {
31139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31141 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31142 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31143 if (!SWIG_IsOK(ecode2
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
31146 arg2
= static_cast< wxDouble
>(val2
);
31147 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31148 if (!SWIG_IsOK(ecode3
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
31151 arg3
= static_cast< wxDouble
>(val3
);
31152 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31153 if (!SWIG_IsOK(ecode4
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
31156 arg4
= static_cast< wxDouble
>(val4
);
31157 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31158 if (!SWIG_IsOK(ecode5
)) {
31159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
31161 arg5
= static_cast< wxDouble
>(val5
);
31163 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_Py_Void();
31173 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
= 0;
31175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 PyObject
* obj2
= 0 ;
31196 PyObject
* obj3
= 0 ;
31197 PyObject
* obj4
= 0 ;
31198 PyObject
* obj5
= 0 ;
31199 char * kwnames
[] = {
31200 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
31203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31205 if (!SWIG_IsOK(res1
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31208 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31209 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31210 if (!SWIG_IsOK(ecode2
)) {
31211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
31213 arg2
= static_cast< wxDouble
>(val2
);
31214 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31215 if (!SWIG_IsOK(ecode3
)) {
31216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
31218 arg3
= static_cast< wxDouble
>(val3
);
31219 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31220 if (!SWIG_IsOK(ecode4
)) {
31221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
31223 arg4
= static_cast< wxDouble
>(val4
);
31224 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31225 if (!SWIG_IsOK(ecode5
)) {
31226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
31228 arg5
= static_cast< wxDouble
>(val5
);
31229 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31230 if (!SWIG_IsOK(ecode6
)) {
31231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
31233 arg6
= static_cast< wxDouble
>(val6
);
31235 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_Py_Void();
31245 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31246 PyObject
*resultobj
= 0;
31247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31251 PyObject
*swig_obj
[1] ;
31253 if (!args
) SWIG_fail
;
31254 swig_obj
[0] = args
;
31255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31256 if (!SWIG_IsOK(res1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
31259 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31261 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
31262 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31273 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31275 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31276 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
31277 return SWIG_Py_Void();
31280 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31281 PyObject
*resultobj
= 0;
31282 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31285 PyObject
*swig_obj
[1] ;
31287 if (!args
) SWIG_fail
;
31288 swig_obj
[0] = args
;
31289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
31290 if (!SWIG_IsOK(res1
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31293 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_Py_Void();
31306 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 PyObject
*resultobj
= 0;
31308 wxGraphicsRenderer
*result
= 0 ;
31310 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
31312 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31322 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31323 PyObject
*resultobj
= 0;
31324 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31325 wxWindowDC
*arg2
= 0 ;
31326 wxGraphicsContext
*result
= 0 ;
31332 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31334 if (!SWIG_IsOK(res1
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31337 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31338 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31339 if (!SWIG_IsOK(res2
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31345 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31347 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31357 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31358 PyObject
*resultobj
= 0;
31359 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31360 wxWindow
*arg2
= (wxWindow
*) 0 ;
31361 wxGraphicsContext
*result
= 0 ;
31367 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31372 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31373 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31374 if (!SWIG_IsOK(res2
)) {
31375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
31377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31379 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31389 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
31393 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
31398 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
31399 _v
= SWIG_CheckState(res
);
31401 if (!_v
) goto check_1
;
31402 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
31407 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
31411 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
31416 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 PyObject
*resultobj
= 0;
31418 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31419 wxGraphicsContext
*result
= 0 ;
31422 PyObject
*swig_obj
[1] ;
31424 if (!args
) SWIG_fail
;
31425 swig_obj
[0] = args
;
31426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31427 if (!SWIG_IsOK(res1
)) {
31428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31430 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31432 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31442 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31443 PyObject
*resultobj
= 0;
31444 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31445 void *arg2
= (void *) 0 ;
31446 wxGraphicsContext
*result
= 0 ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 char * kwnames
[] = {
31453 (char *) "self",(char *) "context", NULL
31456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31458 if (!SWIG_IsOK(res1
)) {
31459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31461 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31462 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31463 if (!SWIG_IsOK(res2
)) {
31464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31467 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31468 if (PyErr_Occurred()) SWIG_fail
;
31470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31477 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
= 0;
31479 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31480 void *arg2
= (void *) 0 ;
31481 wxGraphicsContext
*result
= 0 ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 char * kwnames
[] = {
31488 (char *) "self",(char *) "window", NULL
31491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31493 if (!SWIG_IsOK(res1
)) {
31494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31496 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31497 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31498 if (!SWIG_IsOK(res2
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31502 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31512 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31513 PyObject
*resultobj
= 0;
31514 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31515 wxGraphicsPath result
;
31518 PyObject
*swig_obj
[1] ;
31520 if (!args
) SWIG_fail
;
31521 swig_obj
[0] = args
;
31522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31523 if (!SWIG_IsOK(res1
)) {
31524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31526 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31528 result
= (arg1
)->CreatePath();
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31538 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31541 wxDouble arg2
= (wxDouble
) 1.0 ;
31542 wxDouble arg3
= (wxDouble
) 0.0 ;
31543 wxDouble arg4
= (wxDouble
) 0.0 ;
31544 wxDouble arg5
= (wxDouble
) 1.0 ;
31545 wxDouble arg6
= (wxDouble
) 0.0 ;
31546 wxDouble arg7
= (wxDouble
) 0.0 ;
31547 wxGraphicsMatrix result
;
31562 PyObject
* obj0
= 0 ;
31563 PyObject
* obj1
= 0 ;
31564 PyObject
* obj2
= 0 ;
31565 PyObject
* obj3
= 0 ;
31566 PyObject
* obj4
= 0 ;
31567 PyObject
* obj5
= 0 ;
31568 PyObject
* obj6
= 0 ;
31569 char * kwnames
[] = {
31570 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31575 if (!SWIG_IsOK(res1
)) {
31576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31578 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31580 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31581 if (!SWIG_IsOK(ecode2
)) {
31582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31584 arg2
= static_cast< wxDouble
>(val2
);
31587 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31588 if (!SWIG_IsOK(ecode3
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31591 arg3
= static_cast< wxDouble
>(val3
);
31594 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31595 if (!SWIG_IsOK(ecode4
)) {
31596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31598 arg4
= static_cast< wxDouble
>(val4
);
31601 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31602 if (!SWIG_IsOK(ecode5
)) {
31603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31605 arg5
= static_cast< wxDouble
>(val5
);
31608 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31609 if (!SWIG_IsOK(ecode6
)) {
31610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31612 arg6
= static_cast< wxDouble
>(val6
);
31615 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31616 if (!SWIG_IsOK(ecode7
)) {
31617 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31619 arg7
= static_cast< wxDouble
>(val7
);
31622 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31632 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31633 PyObject
*resultobj
= 0;
31634 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31636 wxGraphicsPen result
;
31641 PyObject
* obj0
= 0 ;
31642 PyObject
* obj1
= 0 ;
31643 char * kwnames
[] = {
31644 (char *) "self",(char *) "pen", NULL
31647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31649 if (!SWIG_IsOK(res1
)) {
31650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31652 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31654 if (!SWIG_IsOK(res2
)) {
31655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31660 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31662 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31672 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
= 0;
31674 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31675 wxBrush
*arg2
= 0 ;
31676 wxGraphicsBrush result
;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 char * kwnames
[] = {
31684 (char *) "self",(char *) "brush", NULL
31687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31689 if (!SWIG_IsOK(res1
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31692 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31694 if (!SWIG_IsOK(res2
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31700 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31702 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31712 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= 0;
31714 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31719 wxColour
*arg6
= 0 ;
31720 wxColour
*arg7
= 0 ;
31721 wxGraphicsBrush result
;
31734 PyObject
* obj0
= 0 ;
31735 PyObject
* obj1
= 0 ;
31736 PyObject
* obj2
= 0 ;
31737 PyObject
* obj3
= 0 ;
31738 PyObject
* obj4
= 0 ;
31739 PyObject
* obj5
= 0 ;
31740 PyObject
* obj6
= 0 ;
31741 char * kwnames
[] = {
31742 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31747 if (!SWIG_IsOK(res1
)) {
31748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31750 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31751 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31752 if (!SWIG_IsOK(ecode2
)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31755 arg2
= static_cast< wxDouble
>(val2
);
31756 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31757 if (!SWIG_IsOK(ecode3
)) {
31758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31760 arg3
= static_cast< wxDouble
>(val3
);
31761 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31762 if (!SWIG_IsOK(ecode4
)) {
31763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31765 arg4
= static_cast< wxDouble
>(val4
);
31766 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31767 if (!SWIG_IsOK(ecode5
)) {
31768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31770 arg5
= static_cast< wxDouble
>(val5
);
31773 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31777 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31780 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31790 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
= 0;
31792 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31798 wxColour
*arg7
= 0 ;
31799 wxColour
*arg8
= 0 ;
31800 wxGraphicsBrush result
;
31815 PyObject
* obj0
= 0 ;
31816 PyObject
* obj1
= 0 ;
31817 PyObject
* obj2
= 0 ;
31818 PyObject
* obj3
= 0 ;
31819 PyObject
* obj4
= 0 ;
31820 PyObject
* obj5
= 0 ;
31821 PyObject
* obj6
= 0 ;
31822 PyObject
* obj7
= 0 ;
31823 char * kwnames
[] = {
31824 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31829 if (!SWIG_IsOK(res1
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31832 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31833 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31834 if (!SWIG_IsOK(ecode2
)) {
31835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31837 arg2
= static_cast< wxDouble
>(val2
);
31838 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31839 if (!SWIG_IsOK(ecode3
)) {
31840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31842 arg3
= static_cast< wxDouble
>(val3
);
31843 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31844 if (!SWIG_IsOK(ecode4
)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31847 arg4
= static_cast< wxDouble
>(val4
);
31848 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31849 if (!SWIG_IsOK(ecode5
)) {
31850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31852 arg5
= static_cast< wxDouble
>(val5
);
31853 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31854 if (!SWIG_IsOK(ecode6
)) {
31855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31857 arg6
= static_cast< wxDouble
>(val6
);
31860 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31864 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31867 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31877 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31878 PyObject
*resultobj
= 0;
31879 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31881 wxColour
const &arg3_defvalue
= *wxBLACK
;
31882 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31883 wxGraphicsFont result
;
31889 PyObject
* obj0
= 0 ;
31890 PyObject
* obj1
= 0 ;
31891 PyObject
* obj2
= 0 ;
31892 char * kwnames
[] = {
31893 (char *) "self",(char *) "font",(char *) "col", NULL
31896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31898 if (!SWIG_IsOK(res1
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31901 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31903 if (!SWIG_IsOK(res2
)) {
31904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31909 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31913 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31917 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31927 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31930 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31931 return SWIG_Py_Void();
31934 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31935 PyObject
*resultobj
= 0;
31936 wxWindowDC
*arg1
= 0 ;
31937 wxGCDC
*result
= 0 ;
31941 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31943 if (!SWIG_IsOK(res1
)) {
31944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31949 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31951 if (!wxPyCheckForApp()) SWIG_fail
;
31952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31953 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31964 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31965 PyObject
*resultobj
= 0;
31966 wxWindow
*arg1
= (wxWindow
*) 0 ;
31967 wxGCDC
*result
= 0 ;
31971 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31973 if (!SWIG_IsOK(res1
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31978 if (!wxPyCheckForApp()) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 result
= (wxGCDC
*)new wxGCDC(arg1
);
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31991 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31995 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
32000 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
32001 _v
= SWIG_CheckState(res
);
32003 if (!_v
) goto check_1
;
32004 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
32009 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
32013 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
32018 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32019 PyObject
*resultobj
= 0;
32020 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32023 PyObject
*swig_obj
[1] ;
32025 if (!args
) SWIG_fail
;
32026 swig_obj
[0] = args
;
32027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
32031 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_Py_Void();
32044 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32045 PyObject
*resultobj
= 0;
32046 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32047 wxGraphicsContext
*result
= 0 ;
32050 PyObject
*swig_obj
[1] ;
32052 if (!args
) SWIG_fail
;
32053 swig_obj
[0] = args
;
32054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
32058 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32060 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
32061 if (PyErr_Occurred()) SWIG_fail
;
32063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
32070 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
= 0;
32072 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
32073 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
32078 PyObject
* obj0
= 0 ;
32079 PyObject
* obj1
= 0 ;
32080 char * kwnames
[] = {
32081 (char *) "self",(char *) "ctx", NULL
32084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
32086 if (!SWIG_IsOK(res1
)) {
32087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
32089 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
32090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
32091 if (!SWIG_IsOK(res2
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
32094 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
32096 (arg1
)->SetGraphicsContext(arg2
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= SWIG_Py_Void();
32106 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32109 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
32110 return SWIG_Py_Void();
32113 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32114 return SWIG_Python_InitShadowInstance(args
);
32117 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32118 PyObject
*resultobj
= 0;
32119 wxOverlay
*result
= 0 ;
32121 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (wxOverlay
*)new wxOverlay();
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
32135 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32136 PyObject
*resultobj
= 0;
32137 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
32140 PyObject
*swig_obj
[1] ;
32142 if (!args
) SWIG_fail
;
32143 swig_obj
[0] = args
;
32144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
32145 if (!SWIG_IsOK(res1
)) {
32146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
32148 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= SWIG_Py_Void();
32163 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 PyObject
*resultobj
= 0;
32165 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
32168 PyObject
*swig_obj
[1] ;
32170 if (!args
) SWIG_fail
;
32171 swig_obj
[0] = args
;
32172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
32173 if (!SWIG_IsOK(res1
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
32176 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_Py_Void();
32190 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32193 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
32194 return SWIG_Py_Void();
32197 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32198 return SWIG_Python_InitShadowInstance(args
);
32201 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32202 PyObject
*resultobj
= 0;
32203 wxOverlay
*arg1
= 0 ;
32204 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32209 wxDCOverlay
*result
= 0 ;
32223 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
32224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32225 if (!SWIG_IsOK(res1
)) {
32226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32231 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32232 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32233 if (!SWIG_IsOK(res2
)) {
32234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32236 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32237 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
32238 if (!SWIG_IsOK(ecode3
)) {
32239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
32241 arg3
= static_cast< int >(val3
);
32242 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
32243 if (!SWIG_IsOK(ecode4
)) {
32244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
32246 arg4
= static_cast< int >(val4
);
32247 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
32248 if (!SWIG_IsOK(ecode5
)) {
32249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
32251 arg5
= static_cast< int >(val5
);
32252 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
32253 if (!SWIG_IsOK(ecode6
)) {
32254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
32256 arg6
= static_cast< int >(val6
);
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32270 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32271 PyObject
*resultobj
= 0;
32272 wxOverlay
*arg1
= 0 ;
32273 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32274 wxDCOverlay
*result
= 0 ;
32280 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32288 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32289 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32290 if (!SWIG_IsOK(res2
)) {
32291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32293 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32307 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
32311 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
32314 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
32317 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
32321 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
32326 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 PyObject
*resultobj
= 0;
32328 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32331 PyObject
*swig_obj
[1] ;
32333 if (!args
) SWIG_fail
;
32334 swig_obj
[0] = args
;
32335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
32336 if (!SWIG_IsOK(res1
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32339 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= SWIG_Py_Void();
32354 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32355 PyObject
*resultobj
= 0;
32356 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32359 PyObject
*swig_obj
[1] ;
32361 if (!args
) SWIG_fail
;
32362 swig_obj
[0] = args
;
32363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32367 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= SWIG_Py_Void();
32381 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32384 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
32385 return SWIG_Py_Void();
32388 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32389 return SWIG_Python_InitShadowInstance(args
);
32392 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
= 0;
32396 int arg3
= (int) true ;
32397 int arg4
= (int) 1 ;
32398 wxImageList
*result
= 0 ;
32407 PyObject
* obj0
= 0 ;
32408 PyObject
* obj1
= 0 ;
32409 PyObject
* obj2
= 0 ;
32410 PyObject
* obj3
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32417 if (!SWIG_IsOK(ecode1
)) {
32418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
32420 arg1
= static_cast< int >(val1
);
32421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32422 if (!SWIG_IsOK(ecode2
)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
32425 arg2
= static_cast< int >(val2
);
32427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32428 if (!SWIG_IsOK(ecode3
)) {
32429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
32431 arg3
= static_cast< int >(val3
);
32434 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32435 if (!SWIG_IsOK(ecode4
)) {
32436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
32438 arg4
= static_cast< int >(val4
);
32441 if (!wxPyCheckForApp()) SWIG_fail
;
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32454 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32455 PyObject
*resultobj
= 0;
32456 wxImageList
*arg1
= (wxImageList
*) 0 ;
32459 PyObject
*swig_obj
[1] ;
32461 if (!args
) SWIG_fail
;
32462 swig_obj
[0] = args
;
32463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32464 if (!SWIG_IsOK(res1
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32467 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= SWIG_Py_Void();
32482 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxImageList
*arg1
= (wxImageList
*) 0 ;
32485 wxBitmap
*arg2
= 0 ;
32486 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32487 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32495 PyObject
* obj0
= 0 ;
32496 PyObject
* obj1
= 0 ;
32497 PyObject
* obj2
= 0 ;
32498 char * kwnames
[] = {
32499 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32504 if (!SWIG_IsOK(res1
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32507 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32509 if (!SWIG_IsOK(res2
)) {
32510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32515 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32517 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32518 if (!SWIG_IsOK(res3
)) {
32519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32524 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32529 wxPyEndAllowThreads(__tstate
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= SWIG_From_int(static_cast< int >(result
));
32539 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
= 0;
32541 wxImageList
*arg1
= (wxImageList
*) 0 ;
32542 wxBitmap
*arg2
= 0 ;
32543 wxColour
*arg3
= 0 ;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 PyObject
* obj2
= 0 ;
32553 char * kwnames
[] = {
32554 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32559 if (!SWIG_IsOK(res1
)) {
32560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32562 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32564 if (!SWIG_IsOK(res2
)) {
32565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32570 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32573 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= SWIG_From_int(static_cast< int >(result
));
32588 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
= 0;
32590 wxImageList
*arg1
= (wxImageList
*) 0 ;
32597 PyObject
* obj0
= 0 ;
32598 PyObject
* obj1
= 0 ;
32599 char * kwnames
[] = {
32600 (char *) "self",(char *) "icon", NULL
32603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32605 if (!SWIG_IsOK(res1
)) {
32606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32608 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32610 if (!SWIG_IsOK(res2
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32616 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32620 wxPyEndAllowThreads(__tstate
);
32621 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= SWIG_From_int(static_cast< int >(result
));
32630 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32631 PyObject
*resultobj
= 0;
32632 wxImageList
*arg1
= (wxImageList
*) 0 ;
32634 SwigValueWrapper
<wxBitmap
> result
;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 char * kwnames
[] = {
32642 (char *) "self",(char *) "index", NULL
32645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32647 if (!SWIG_IsOK(res1
)) {
32648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32650 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32652 if (!SWIG_IsOK(ecode2
)) {
32653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32655 arg2
= static_cast< int >(val2
);
32657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32658 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32659 wxPyEndAllowThreads(__tstate
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32669 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
= 0;
32671 wxImageList
*arg1
= (wxImageList
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "index", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32689 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32691 if (!SWIG_IsOK(ecode2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32694 arg2
= static_cast< int >(val2
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32708 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxImageList
*arg1
= (wxImageList
*) 0 ;
32712 wxBitmap
*arg3
= 0 ;
32713 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32714 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32724 PyObject
* obj0
= 0 ;
32725 PyObject
* obj1
= 0 ;
32726 PyObject
* obj2
= 0 ;
32727 PyObject
* obj3
= 0 ;
32728 char * kwnames
[] = {
32729 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32734 if (!SWIG_IsOK(res1
)) {
32735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32737 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32739 if (!SWIG_IsOK(ecode2
)) {
32740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32742 arg2
= static_cast< int >(val2
);
32743 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32744 if (!SWIG_IsOK(res3
)) {
32745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32750 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32752 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32753 if (!SWIG_IsOK(res4
)) {
32754 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32759 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32776 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32777 PyObject
*resultobj
= 0;
32778 wxImageList
*arg1
= (wxImageList
*) 0 ;
32783 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32784 bool arg7
= (bool) (bool)false ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 PyObject
* obj2
= 0 ;
32803 PyObject
* obj3
= 0 ;
32804 PyObject
* obj4
= 0 ;
32805 PyObject
* obj5
= 0 ;
32806 PyObject
* obj6
= 0 ;
32807 char * kwnames
[] = {
32808 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32816 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32818 if (!SWIG_IsOK(ecode2
)) {
32819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32821 arg2
= static_cast< int >(val2
);
32822 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32823 if (!SWIG_IsOK(res3
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32829 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32831 if (!SWIG_IsOK(ecode4
)) {
32832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32834 arg4
= static_cast< int >(val4
);
32835 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32836 if (!SWIG_IsOK(ecode5
)) {
32837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32839 arg5
= static_cast< int >(val5
);
32841 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32842 if (!SWIG_IsOK(ecode6
)) {
32843 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32845 arg6
= static_cast< int >(val6
);
32848 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32849 if (!SWIG_IsOK(ecode7
)) {
32850 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32852 arg7
= static_cast< bool >(val7
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32869 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32870 PyObject
*resultobj
= 0;
32871 wxImageList
*arg1
= (wxImageList
*) 0 ;
32875 PyObject
*swig_obj
[1] ;
32877 if (!args
) SWIG_fail
;
32878 swig_obj
[0] = args
;
32879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32880 if (!SWIG_IsOK(res1
)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32883 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32886 result
= (int)(arg1
)->GetImageCount();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= SWIG_From_int(static_cast< int >(result
));
32897 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
= 0;
32899 wxImageList
*arg1
= (wxImageList
*) 0 ;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 char * kwnames
[] = {
32909 (char *) "self",(char *) "index", NULL
32912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32917 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32919 if (!SWIG_IsOK(ecode2
)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32922 arg2
= static_cast< int >(val2
);
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (bool)(arg1
)->Remove(arg2
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32938 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32939 PyObject
*resultobj
= 0;
32940 wxImageList
*arg1
= (wxImageList
*) 0 ;
32944 PyObject
*swig_obj
[1] ;
32946 if (!args
) SWIG_fail
;
32947 swig_obj
[0] = args
;
32948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32949 if (!SWIG_IsOK(res1
)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32952 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (bool)(arg1
)->RemoveAll();
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32968 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32969 PyObject
*resultobj
= 0;
32970 wxImageList
*arg1
= (wxImageList
*) 0 ;
32979 int res3
= SWIG_TMPOBJ
;
32981 int res4
= SWIG_TMPOBJ
;
32982 PyObject
* obj0
= 0 ;
32983 PyObject
* obj1
= 0 ;
32984 char * kwnames
[] = {
32985 (char *) "self",(char *) "index", NULL
32990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32995 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32997 if (!SWIG_IsOK(ecode2
)) {
32998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
33000 arg2
= static_cast< int >(val2
);
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_Py_Void();
33008 if (SWIG_IsTmpObj(res3
)) {
33009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
33011 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
33014 if (SWIG_IsTmpObj(res4
)) {
33015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
33017 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
33018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
33026 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33029 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
33030 return SWIG_Py_Void();
33033 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33034 return SWIG_Python_InitShadowInstance(args
);
33037 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 PyObject
*resultobj
= 0;
33039 wxStockGDI
*result
= 0 ;
33041 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 result
= (wxStockGDI
*)new wxStockGDI();
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
33055 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33056 PyObject
*resultobj
= 0;
33057 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
33060 PyObject
*swig_obj
[1] ;
33062 if (!args
) SWIG_fail
;
33063 swig_obj
[0] = args
;
33064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
33065 if (!SWIG_IsOK(res1
)) {
33066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
33068 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
33070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= SWIG_Py_Void();
33083 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33084 PyObject
*resultobj
= 0;
33086 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 wxStockGDI::DeleteAll();
33090 wxPyEndAllowThreads(__tstate
);
33091 if (PyErr_Occurred()) SWIG_fail
;
33093 resultobj
= SWIG_Py_Void();
33100 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 PyObject
*resultobj
= 0;
33102 wxStockGDI
*result
= 0 ;
33104 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxStockGDI
&_result_ref
= wxStockGDI::instance();
33109 result
= (wxStockGDI
*) &_result_ref
;
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
33121 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33122 PyObject
*resultobj
= 0;
33123 wxStockGDI::Item arg1
;
33124 wxBrush
*result
= 0 ;
33127 PyObject
* obj0
= 0 ;
33128 char * kwnames
[] = {
33129 (char *) "item", NULL
33132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
33133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33134 if (!SWIG_IsOK(ecode1
)) {
33135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33137 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33151 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
= 0;
33153 wxStockGDI::Item arg1
;
33154 wxColour
*result
= 0 ;
33157 PyObject
* obj0
= 0 ;
33158 char * kwnames
[] = {
33159 (char *) "item", NULL
33162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
33163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33164 if (!SWIG_IsOK(ecode1
)) {
33165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33167 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33170 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
33171 wxPyEndAllowThreads(__tstate
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33181 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
= 0;
33183 wxStockGDI::Item arg1
;
33184 wxCursor
*result
= 0 ;
33187 PyObject
* obj0
= 0 ;
33188 char * kwnames
[] = {
33189 (char *) "item", NULL
33192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
33193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33194 if (!SWIG_IsOK(ecode1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33197 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33200 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
33211 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
= 0;
33213 wxStockGDI::Item arg1
;
33214 wxPen
*result
= 0 ;
33217 PyObject
* obj0
= 0 ;
33218 char * kwnames
[] = {
33219 (char *) "item", NULL
33222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
33223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33224 if (!SWIG_IsOK(ecode1
)) {
33225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33227 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33241 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
= 0;
33243 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
33244 wxStockGDI::Item arg2
;
33245 wxFont
*result
= 0 ;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 char * kwnames
[] = {
33253 (char *) "self",(char *) "item", NULL
33256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
33258 if (!SWIG_IsOK(res1
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
33261 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
33262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33263 if (!SWIG_IsOK(ecode2
)) {
33264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
33266 arg2
= static_cast< wxStockGDI::Item
>(val2
);
33268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33269 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33280 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33283 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
33284 return SWIG_Py_Void();
33287 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33288 return SWIG_Python_InitShadowInstance(args
);
33291 SWIGINTERN
int NullBitmap_set(PyObject
*) {
33292 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
33297 SWIGINTERN PyObject
*NullBitmap_get(void) {
33298 PyObject
*pyobj
= 0;
33300 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
33305 SWIGINTERN
int NullIcon_set(PyObject
*) {
33306 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
33311 SWIGINTERN PyObject
*NullIcon_get(void) {
33312 PyObject
*pyobj
= 0;
33314 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
33319 SWIGINTERN
int NullCursor_set(PyObject
*) {
33320 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
33325 SWIGINTERN PyObject
*NullCursor_get(void) {
33326 PyObject
*pyobj
= 0;
33328 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
33333 SWIGINTERN
int NullPen_set(PyObject
*) {
33334 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
33339 SWIGINTERN PyObject
*NullPen_get(void) {
33340 PyObject
*pyobj
= 0;
33342 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
33347 SWIGINTERN
int NullBrush_set(PyObject
*) {
33348 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
33353 SWIGINTERN PyObject
*NullBrush_get(void) {
33354 PyObject
*pyobj
= 0;
33356 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
33361 SWIGINTERN
int NullPalette_set(PyObject
*) {
33362 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
33367 SWIGINTERN PyObject
*NullPalette_get(void) {
33368 PyObject
*pyobj
= 0;
33370 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
33375 SWIGINTERN
int NullFont_set(PyObject
*) {
33376 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
33381 SWIGINTERN PyObject
*NullFont_get(void) {
33382 PyObject
*pyobj
= 0;
33384 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
33389 SWIGINTERN
int NullColour_set(PyObject
*) {
33390 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
33395 SWIGINTERN PyObject
*NullColour_get(void) {
33396 PyObject
*pyobj
= 0;
33398 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
33403 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
33404 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
33409 SWIGINTERN PyObject
*NullIconBundle_get(void) {
33410 PyObject
*pyobj
= 0;
33412 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
33417 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33418 PyObject
*resultobj
= 0;
33419 wxGDIObjListBase
*result
= 0 ;
33421 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
33435 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33436 PyObject
*resultobj
= 0;
33437 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
33440 PyObject
*swig_obj
[1] ;
33442 if (!args
) SWIG_fail
;
33443 swig_obj
[0] = args
;
33444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
33445 if (!SWIG_IsOK(res1
)) {
33446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
33448 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 resultobj
= SWIG_Py_Void();
33463 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33466 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33467 return SWIG_Py_Void();
33470 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33471 return SWIG_Python_InitShadowInstance(args
);
33474 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33475 PyObject
*resultobj
= 0;
33476 wxPenList
*arg1
= (wxPenList
*) 0 ;
33477 wxColour
*arg2
= 0 ;
33480 wxPen
*result
= 0 ;
33488 PyObject
* obj0
= 0 ;
33489 PyObject
* obj1
= 0 ;
33490 PyObject
* obj2
= 0 ;
33491 PyObject
* obj3
= 0 ;
33492 char * kwnames
[] = {
33493 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33501 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33504 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33507 if (!SWIG_IsOK(ecode3
)) {
33508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33510 arg3
= static_cast< int >(val3
);
33511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33512 if (!SWIG_IsOK(ecode4
)) {
33513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33515 arg4
= static_cast< int >(val4
);
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33519 wxPyEndAllowThreads(__tstate
);
33520 if (PyErr_Occurred()) SWIG_fail
;
33522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33529 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33532 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33533 return SWIG_Py_Void();
33536 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33537 PyObject
*resultobj
= 0;
33538 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33539 wxColour
*arg2
= 0 ;
33540 int arg3
= (int) wxSOLID
;
33541 wxBrush
*result
= 0 ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "colour",(char *) "style", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33559 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33566 if (!SWIG_IsOK(ecode3
)) {
33567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33569 arg3
= static_cast< int >(val3
);
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33574 wxPyEndAllowThreads(__tstate
);
33575 if (PyErr_Occurred()) SWIG_fail
;
33577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33584 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33587 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33588 return SWIG_Py_Void();
33591 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33592 PyObject
*resultobj
= 0;
33593 wxFontList
*arg1
= (wxFontList
*) 0 ;
33598 bool arg6
= (bool) false ;
33599 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33601 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33602 wxFont
*result
= 0 ;
33615 bool temp7
= false ;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 PyObject
* obj2
= 0 ;
33621 PyObject
* obj3
= 0 ;
33622 PyObject
* obj4
= 0 ;
33623 PyObject
* obj5
= 0 ;
33624 PyObject
* obj6
= 0 ;
33625 PyObject
* obj7
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33635 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33637 if (!SWIG_IsOK(ecode2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33640 arg2
= static_cast< int >(val2
);
33641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33642 if (!SWIG_IsOK(ecode3
)) {
33643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33645 arg3
= static_cast< int >(val3
);
33646 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33647 if (!SWIG_IsOK(ecode4
)) {
33648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33650 arg4
= static_cast< int >(val4
);
33651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33652 if (!SWIG_IsOK(ecode5
)) {
33653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33655 arg5
= static_cast< int >(val5
);
33657 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33658 if (!SWIG_IsOK(ecode6
)) {
33659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33661 arg6
= static_cast< bool >(val6
);
33665 arg7
= wxString_in_helper(obj6
);
33666 if (arg7
== NULL
) SWIG_fail
;
33671 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33672 if (!SWIG_IsOK(ecode8
)) {
33673 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33675 arg8
= static_cast< wxFontEncoding
>(val8
);
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33698 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33701 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33702 return SWIG_Py_Void();
33705 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33706 PyObject
*resultobj
= 0;
33707 wxColourDatabase
*result
= 0 ;
33709 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33711 if (!wxPyCheckForApp()) SWIG_fail
;
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= (wxColourDatabase
*)new wxColourDatabase();
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33724 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33725 PyObject
*resultobj
= 0;
33726 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33729 PyObject
*swig_obj
[1] ;
33731 if (!args
) SWIG_fail
;
33732 swig_obj
[0] = args
;
33733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33734 if (!SWIG_IsOK(res1
)) {
33735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33737 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33745 resultobj
= SWIG_Py_Void();
33752 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
= 0;
33754 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33755 wxString
*arg2
= 0 ;
33759 bool temp2
= false ;
33760 PyObject
* obj0
= 0 ;
33761 PyObject
* obj1
= 0 ;
33762 char * kwnames
[] = {
33763 (char *) "self",(char *) "name", NULL
33766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33771 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33773 arg2
= wxString_in_helper(obj1
);
33774 if (arg2
== NULL
) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33798 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33799 PyObject
*resultobj
= 0;
33800 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33801 wxColour
*arg2
= 0 ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 char * kwnames
[] = {
33809 (char *) "self",(char *) "colour", NULL
33812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33814 if (!SWIG_IsOK(res1
)) {
33815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33817 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33841 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
= 0;
33843 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33844 wxString
*arg2
= 0 ;
33845 wxColour
*arg3
= 0 ;
33848 bool temp2
= false ;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 PyObject
* obj2
= 0 ;
33853 char * kwnames
[] = {
33854 (char *) "self",(char *) "name",(char *) "colour", NULL
33857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33859 if (!SWIG_IsOK(res1
)) {
33860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33862 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33864 arg2
= wxString_in_helper(obj1
);
33865 if (arg2
== NULL
) SWIG_fail
;
33870 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= SWIG_Py_Void();
33893 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
= 0;
33895 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33896 wxString
*arg2
= 0 ;
33902 bool temp2
= false ;
33909 PyObject
* obj0
= 0 ;
33910 PyObject
* obj1
= 0 ;
33911 PyObject
* obj2
= 0 ;
33912 PyObject
* obj3
= 0 ;
33913 PyObject
* obj4
= 0 ;
33914 char * kwnames
[] = {
33915 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33920 if (!SWIG_IsOK(res1
)) {
33921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33923 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33925 arg2
= wxString_in_helper(obj1
);
33926 if (arg2
== NULL
) SWIG_fail
;
33929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33930 if (!SWIG_IsOK(ecode3
)) {
33931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33933 arg3
= static_cast< int >(val3
);
33934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33935 if (!SWIG_IsOK(ecode4
)) {
33936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33938 arg4
= static_cast< int >(val4
);
33939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33940 if (!SWIG_IsOK(ecode5
)) {
33941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33943 arg5
= static_cast< int >(val5
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_Py_Void();
33965 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33968 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33969 return SWIG_Py_Void();
33972 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 return SWIG_Python_InitShadowInstance(args
);
33976 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33977 PyObject
*resultobj
= 0;
33978 wxFontList
*result
= 0 ;
33980 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33983 result
= (wxFontList
*)_wxPyInitTheFontList();
33984 wxPyEndAllowThreads(__tstate
);
33985 if (PyErr_Occurred()) SWIG_fail
;
33987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33994 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxPenList
*result
= 0 ;
33998 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
34000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34001 result
= (wxPenList
*)_wxPyInitThePenList();
34002 wxPyEndAllowThreads(__tstate
);
34003 if (PyErr_Occurred()) SWIG_fail
;
34005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
34012 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34013 PyObject
*resultobj
= 0;
34014 wxBrushList
*result
= 0 ;
34016 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
34018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34019 result
= (wxBrushList
*)_wxPyInitTheBrushList();
34020 wxPyEndAllowThreads(__tstate
);
34021 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
34030 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34031 PyObject
*resultobj
= 0;
34032 wxColourDatabase
*result
= 0 ;
34034 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
34036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34037 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
34038 wxPyEndAllowThreads(__tstate
);
34039 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
34048 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34049 PyObject
*resultobj
= 0;
34050 wxEffects
*result
= 0 ;
34052 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
34054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34055 result
= (wxEffects
*)new wxEffects();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
34066 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34067 PyObject
*resultobj
= 0;
34068 wxEffects
*arg1
= (wxEffects
*) 0 ;
34072 PyObject
*swig_obj
[1] ;
34074 if (!args
) SWIG_fail
;
34075 swig_obj
[0] = args
;
34076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
34080 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34094 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34095 PyObject
*resultobj
= 0;
34096 wxEffects
*arg1
= (wxEffects
*) 0 ;
34100 PyObject
*swig_obj
[1] ;
34102 if (!args
) SWIG_fail
;
34103 swig_obj
[0] = args
;
34104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34105 if (!SWIG_IsOK(res1
)) {
34106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34108 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34122 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34123 PyObject
*resultobj
= 0;
34124 wxEffects
*arg1
= (wxEffects
*) 0 ;
34128 PyObject
*swig_obj
[1] ;
34130 if (!args
) SWIG_fail
;
34131 swig_obj
[0] = args
;
34132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
34136 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34143 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34150 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34151 PyObject
*resultobj
= 0;
34152 wxEffects
*arg1
= (wxEffects
*) 0 ;
34156 PyObject
*swig_obj
[1] ;
34158 if (!args
) SWIG_fail
;
34159 swig_obj
[0] = args
;
34160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34161 if (!SWIG_IsOK(res1
)) {
34162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34164 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34178 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxEffects
*arg1
= (wxEffects
*) 0 ;
34184 PyObject
*swig_obj
[1] ;
34186 if (!args
) SWIG_fail
;
34187 swig_obj
[0] = args
;
34188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34189 if (!SWIG_IsOK(res1
)) {
34190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34192 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34195 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34206 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
= 0;
34208 wxEffects
*arg1
= (wxEffects
*) 0 ;
34209 wxColour
*arg2
= 0 ;
34213 PyObject
* obj0
= 0 ;
34214 PyObject
* obj1
= 0 ;
34215 char * kwnames
[] = {
34216 (char *) "self",(char *) "c", NULL
34219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34221 if (!SWIG_IsOK(res1
)) {
34222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34224 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34227 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_Py_Void();
34242 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
= 0;
34244 wxEffects
*arg1
= (wxEffects
*) 0 ;
34245 wxColour
*arg2
= 0 ;
34249 PyObject
* obj0
= 0 ;
34250 PyObject
* obj1
= 0 ;
34251 char * kwnames
[] = {
34252 (char *) "self",(char *) "c", NULL
34255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34257 if (!SWIG_IsOK(res1
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34260 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34263 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34267 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34268 wxPyEndAllowThreads(__tstate
);
34269 if (PyErr_Occurred()) SWIG_fail
;
34271 resultobj
= SWIG_Py_Void();
34278 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34279 PyObject
*resultobj
= 0;
34280 wxEffects
*arg1
= (wxEffects
*) 0 ;
34281 wxColour
*arg2
= 0 ;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 char * kwnames
[] = {
34288 (char *) "self",(char *) "c", NULL
34291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34296 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34303 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34307 resultobj
= SWIG_Py_Void();
34314 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34315 PyObject
*resultobj
= 0;
34316 wxEffects
*arg1
= (wxEffects
*) 0 ;
34317 wxColour
*arg2
= 0 ;
34321 PyObject
* obj0
= 0 ;
34322 PyObject
* obj1
= 0 ;
34323 char * kwnames
[] = {
34324 (char *) "self",(char *) "c", NULL
34327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34329 if (!SWIG_IsOK(res1
)) {
34330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34332 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34340 wxPyEndAllowThreads(__tstate
);
34341 if (PyErr_Occurred()) SWIG_fail
;
34343 resultobj
= SWIG_Py_Void();
34350 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
= 0;
34352 wxEffects
*arg1
= (wxEffects
*) 0 ;
34353 wxColour
*arg2
= 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "c", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34368 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34371 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 resultobj
= SWIG_Py_Void();
34386 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
= 0;
34388 wxEffects
*arg1
= (wxEffects
*) 0 ;
34389 wxColour
*arg2
= 0 ;
34390 wxColour
*arg3
= 0 ;
34391 wxColour
*arg4
= 0 ;
34392 wxColour
*arg5
= 0 ;
34393 wxColour
*arg6
= 0 ;
34401 PyObject
* obj0
= 0 ;
34402 PyObject
* obj1
= 0 ;
34403 PyObject
* obj2
= 0 ;
34404 PyObject
* obj3
= 0 ;
34405 PyObject
* obj4
= 0 ;
34406 PyObject
* obj5
= 0 ;
34407 char * kwnames
[] = {
34408 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34413 if (!SWIG_IsOK(res1
)) {
34414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34416 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34423 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34427 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34431 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34435 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34439 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 resultobj
= SWIG_Py_Void();
34450 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
= 0;
34452 wxEffects
*arg1
= (wxEffects
*) 0 ;
34455 int arg4
= (int) 1 ;
34463 PyObject
* obj0
= 0 ;
34464 PyObject
* obj1
= 0 ;
34465 PyObject
* obj2
= 0 ;
34466 PyObject
* obj3
= 0 ;
34467 char * kwnames
[] = {
34468 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34473 if (!SWIG_IsOK(res1
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34476 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34478 if (!SWIG_IsOK(res2
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34484 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34487 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34491 if (!SWIG_IsOK(ecode4
)) {
34492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34494 arg4
= static_cast< int >(val4
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
= 0;
34511 wxEffects
*arg1
= (wxEffects
*) 0 ;
34514 wxBitmap
*arg4
= 0 ;
34523 PyObject
* obj0
= 0 ;
34524 PyObject
* obj1
= 0 ;
34525 PyObject
* obj2
= 0 ;
34526 PyObject
* obj3
= 0 ;
34527 char * kwnames
[] = {
34528 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34533 if (!SWIG_IsOK(res1
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34536 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34541 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34542 if (!SWIG_IsOK(res3
)) {
34543 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34548 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34549 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34550 if (!SWIG_IsOK(res4
)) {
34551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34556 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34572 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34575 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34576 return SWIG_Py_Void();
34579 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34580 return SWIG_Python_InitShadowInstance(args
);
34583 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
= 0;
34588 wxSplitterRenderParams
*result
= 0 ;
34595 PyObject
* obj0
= 0 ;
34596 PyObject
* obj1
= 0 ;
34597 PyObject
* obj2
= 0 ;
34598 char * kwnames
[] = {
34599 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34603 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34604 if (!SWIG_IsOK(ecode1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34607 arg1
= static_cast< int >(val1
);
34608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34609 if (!SWIG_IsOK(ecode2
)) {
34610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34612 arg2
= static_cast< int >(val2
);
34613 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34614 if (!SWIG_IsOK(ecode3
)) {
34615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34617 arg3
= static_cast< bool >(val3
);
34619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34620 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34631 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34632 PyObject
*resultobj
= 0;
34633 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34636 PyObject
*swig_obj
[1] ;
34638 if (!args
) SWIG_fail
;
34639 swig_obj
[0] = args
;
34640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34641 if (!SWIG_IsOK(res1
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34644 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34649 wxPyEndAllowThreads(__tstate
);
34650 if (PyErr_Occurred()) SWIG_fail
;
34652 resultobj
= SWIG_Py_Void();
34659 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34660 PyObject
*resultobj
= 0;
34661 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34665 PyObject
*swig_obj
[1] ;
34667 if (!args
) SWIG_fail
;
34668 swig_obj
[0] = args
;
34669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34670 if (!SWIG_IsOK(res1
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34673 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34674 result
= (int)(int) ((arg1
)->widthSash
);
34675 resultobj
= SWIG_From_int(static_cast< int >(result
));
34682 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34683 PyObject
*resultobj
= 0;
34684 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34688 PyObject
*swig_obj
[1] ;
34690 if (!args
) SWIG_fail
;
34691 swig_obj
[0] = args
;
34692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34693 if (!SWIG_IsOK(res1
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34696 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34697 result
= (int)(int) ((arg1
)->border
);
34698 resultobj
= SWIG_From_int(static_cast< int >(result
));
34705 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34706 PyObject
*resultobj
= 0;
34707 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34711 PyObject
*swig_obj
[1] ;
34713 if (!args
) SWIG_fail
;
34714 swig_obj
[0] = args
;
34715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34716 if (!SWIG_IsOK(res1
)) {
34717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34719 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34720 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34721 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34728 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34731 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34732 return SWIG_Py_Void();
34735 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34736 return SWIG_Python_InitShadowInstance(args
);
34739 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34740 PyObject
*resultobj
= 0;
34741 wxHeaderButtonParams
*result
= 0 ;
34743 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34747 wxPyEndAllowThreads(__tstate
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34757 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34758 PyObject
*resultobj
= 0;
34759 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34762 PyObject
*swig_obj
[1] ;
34764 if (!args
) SWIG_fail
;
34765 swig_obj
[0] = args
;
34766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34767 if (!SWIG_IsOK(res1
)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34770 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= SWIG_Py_Void();
34785 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34786 PyObject
*resultobj
= 0;
34787 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34788 wxColour
*arg2
= (wxColour
*) 0 ;
34792 PyObject
*swig_obj
[2] ;
34794 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34799 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34802 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34804 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34806 resultobj
= SWIG_Py_Void();
34813 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34814 PyObject
*resultobj
= 0;
34815 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34816 wxColour
*result
= 0 ;
34819 PyObject
*swig_obj
[1] ;
34821 if (!args
) SWIG_fail
;
34822 swig_obj
[0] = args
;
34823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34827 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34828 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34836 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34837 PyObject
*resultobj
= 0;
34838 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34839 wxColour
*arg2
= (wxColour
*) 0 ;
34843 PyObject
*swig_obj
[2] ;
34845 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34850 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34853 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34855 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34857 resultobj
= SWIG_Py_Void();
34864 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34865 PyObject
*resultobj
= 0;
34866 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34867 wxColour
*result
= 0 ;
34870 PyObject
*swig_obj
[1] ;
34872 if (!args
) SWIG_fail
;
34873 swig_obj
[0] = args
;
34874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34875 if (!SWIG_IsOK(res1
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34878 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34879 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34887 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34888 PyObject
*resultobj
= 0;
34889 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34890 wxString
*arg2
= (wxString
*) 0 ;
34893 bool temp2
= false ;
34894 PyObject
*swig_obj
[2] ;
34896 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34898 if (!SWIG_IsOK(res1
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34901 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34903 arg2
= wxString_in_helper(swig_obj
[1]);
34904 if (arg2
== NULL
) SWIG_fail
;
34907 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34909 resultobj
= SWIG_Py_Void();
34924 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34925 PyObject
*resultobj
= 0;
34926 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34927 wxString
*result
= 0 ;
34930 PyObject
*swig_obj
[1] ;
34932 if (!args
) SWIG_fail
;
34933 swig_obj
[0] = args
;
34934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34938 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34939 result
= (wxString
*)& ((arg1
)->m_labelText
);
34942 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34944 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34953 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34954 PyObject
*resultobj
= 0;
34955 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34956 wxFont
*arg2
= (wxFont
*) 0 ;
34961 PyObject
*swig_obj
[2] ;
34963 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34968 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34969 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34970 if (!SWIG_IsOK(res2
)) {
34971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34973 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34974 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34976 resultobj
= SWIG_Py_Void();
34983 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34984 PyObject
*resultobj
= 0;
34985 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34986 wxFont
*result
= 0 ;
34989 PyObject
*swig_obj
[1] ;
34991 if (!args
) SWIG_fail
;
34992 swig_obj
[0] = args
;
34993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34994 if (!SWIG_IsOK(res1
)) {
34995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34997 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34998 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
35006 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35007 PyObject
*resultobj
= 0;
35008 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35009 wxColour
*arg2
= (wxColour
*) 0 ;
35013 PyObject
*swig_obj
[2] ;
35015 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
35016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35017 if (!SWIG_IsOK(res1
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35020 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35023 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
35025 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
35027 resultobj
= SWIG_Py_Void();
35034 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35035 PyObject
*resultobj
= 0;
35036 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35037 wxColour
*result
= 0 ;
35040 PyObject
*swig_obj
[1] ;
35042 if (!args
) SWIG_fail
;
35043 swig_obj
[0] = args
;
35044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35045 if (!SWIG_IsOK(res1
)) {
35046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35048 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35049 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
35050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
35057 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35058 PyObject
*resultobj
= 0;
35059 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35060 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
35065 PyObject
*swig_obj
[2] ;
35067 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
35068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35069 if (!SWIG_IsOK(res1
)) {
35070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35072 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35073 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
35074 if (!SWIG_IsOK(res2
)) {
35075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
35077 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
35078 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
35080 resultobj
= SWIG_Py_Void();
35087 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35088 PyObject
*resultobj
= 0;
35089 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35090 wxBitmap
*result
= 0 ;
35093 PyObject
*swig_obj
[1] ;
35095 if (!args
) SWIG_fail
;
35096 swig_obj
[0] = args
;
35097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35098 if (!SWIG_IsOK(res1
)) {
35099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35101 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35102 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
35103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
35110 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35111 PyObject
*resultobj
= 0;
35112 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35118 PyObject
*swig_obj
[2] ;
35120 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
35121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35122 if (!SWIG_IsOK(res1
)) {
35123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35125 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35126 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35127 if (!SWIG_IsOK(ecode2
)) {
35128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
35130 arg2
= static_cast< int >(val2
);
35131 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
35133 resultobj
= SWIG_Py_Void();
35140 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35141 PyObject
*resultobj
= 0;
35142 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
35146 PyObject
*swig_obj
[1] ;
35148 if (!args
) SWIG_fail
;
35149 swig_obj
[0] = args
;
35150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35151 if (!SWIG_IsOK(res1
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
35154 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
35155 result
= (int) ((arg1
)->m_labelAlignment
);
35156 resultobj
= SWIG_From_int(static_cast< int >(result
));
35163 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35166 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
35167 return SWIG_Py_Void();
35170 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35171 return SWIG_Python_InitShadowInstance(args
);
35174 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= 0;
35178 wxRendererVersion
*result
= 0 ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "version_",(char *) "age_", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35191 if (!SWIG_IsOK(ecode1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
35194 arg1
= static_cast< int >(val1
);
35195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35196 if (!SWIG_IsOK(ecode2
)) {
35197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
35199 arg2
= static_cast< int >(val2
);
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
35213 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35214 PyObject
*resultobj
= 0;
35215 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35218 PyObject
*swig_obj
[1] ;
35220 if (!args
) SWIG_fail
;
35221 swig_obj
[0] = args
;
35222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
35223 if (!SWIG_IsOK(res1
)) {
35224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35226 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35234 resultobj
= SWIG_Py_Void();
35241 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35242 PyObject
*resultobj
= 0;
35243 wxRendererVersion
*arg1
= 0 ;
35247 PyObject
* obj0
= 0 ;
35248 char * kwnames
[] = {
35249 (char *) "ver", NULL
35252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35253 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35254 if (!SWIG_IsOK(res1
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35260 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35276 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35277 PyObject
*resultobj
= 0;
35278 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35282 PyObject
*swig_obj
[1] ;
35284 if (!args
) SWIG_fail
;
35285 swig_obj
[0] = args
;
35286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35287 if (!SWIG_IsOK(res1
)) {
35288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35290 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35291 result
= (int)(int) ((arg1
)->version
);
35292 resultobj
= SWIG_From_int(static_cast< int >(result
));
35299 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35300 PyObject
*resultobj
= 0;
35301 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35305 PyObject
*swig_obj
[1] ;
35307 if (!args
) SWIG_fail
;
35308 swig_obj
[0] = args
;
35309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35310 if (!SWIG_IsOK(res1
)) {
35311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35313 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35314 result
= (int)(int) ((arg1
)->age
);
35315 resultobj
= SWIG_From_int(static_cast< int >(result
));
35322 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35325 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35326 return SWIG_Py_Void();
35329 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35330 return SWIG_Python_InitShadowInstance(args
);
35333 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35334 PyObject
*resultobj
= 0;
35335 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35336 wxWindow
*arg2
= (wxWindow
*) 0 ;
35339 int arg5
= (int) 0 ;
35340 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35341 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35356 PyObject
* obj0
= 0 ;
35357 PyObject
* obj1
= 0 ;
35358 PyObject
* obj2
= 0 ;
35359 PyObject
* obj3
= 0 ;
35360 PyObject
* obj4
= 0 ;
35361 PyObject
* obj5
= 0 ;
35362 PyObject
* obj6
= 0 ;
35363 char * kwnames
[] = {
35364 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35369 if (!SWIG_IsOK(res1
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35372 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35374 if (!SWIG_IsOK(res2
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35378 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35379 if (!SWIG_IsOK(res3
)) {
35380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35385 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35388 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35392 if (!SWIG_IsOK(ecode5
)) {
35393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35395 arg5
= static_cast< int >(val5
);
35398 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35399 if (!SWIG_IsOK(ecode6
)) {
35400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35402 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35405 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35406 if (!SWIG_IsOK(res7
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35409 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35414 wxPyEndAllowThreads(__tstate
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 resultobj
= SWIG_From_int(static_cast< int >(result
));
35424 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35425 PyObject
*resultobj
= 0;
35426 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35427 wxWindow
*arg2
= (wxWindow
*) 0 ;
35430 int arg5
= (int) 0 ;
35431 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35432 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35447 PyObject
* obj0
= 0 ;
35448 PyObject
* obj1
= 0 ;
35449 PyObject
* obj2
= 0 ;
35450 PyObject
* obj3
= 0 ;
35451 PyObject
* obj4
= 0 ;
35452 PyObject
* obj5
= 0 ;
35453 PyObject
* obj6
= 0 ;
35454 char * kwnames
[] = {
35455 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35460 if (!SWIG_IsOK(res1
)) {
35461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35463 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35465 if (!SWIG_IsOK(res2
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35468 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35469 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35470 if (!SWIG_IsOK(res3
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35476 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35479 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35483 if (!SWIG_IsOK(ecode5
)) {
35484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35486 arg5
= static_cast< int >(val5
);
35489 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35490 if (!SWIG_IsOK(ecode6
)) {
35491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35493 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35496 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35497 if (!SWIG_IsOK(res7
)) {
35498 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35500 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_From_int(static_cast< int >(result
));
35515 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
= 0;
35517 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35518 wxWindow
*arg2
= (wxWindow
*) 0 ;
35524 PyObject
* obj0
= 0 ;
35525 PyObject
* obj1
= 0 ;
35526 char * kwnames
[] = {
35527 (char *) "self",(char *) "win", NULL
35530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35535 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35537 if (!SWIG_IsOK(res2
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_From_int(static_cast< int >(result
));
35554 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
= 0;
35556 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35557 wxWindow
*arg2
= (wxWindow
*) 0 ;
35560 int arg5
= (int) 0 ;
35570 PyObject
* obj0
= 0 ;
35571 PyObject
* obj1
= 0 ;
35572 PyObject
* obj2
= 0 ;
35573 PyObject
* obj3
= 0 ;
35574 PyObject
* obj4
= 0 ;
35575 char * kwnames
[] = {
35576 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35581 if (!SWIG_IsOK(res1
)) {
35582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35584 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35586 if (!SWIG_IsOK(res2
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35589 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35590 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35591 if (!SWIG_IsOK(res3
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35597 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35600 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35603 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35604 if (!SWIG_IsOK(ecode5
)) {
35605 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35607 arg5
= static_cast< int >(val5
);
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35615 resultobj
= SWIG_Py_Void();
35622 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
= 0;
35624 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35625 wxWindow
*arg2
= (wxWindow
*) 0 ;
35628 int arg5
= (int) 0 ;
35638 PyObject
* obj0
= 0 ;
35639 PyObject
* obj1
= 0 ;
35640 PyObject
* obj2
= 0 ;
35641 PyObject
* obj3
= 0 ;
35642 PyObject
* obj4
= 0 ;
35643 char * kwnames
[] = {
35644 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35649 if (!SWIG_IsOK(res1
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35652 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35654 if (!SWIG_IsOK(res2
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35657 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35658 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35659 if (!SWIG_IsOK(res3
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35665 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35668 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35671 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35672 if (!SWIG_IsOK(ecode5
)) {
35673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35675 arg5
= static_cast< int >(val5
);
35678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35679 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35680 wxPyEndAllowThreads(__tstate
);
35681 if (PyErr_Occurred()) SWIG_fail
;
35683 resultobj
= SWIG_Py_Void();
35690 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35691 PyObject
*resultobj
= 0;
35692 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35693 wxWindow
*arg2
= (wxWindow
*) 0 ;
35697 wxOrientation arg6
;
35698 int arg7
= (int) 0 ;
35712 PyObject
* obj0
= 0 ;
35713 PyObject
* obj1
= 0 ;
35714 PyObject
* obj2
= 0 ;
35715 PyObject
* obj3
= 0 ;
35716 PyObject
* obj4
= 0 ;
35717 PyObject
* obj5
= 0 ;
35718 PyObject
* obj6
= 0 ;
35719 char * kwnames
[] = {
35720 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35728 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35730 if (!SWIG_IsOK(res2
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35735 if (!SWIG_IsOK(res3
)) {
35736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35741 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35744 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35746 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35747 if (!SWIG_IsOK(ecode5
)) {
35748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35750 arg5
= static_cast< int >(val5
);
35751 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35752 if (!SWIG_IsOK(ecode6
)) {
35753 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35755 arg6
= static_cast< wxOrientation
>(val6
);
35757 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35758 if (!SWIG_IsOK(ecode7
)) {
35759 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35761 arg7
= static_cast< int >(val7
);
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= SWIG_Py_Void();
35776 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35777 PyObject
*resultobj
= 0;
35778 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35779 wxWindow
*arg2
= (wxWindow
*) 0 ;
35782 int arg5
= (int) 0 ;
35792 PyObject
* obj0
= 0 ;
35793 PyObject
* obj1
= 0 ;
35794 PyObject
* obj2
= 0 ;
35795 PyObject
* obj3
= 0 ;
35796 PyObject
* obj4
= 0 ;
35797 char * kwnames
[] = {
35798 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35803 if (!SWIG_IsOK(res1
)) {
35804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35806 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35808 if (!SWIG_IsOK(res2
)) {
35809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35812 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35813 if (!SWIG_IsOK(res3
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35819 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35822 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35826 if (!SWIG_IsOK(ecode5
)) {
35827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35829 arg5
= static_cast< int >(val5
);
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 resultobj
= SWIG_Py_Void();
35844 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
= 0;
35846 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35847 wxWindow
*arg2
= (wxWindow
*) 0 ;
35850 int arg5
= (int) 0 ;
35860 PyObject
* obj0
= 0 ;
35861 PyObject
* obj1
= 0 ;
35862 PyObject
* obj2
= 0 ;
35863 PyObject
* obj3
= 0 ;
35864 PyObject
* obj4
= 0 ;
35865 char * kwnames
[] = {
35866 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35871 if (!SWIG_IsOK(res1
)) {
35872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35874 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35876 if (!SWIG_IsOK(res2
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35879 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35881 if (!SWIG_IsOK(res3
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35887 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35890 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35893 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35894 if (!SWIG_IsOK(ecode5
)) {
35895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35897 arg5
= static_cast< int >(val5
);
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35905 resultobj
= SWIG_Py_Void();
35912 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35913 PyObject
*resultobj
= 0;
35914 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35915 wxWindow
*arg2
= (wxWindow
*) 0 ;
35918 int arg5
= (int) 0 ;
35928 PyObject
* obj0
= 0 ;
35929 PyObject
* obj1
= 0 ;
35930 PyObject
* obj2
= 0 ;
35931 PyObject
* obj3
= 0 ;
35932 PyObject
* obj4
= 0 ;
35933 char * kwnames
[] = {
35934 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35939 if (!SWIG_IsOK(res1
)) {
35940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35942 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35944 if (!SWIG_IsOK(res2
)) {
35945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35947 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35948 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35949 if (!SWIG_IsOK(res3
)) {
35950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35955 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35958 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35961 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35962 if (!SWIG_IsOK(ecode5
)) {
35963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35965 arg5
= static_cast< int >(val5
);
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35973 resultobj
= SWIG_Py_Void();
35980 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35981 PyObject
*resultobj
= 0;
35982 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35983 wxWindow
*arg2
= (wxWindow
*) 0 ;
35986 int arg5
= (int) 0 ;
35996 PyObject
* obj0
= 0 ;
35997 PyObject
* obj1
= 0 ;
35998 PyObject
* obj2
= 0 ;
35999 PyObject
* obj3
= 0 ;
36000 PyObject
* obj4
= 0 ;
36001 char * kwnames
[] = {
36002 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
36005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36007 if (!SWIG_IsOK(res1
)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36010 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36011 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36012 if (!SWIG_IsOK(res2
)) {
36013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
36015 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36016 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
36017 if (!SWIG_IsOK(res3
)) {
36018 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
36021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
36023 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36026 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
36029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36030 if (!SWIG_IsOK(ecode5
)) {
36031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
36033 arg5
= static_cast< int >(val5
);
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= SWIG_Py_Void();
36048 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
= 0;
36050 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36051 wxWindow
*arg2
= (wxWindow
*) 0 ;
36054 int arg5
= (int) 0 ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 PyObject
* obj2
= 0 ;
36067 PyObject
* obj3
= 0 ;
36068 PyObject
* obj4
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36078 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36080 if (!SWIG_IsOK(res2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
36083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36084 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
36085 if (!SWIG_IsOK(res3
)) {
36086 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
36089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
36091 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36094 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
36097 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36098 if (!SWIG_IsOK(ecode5
)) {
36099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
36101 arg5
= static_cast< int >(val5
);
36104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36105 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_Py_Void();
36116 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36117 PyObject
*resultobj
= 0;
36118 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36119 wxWindow
*arg2
= (wxWindow
*) 0 ;
36120 SwigValueWrapper
<wxSplitterRenderParams
> result
;
36125 PyObject
* obj0
= 0 ;
36126 PyObject
* obj1
= 0 ;
36127 char * kwnames
[] = {
36128 (char *) "self",(char *) "win", NULL
36131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36133 if (!SWIG_IsOK(res1
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36136 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36138 if (!SWIG_IsOK(res2
)) {
36139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
36141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
36155 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36156 PyObject
*resultobj
= 0;
36157 wxRendererNative
*result
= 0 ;
36159 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
36161 if (!wxPyCheckForApp()) SWIG_fail
;
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36164 wxRendererNative
&_result_ref
= wxRendererNative::Get();
36165 result
= (wxRendererNative
*) &_result_ref
;
36167 wxPyEndAllowThreads(__tstate
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36177 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36178 PyObject
*resultobj
= 0;
36179 wxRendererNative
*result
= 0 ;
36181 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
36183 if (!wxPyCheckForApp()) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36186 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
36187 result
= (wxRendererNative
*) &_result_ref
;
36189 wxPyEndAllowThreads(__tstate
);
36190 if (PyErr_Occurred()) SWIG_fail
;
36192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36199 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36200 PyObject
*resultobj
= 0;
36201 wxRendererNative
*result
= 0 ;
36203 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
36205 if (!wxPyCheckForApp()) SWIG_fail
;
36206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36208 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
36209 result
= (wxRendererNative
*) &_result_ref
;
36211 wxPyEndAllowThreads(__tstate
);
36212 if (PyErr_Occurred()) SWIG_fail
;
36214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36221 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36222 PyObject
*resultobj
= 0;
36223 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36224 wxRendererNative
*result
= 0 ;
36227 PyObject
* obj0
= 0 ;
36228 char * kwnames
[] = {
36229 (char *) "renderer", NULL
36232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
36233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36237 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36239 if (!wxPyCheckForApp()) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36252 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36253 PyObject
*resultobj
= 0;
36254 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36255 SwigValueWrapper
<wxRendererVersion
> result
;
36258 PyObject
*swig_obj
[1] ;
36260 if (!args
) SWIG_fail
;
36261 swig_obj
[0] = args
;
36262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36263 if (!SWIG_IsOK(res1
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36266 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36269 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36270 wxPyEndAllowThreads(__tstate
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36273 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36280 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36283 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36284 return SWIG_Py_Void();
36287 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36288 PyObject
*resultobj
= 0;
36289 wxPseudoDC
*result
= 0 ;
36291 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (wxPseudoDC
*)new wxPseudoDC();
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36305 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36306 PyObject
*resultobj
= 0;
36307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36310 PyObject
*swig_obj
[1] ;
36312 if (!args
) SWIG_fail
;
36313 swig_obj
[0] = args
;
36314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36315 if (!SWIG_IsOK(res1
)) {
36316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36321 (arg1
)->BeginDrawing();
36322 wxPyEndAllowThreads(__tstate
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_Py_Void();
36332 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36333 PyObject
*resultobj
= 0;
36334 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 PyObject
*swig_obj
[1] ;
36339 if (!args
) SWIG_fail
;
36340 swig_obj
[0] = args
;
36341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36348 (arg1
)->EndDrawing();
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36352 resultobj
= SWIG_Py_Void();
36359 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36360 PyObject
*resultobj
= 0;
36361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36364 PyObject
*swig_obj
[1] ;
36366 if (!args
) SWIG_fail
;
36367 swig_obj
[0] = args
;
36368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36369 if (!SWIG_IsOK(res1
)) {
36370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 wxPyEndAllowThreads(__tstate
);
36378 if (PyErr_Occurred()) SWIG_fail
;
36380 resultobj
= SWIG_Py_Void();
36387 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36388 PyObject
*resultobj
= 0;
36389 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36392 PyObject
*swig_obj
[1] ;
36394 if (!args
) SWIG_fail
;
36395 swig_obj
[0] = args
;
36396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 (arg1
)->RemoveAll();
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= SWIG_Py_Void();
36414 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36415 PyObject
*resultobj
= 0;
36416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36420 PyObject
*swig_obj
[1] ;
36422 if (!args
) SWIG_fail
;
36423 swig_obj
[0] = args
;
36424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36425 if (!SWIG_IsOK(res1
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36431 result
= (int)(arg1
)->GetLen();
36432 wxPyEndAllowThreads(__tstate
);
36433 if (PyErr_Occurred()) SWIG_fail
;
36435 resultobj
= SWIG_From_int(static_cast< int >(result
));
36442 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36443 PyObject
*resultobj
= 0;
36444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36450 PyObject
* obj0
= 0 ;
36451 PyObject
* obj1
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "self",(char *) "id", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36458 if (!SWIG_IsOK(res1
)) {
36459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36463 if (!SWIG_IsOK(ecode2
)) {
36464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36466 arg2
= static_cast< int >(val2
);
36468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36469 (arg1
)->SetId(arg2
);
36470 wxPyEndAllowThreads(__tstate
);
36471 if (PyErr_Occurred()) SWIG_fail
;
36473 resultobj
= SWIG_Py_Void();
36480 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36481 PyObject
*resultobj
= 0;
36482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36488 PyObject
* obj0
= 0 ;
36489 PyObject
* obj1
= 0 ;
36490 char * kwnames
[] = {
36491 (char *) "self",(char *) "id", NULL
36494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36496 if (!SWIG_IsOK(res1
)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36501 if (!SWIG_IsOK(ecode2
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36504 arg2
= static_cast< int >(val2
);
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 (arg1
)->ClearId(arg2
);
36508 wxPyEndAllowThreads(__tstate
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36511 resultobj
= SWIG_Py_Void();
36518 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36519 PyObject
*resultobj
= 0;
36520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 PyObject
* obj0
= 0 ;
36527 PyObject
* obj1
= 0 ;
36528 char * kwnames
[] = {
36529 (char *) "self",(char *) "id", NULL
36532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36534 if (!SWIG_IsOK(res1
)) {
36535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36539 if (!SWIG_IsOK(ecode2
)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36542 arg2
= static_cast< int >(val2
);
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 (arg1
)->RemoveId(arg2
);
36546 wxPyEndAllowThreads(__tstate
);
36547 if (PyErr_Occurred()) SWIG_fail
;
36549 resultobj
= SWIG_Py_Void();
36556 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36557 PyObject
*resultobj
= 0;
36558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36570 PyObject
* obj0
= 0 ;
36571 PyObject
* obj1
= 0 ;
36572 PyObject
* obj2
= 0 ;
36573 PyObject
* obj3
= 0 ;
36574 char * kwnames
[] = {
36575 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36580 if (!SWIG_IsOK(res1
)) {
36581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36585 if (!SWIG_IsOK(ecode2
)) {
36586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36588 arg2
= static_cast< int >(val2
);
36589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36590 if (!SWIG_IsOK(ecode3
)) {
36591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36593 arg3
= static_cast< int >(val3
);
36594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36595 if (!SWIG_IsOK(ecode4
)) {
36596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36598 arg4
= static_cast< int >(val4
);
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36602 wxPyEndAllowThreads(__tstate
);
36603 if (PyErr_Occurred()) SWIG_fail
;
36605 resultobj
= SWIG_Py_Void();
36612 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36613 PyObject
*resultobj
= 0;
36614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36616 bool arg3
= (bool) true ;
36623 PyObject
* obj0
= 0 ;
36624 PyObject
* obj1
= 0 ;
36625 PyObject
* obj2
= 0 ;
36626 char * kwnames
[] = {
36627 (char *) "self",(char *) "id",(char *) "greyout", NULL
36630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36632 if (!SWIG_IsOK(res1
)) {
36633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36635 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36637 if (!SWIG_IsOK(ecode2
)) {
36638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36640 arg2
= static_cast< int >(val2
);
36642 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36643 if (!SWIG_IsOK(ecode3
)) {
36644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36646 arg3
= static_cast< bool >(val3
);
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36651 wxPyEndAllowThreads(__tstate
);
36652 if (PyErr_Occurred()) SWIG_fail
;
36654 resultobj
= SWIG_Py_Void();
36661 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36662 PyObject
*resultobj
= 0;
36663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 PyObject
* obj1
= 0 ;
36672 char * kwnames
[] = {
36673 (char *) "self",(char *) "id", NULL
36676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36678 if (!SWIG_IsOK(res1
)) {
36679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36681 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36683 if (!SWIG_IsOK(ecode2
)) {
36684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36686 arg2
= static_cast< int >(val2
);
36688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36689 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36702 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36703 PyObject
*resultobj
= 0;
36704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36707 int arg4
= (int) 1 ;
36708 wxColour
const &arg5_defvalue
= *wxWHITE
;
36709 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
36710 PyObject
*result
= 0 ;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 PyObject
* obj2
= 0 ;
36723 PyObject
* obj3
= 0 ;
36724 PyObject
* obj4
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36736 if (!SWIG_IsOK(ecode2
)) {
36737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36739 arg2
= static_cast< int >(val2
);
36740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36741 if (!SWIG_IsOK(ecode3
)) {
36742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36744 arg3
= static_cast< int >(val3
);
36746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36747 if (!SWIG_IsOK(ecode4
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36750 arg4
= static_cast< int >(val4
);
36755 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36759 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36760 if (PyErr_Occurred()) SWIG_fail
;
36762 resultobj
= result
;
36769 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36770 PyObject
*resultobj
= 0;
36771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36774 PyObject
*result
= 0 ;
36781 PyObject
* obj0
= 0 ;
36782 PyObject
* obj1
= 0 ;
36783 PyObject
* obj2
= 0 ;
36784 char * kwnames
[] = {
36785 (char *) "self",(char *) "x",(char *) "y", NULL
36788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36790 if (!SWIG_IsOK(res1
)) {
36791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36795 if (!SWIG_IsOK(ecode2
)) {
36796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36798 arg2
= static_cast< int >(val2
);
36799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36800 if (!SWIG_IsOK(ecode3
)) {
36801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36803 arg3
= static_cast< int >(val3
);
36805 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= result
;
36815 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36816 PyObject
*resultobj
= 0;
36817 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36819 wxDC
*arg3
= (wxDC
*) 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 PyObject
* obj2
= 0 ;
36829 char * kwnames
[] = {
36830 (char *) "self",(char *) "id",(char *) "dc", NULL
36833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36835 if (!SWIG_IsOK(res1
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36840 if (!SWIG_IsOK(ecode2
)) {
36841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36843 arg2
= static_cast< int >(val2
);
36844 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36845 if (!SWIG_IsOK(res3
)) {
36846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36848 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 (arg1
)->DrawIdToDC(arg2
,arg3
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
= 0;
36864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 PyObject
* obj2
= 0 ;
36875 char * kwnames
[] = {
36876 (char *) "self",(char *) "id",(char *) "rect", NULL
36879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36881 if (!SWIG_IsOK(res1
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36886 if (!SWIG_IsOK(ecode2
)) {
36887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36889 arg2
= static_cast< int >(val2
);
36892 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SetIdBounds(arg2
,*arg3
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_Py_Void();
36907 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36908 PyObject
*resultobj
= 0;
36909 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36916 PyObject
* obj0
= 0 ;
36917 PyObject
* obj1
= 0 ;
36918 char * kwnames
[] = {
36919 (char *) "self",(char *) "id", NULL
36922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36924 if (!SWIG_IsOK(res1
)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36929 if (!SWIG_IsOK(ecode2
)) {
36930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36932 arg2
= static_cast< int >(val2
);
36934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36935 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36939 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36946 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36947 PyObject
*resultobj
= 0;
36948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36949 wxDC
*arg2
= (wxDC
*) 0 ;
36956 PyObject
* obj0
= 0 ;
36957 PyObject
* obj1
= 0 ;
36958 PyObject
* obj2
= 0 ;
36959 char * kwnames
[] = {
36960 (char *) "self",(char *) "dc",(char *) "rect", NULL
36963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36965 if (!SWIG_IsOK(res1
)) {
36966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36970 if (!SWIG_IsOK(res2
)) {
36971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36973 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36976 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36980 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36981 wxPyEndAllowThreads(__tstate
);
36982 if (PyErr_Occurred()) SWIG_fail
;
36984 resultobj
= SWIG_Py_Void();
36991 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36992 PyObject
*resultobj
= 0;
36993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36994 wxDC
*arg2
= (wxDC
*) 0 ;
36995 wxRegion
*arg3
= 0 ;
37002 PyObject
* obj0
= 0 ;
37003 PyObject
* obj1
= 0 ;
37004 PyObject
* obj2
= 0 ;
37005 char * kwnames
[] = {
37006 (char *) "self",(char *) "dc",(char *) "region", NULL
37009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37011 if (!SWIG_IsOK(res1
)) {
37012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37016 if (!SWIG_IsOK(res2
)) {
37017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
37019 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37020 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
37021 if (!SWIG_IsOK(res3
)) {
37022 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
37025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
37027 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
37029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37030 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
37031 wxPyEndAllowThreads(__tstate
);
37032 if (PyErr_Occurred()) SWIG_fail
;
37034 resultobj
= SWIG_Py_Void();
37041 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37042 PyObject
*resultobj
= 0;
37043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37044 wxDC
*arg2
= (wxDC
*) 0 ;
37049 PyObject
* obj0
= 0 ;
37050 PyObject
* obj1
= 0 ;
37051 char * kwnames
[] = {
37052 (char *) "self",(char *) "dc", NULL
37055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37057 if (!SWIG_IsOK(res1
)) {
37058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37060 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37062 if (!SWIG_IsOK(res2
)) {
37063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
37065 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->DrawToDC(arg2
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37084 wxColour
*arg4
= 0 ;
37085 int arg5
= (int) wxFLOOD_SURFACE
;
37095 PyObject
* obj0
= 0 ;
37096 PyObject
* obj1
= 0 ;
37097 PyObject
* obj2
= 0 ;
37098 PyObject
* obj3
= 0 ;
37099 PyObject
* obj4
= 0 ;
37100 char * kwnames
[] = {
37101 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
37104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37106 if (!SWIG_IsOK(res1
)) {
37107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37111 if (!SWIG_IsOK(ecode2
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
37114 arg2
= static_cast< int >(val2
);
37115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37116 if (!SWIG_IsOK(ecode3
)) {
37117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
37119 arg3
= static_cast< int >(val3
);
37122 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
37125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37126 if (!SWIG_IsOK(ecode5
)) {
37127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
37129 arg5
= static_cast< int >(val5
);
37132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37133 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_Py_Void();
37144 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
= 0;
37146 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37147 wxPoint
*arg2
= 0 ;
37148 wxColour
*arg3
= 0 ;
37149 int arg4
= (int) wxFLOOD_SURFACE
;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 PyObject
* obj2
= 0 ;
37159 PyObject
* obj3
= 0 ;
37160 char * kwnames
[] = {
37161 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
37164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37166 if (!SWIG_IsOK(res1
)) {
37167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37169 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37172 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37176 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
37179 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37180 if (!SWIG_IsOK(ecode4
)) {
37181 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
37183 arg4
= static_cast< int >(val4
);
37186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37187 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
37188 wxPyEndAllowThreads(__tstate
);
37189 if (PyErr_Occurred()) SWIG_fail
;
37191 resultobj
= SWIG_Py_Void();
37198 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
= 0;
37200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37215 PyObject
* obj0
= 0 ;
37216 PyObject
* obj1
= 0 ;
37217 PyObject
* obj2
= 0 ;
37218 PyObject
* obj3
= 0 ;
37219 PyObject
* obj4
= 0 ;
37220 char * kwnames
[] = {
37221 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
37224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37226 if (!SWIG_IsOK(res1
)) {
37227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37231 if (!SWIG_IsOK(ecode2
)) {
37232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37234 arg2
= static_cast< int >(val2
);
37235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37236 if (!SWIG_IsOK(ecode3
)) {
37237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37239 arg3
= static_cast< int >(val3
);
37240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37241 if (!SWIG_IsOK(ecode4
)) {
37242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37244 arg4
= static_cast< int >(val4
);
37245 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37246 if (!SWIG_IsOK(ecode5
)) {
37247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37249 arg5
= static_cast< int >(val5
);
37251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37252 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 resultobj
= SWIG_Py_Void();
37263 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
= 0;
37265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37266 wxPoint
*arg2
= 0 ;
37267 wxPoint
*arg3
= 0 ;
37272 PyObject
* obj0
= 0 ;
37273 PyObject
* obj1
= 0 ;
37274 PyObject
* obj2
= 0 ;
37275 char * kwnames
[] = {
37276 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37281 if (!SWIG_IsOK(res1
)) {
37282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37284 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37287 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37295 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= SWIG_Py_Void();
37306 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37307 PyObject
*resultobj
= 0;
37308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37317 PyObject
* obj0
= 0 ;
37318 PyObject
* obj1
= 0 ;
37319 PyObject
* obj2
= 0 ;
37320 char * kwnames
[] = {
37321 (char *) "self",(char *) "x",(char *) "y", NULL
37324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37326 if (!SWIG_IsOK(res1
)) {
37327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37331 if (!SWIG_IsOK(ecode2
)) {
37332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37334 arg2
= static_cast< int >(val2
);
37335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37336 if (!SWIG_IsOK(ecode3
)) {
37337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37339 arg3
= static_cast< int >(val3
);
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 (arg1
)->CrossHair(arg2
,arg3
);
37343 wxPyEndAllowThreads(__tstate
);
37344 if (PyErr_Occurred()) SWIG_fail
;
37346 resultobj
= SWIG_Py_Void();
37353 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37354 PyObject
*resultobj
= 0;
37355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37356 wxPoint
*arg2
= 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37362 char * kwnames
[] = {
37363 (char *) "self",(char *) "pt", NULL
37366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37368 if (!SWIG_IsOK(res1
)) {
37369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37378 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37379 wxPyEndAllowThreads(__tstate
);
37380 if (PyErr_Occurred()) SWIG_fail
;
37382 resultobj
= SWIG_Py_Void();
37389 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37390 PyObject
*resultobj
= 0;
37391 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37412 PyObject
* obj0
= 0 ;
37413 PyObject
* obj1
= 0 ;
37414 PyObject
* obj2
= 0 ;
37415 PyObject
* obj3
= 0 ;
37416 PyObject
* obj4
= 0 ;
37417 PyObject
* obj5
= 0 ;
37418 PyObject
* obj6
= 0 ;
37419 char * kwnames
[] = {
37420 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37425 if (!SWIG_IsOK(res1
)) {
37426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37428 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37430 if (!SWIG_IsOK(ecode2
)) {
37431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37433 arg2
= static_cast< int >(val2
);
37434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37435 if (!SWIG_IsOK(ecode3
)) {
37436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37438 arg3
= static_cast< int >(val3
);
37439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37440 if (!SWIG_IsOK(ecode4
)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37443 arg4
= static_cast< int >(val4
);
37444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37445 if (!SWIG_IsOK(ecode5
)) {
37446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37448 arg5
= static_cast< int >(val5
);
37449 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37450 if (!SWIG_IsOK(ecode6
)) {
37451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37453 arg6
= static_cast< int >(val6
);
37454 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37455 if (!SWIG_IsOK(ecode7
)) {
37456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37458 arg7
= static_cast< int >(val7
);
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37461 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37462 wxPyEndAllowThreads(__tstate
);
37463 if (PyErr_Occurred()) SWIG_fail
;
37465 resultobj
= SWIG_Py_Void();
37472 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37473 PyObject
*resultobj
= 0;
37474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37475 wxPoint
*arg2
= 0 ;
37476 wxPoint
*arg3
= 0 ;
37477 wxPoint
*arg4
= 0 ;
37483 PyObject
* obj0
= 0 ;
37484 PyObject
* obj1
= 0 ;
37485 PyObject
* obj2
= 0 ;
37486 PyObject
* obj3
= 0 ;
37487 char * kwnames
[] = {
37488 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37493 if (!SWIG_IsOK(res1
)) {
37494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37511 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37512 wxPyEndAllowThreads(__tstate
);
37513 if (PyErr_Occurred()) SWIG_fail
;
37515 resultobj
= SWIG_Py_Void();
37522 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37523 PyObject
*resultobj
= 0;
37524 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37539 PyObject
* obj0
= 0 ;
37540 PyObject
* obj1
= 0 ;
37541 PyObject
* obj2
= 0 ;
37542 PyObject
* obj3
= 0 ;
37543 PyObject
* obj4
= 0 ;
37544 char * kwnames
[] = {
37545 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37550 if (!SWIG_IsOK(res1
)) {
37551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37553 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37555 if (!SWIG_IsOK(ecode2
)) {
37556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37558 arg2
= static_cast< int >(val2
);
37559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37560 if (!SWIG_IsOK(ecode3
)) {
37561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37563 arg3
= static_cast< int >(val3
);
37564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37565 if (!SWIG_IsOK(ecode4
)) {
37566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37568 arg4
= static_cast< int >(val4
);
37569 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37570 if (!SWIG_IsOK(ecode5
)) {
37571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37573 arg5
= static_cast< int >(val5
);
37575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37576 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37577 wxPyEndAllowThreads(__tstate
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 resultobj
= SWIG_Py_Void();
37587 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37588 PyObject
*resultobj
= 0;
37589 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 char * kwnames
[] = {
37597 (char *) "self",(char *) "rect", NULL
37600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37602 if (!SWIG_IsOK(res1
)) {
37603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37605 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37608 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= SWIG_Py_Void();
37623 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37624 PyObject
*resultobj
= 0;
37625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37646 PyObject
* obj0
= 0 ;
37647 PyObject
* obj1
= 0 ;
37648 PyObject
* obj2
= 0 ;
37649 PyObject
* obj3
= 0 ;
37650 PyObject
* obj4
= 0 ;
37651 PyObject
* obj5
= 0 ;
37652 PyObject
* obj6
= 0 ;
37653 char * kwnames
[] = {
37654 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37659 if (!SWIG_IsOK(res1
)) {
37660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37662 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37664 if (!SWIG_IsOK(ecode2
)) {
37665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37667 arg2
= static_cast< int >(val2
);
37668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37669 if (!SWIG_IsOK(ecode3
)) {
37670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37672 arg3
= static_cast< int >(val3
);
37673 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37674 if (!SWIG_IsOK(ecode4
)) {
37675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37677 arg4
= static_cast< int >(val4
);
37678 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37679 if (!SWIG_IsOK(ecode5
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37682 arg5
= static_cast< int >(val5
);
37683 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37684 if (!SWIG_IsOK(ecode6
)) {
37685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37687 arg6
= static_cast< double >(val6
);
37688 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37689 if (!SWIG_IsOK(ecode7
)) {
37690 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37692 arg7
= static_cast< double >(val7
);
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37696 wxPyEndAllowThreads(__tstate
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= SWIG_Py_Void();
37706 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37707 PyObject
*resultobj
= 0;
37708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37709 wxPoint
*arg2
= 0 ;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 PyObject
* obj3
= 0 ;
37725 PyObject
* obj4
= 0 ;
37726 char * kwnames
[] = {
37727 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37732 if (!SWIG_IsOK(res1
)) {
37733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37742 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37744 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37745 if (!SWIG_IsOK(ecode4
)) {
37746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37748 arg4
= static_cast< double >(val4
);
37749 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37750 if (!SWIG_IsOK(ecode5
)) {
37751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37753 arg5
= static_cast< double >(val5
);
37755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37756 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37757 wxPyEndAllowThreads(__tstate
);
37758 if (PyErr_Occurred()) SWIG_fail
;
37760 resultobj
= SWIG_Py_Void();
37767 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
= 0;
37769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 PyObject
* obj2
= 0 ;
37781 char * kwnames
[] = {
37782 (char *) "self",(char *) "x",(char *) "y", NULL
37785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37787 if (!SWIG_IsOK(res1
)) {
37788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37790 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37792 if (!SWIG_IsOK(ecode2
)) {
37793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37795 arg2
= static_cast< int >(val2
);
37796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37797 if (!SWIG_IsOK(ecode3
)) {
37798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37800 arg3
= static_cast< int >(val3
);
37802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37803 (arg1
)->DrawPoint(arg2
,arg3
);
37804 wxPyEndAllowThreads(__tstate
);
37805 if (PyErr_Occurred()) SWIG_fail
;
37807 resultobj
= SWIG_Py_Void();
37814 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37815 PyObject
*resultobj
= 0;
37816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37817 wxPoint
*arg2
= 0 ;
37821 PyObject
* obj0
= 0 ;
37822 PyObject
* obj1
= 0 ;
37823 char * kwnames
[] = {
37824 (char *) "self",(char *) "pt", NULL
37827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37829 if (!SWIG_IsOK(res1
)) {
37830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37839 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37843 resultobj
= SWIG_Py_Void();
37850 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37851 PyObject
*resultobj
= 0;
37852 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37867 PyObject
* obj0
= 0 ;
37868 PyObject
* obj1
= 0 ;
37869 PyObject
* obj2
= 0 ;
37870 PyObject
* obj3
= 0 ;
37871 PyObject
* obj4
= 0 ;
37872 char * kwnames
[] = {
37873 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37878 if (!SWIG_IsOK(res1
)) {
37879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37883 if (!SWIG_IsOK(ecode2
)) {
37884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37886 arg2
= static_cast< int >(val2
);
37887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37888 if (!SWIG_IsOK(ecode3
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37891 arg3
= static_cast< int >(val3
);
37892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37893 if (!SWIG_IsOK(ecode4
)) {
37894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37896 arg4
= static_cast< int >(val4
);
37897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37898 if (!SWIG_IsOK(ecode5
)) {
37899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37901 arg5
= static_cast< int >(val5
);
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= SWIG_Py_Void();
37915 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37916 PyObject
*resultobj
= 0;
37917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37922 PyObject
* obj0
= 0 ;
37923 PyObject
* obj1
= 0 ;
37924 char * kwnames
[] = {
37925 (char *) "self",(char *) "rect", NULL
37928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37930 if (!SWIG_IsOK(res1
)) {
37931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37940 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37941 wxPyEndAllowThreads(__tstate
);
37942 if (PyErr_Occurred()) SWIG_fail
;
37944 resultobj
= SWIG_Py_Void();
37951 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37952 PyObject
*resultobj
= 0;
37953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37954 wxPoint
*arg2
= 0 ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 PyObject
* obj2
= 0 ;
37963 char * kwnames
[] = {
37964 (char *) "self",(char *) "pt",(char *) "sz", NULL
37967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37969 if (!SWIG_IsOK(res1
)) {
37970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37979 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 resultobj
= SWIG_Py_Void();
37994 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
= 0;
37996 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38014 PyObject
* obj0
= 0 ;
38015 PyObject
* obj1
= 0 ;
38016 PyObject
* obj2
= 0 ;
38017 PyObject
* obj3
= 0 ;
38018 PyObject
* obj4
= 0 ;
38019 PyObject
* obj5
= 0 ;
38020 char * kwnames
[] = {
38021 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
38024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38026 if (!SWIG_IsOK(res1
)) {
38027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38029 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38031 if (!SWIG_IsOK(ecode2
)) {
38032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
38034 arg2
= static_cast< int >(val2
);
38035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38036 if (!SWIG_IsOK(ecode3
)) {
38037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
38039 arg3
= static_cast< int >(val3
);
38040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38041 if (!SWIG_IsOK(ecode4
)) {
38042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
38044 arg4
= static_cast< int >(val4
);
38045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38046 if (!SWIG_IsOK(ecode5
)) {
38047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
38049 arg5
= static_cast< int >(val5
);
38050 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
38051 if (!SWIG_IsOK(ecode6
)) {
38052 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
38054 arg6
= static_cast< double >(val6
);
38056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
38058 wxPyEndAllowThreads(__tstate
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38061 resultobj
= SWIG_Py_Void();
38068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38069 PyObject
*resultobj
= 0;
38070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38078 PyObject
* obj0
= 0 ;
38079 PyObject
* obj1
= 0 ;
38080 PyObject
* obj2
= 0 ;
38081 char * kwnames
[] = {
38082 (char *) "self",(char *) "r",(char *) "radius", NULL
38085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38087 if (!SWIG_IsOK(res1
)) {
38088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38090 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
38096 if (!SWIG_IsOK(ecode3
)) {
38097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
38099 arg3
= static_cast< double >(val3
);
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
38103 wxPyEndAllowThreads(__tstate
);
38104 if (PyErr_Occurred()) SWIG_fail
;
38106 resultobj
= SWIG_Py_Void();
38113 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38114 PyObject
*resultobj
= 0;
38115 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38116 wxPoint
*arg2
= 0 ;
38125 PyObject
* obj0
= 0 ;
38126 PyObject
* obj1
= 0 ;
38127 PyObject
* obj2
= 0 ;
38128 PyObject
* obj3
= 0 ;
38129 char * kwnames
[] = {
38130 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
38133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38135 if (!SWIG_IsOK(res1
)) {
38136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38141 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38145 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38147 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38148 if (!SWIG_IsOK(ecode4
)) {
38149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
38151 arg4
= static_cast< double >(val4
);
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_Py_Void();
38165 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
= 0;
38167 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 PyObject
* obj2
= 0 ;
38182 PyObject
* obj3
= 0 ;
38183 char * kwnames
[] = {
38184 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
38187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38189 if (!SWIG_IsOK(res1
)) {
38190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38194 if (!SWIG_IsOK(ecode2
)) {
38195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
38197 arg2
= static_cast< int >(val2
);
38198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38199 if (!SWIG_IsOK(ecode3
)) {
38200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
38202 arg3
= static_cast< int >(val3
);
38203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38204 if (!SWIG_IsOK(ecode4
)) {
38205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
38207 arg4
= static_cast< int >(val4
);
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= SWIG_Py_Void();
38221 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
= 0;
38223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38224 wxPoint
*arg2
= 0 ;
38231 PyObject
* obj0
= 0 ;
38232 PyObject
* obj1
= 0 ;
38233 PyObject
* obj2
= 0 ;
38234 char * kwnames
[] = {
38235 (char *) "self",(char *) "pt",(char *) "radius", NULL
38238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38240 if (!SWIG_IsOK(res1
)) {
38241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38249 if (!SWIG_IsOK(ecode3
)) {
38250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38252 arg3
= static_cast< int >(val3
);
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38259 resultobj
= SWIG_Py_Void();
38266 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38267 PyObject
*resultobj
= 0;
38268 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38283 PyObject
* obj0
= 0 ;
38284 PyObject
* obj1
= 0 ;
38285 PyObject
* obj2
= 0 ;
38286 PyObject
* obj3
= 0 ;
38287 PyObject
* obj4
= 0 ;
38288 char * kwnames
[] = {
38289 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38294 if (!SWIG_IsOK(res1
)) {
38295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38299 if (!SWIG_IsOK(ecode2
)) {
38300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38302 arg2
= static_cast< int >(val2
);
38303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38304 if (!SWIG_IsOK(ecode3
)) {
38305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38307 arg3
= static_cast< int >(val3
);
38308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38309 if (!SWIG_IsOK(ecode4
)) {
38310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38312 arg4
= static_cast< int >(val4
);
38313 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38314 if (!SWIG_IsOK(ecode5
)) {
38315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38317 arg5
= static_cast< int >(val5
);
38319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38320 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= SWIG_Py_Void();
38331 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38332 PyObject
*resultobj
= 0;
38333 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38338 PyObject
* obj0
= 0 ;
38339 PyObject
* obj1
= 0 ;
38340 char * kwnames
[] = {
38341 (char *) "self",(char *) "rect", NULL
38344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38346 if (!SWIG_IsOK(res1
)) {
38347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38356 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 resultobj
= SWIG_Py_Void();
38367 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38368 PyObject
*resultobj
= 0;
38369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38370 wxPoint
*arg2
= 0 ;
38376 PyObject
* obj0
= 0 ;
38377 PyObject
* obj1
= 0 ;
38378 PyObject
* obj2
= 0 ;
38379 char * kwnames
[] = {
38380 (char *) "self",(char *) "pt",(char *) "sz", NULL
38383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38391 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38395 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38400 wxPyEndAllowThreads(__tstate
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38403 resultobj
= SWIG_Py_Void();
38410 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38411 PyObject
*resultobj
= 0;
38412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38424 PyObject
* obj0
= 0 ;
38425 PyObject
* obj1
= 0 ;
38426 PyObject
* obj2
= 0 ;
38427 PyObject
* obj3
= 0 ;
38428 char * kwnames
[] = {
38429 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38434 if (!SWIG_IsOK(res1
)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38439 if (!SWIG_IsOK(res2
)) {
38440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38445 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38447 if (!SWIG_IsOK(ecode3
)) {
38448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38450 arg3
= static_cast< int >(val3
);
38451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38452 if (!SWIG_IsOK(ecode4
)) {
38453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38455 arg4
= static_cast< int >(val4
);
38457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38458 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38459 wxPyEndAllowThreads(__tstate
);
38460 if (PyErr_Occurred()) SWIG_fail
;
38462 resultobj
= SWIG_Py_Void();
38469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38470 PyObject
*resultobj
= 0;
38471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38473 wxPoint
*arg3
= 0 ;
38479 PyObject
* obj0
= 0 ;
38480 PyObject
* obj1
= 0 ;
38481 PyObject
* obj2
= 0 ;
38482 char * kwnames
[] = {
38483 (char *) "self",(char *) "icon",(char *) "pt", NULL
38486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38488 if (!SWIG_IsOK(res1
)) {
38489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38493 if (!SWIG_IsOK(res2
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38499 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38506 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38507 wxPyEndAllowThreads(__tstate
);
38508 if (PyErr_Occurred()) SWIG_fail
;
38510 resultobj
= SWIG_Py_Void();
38517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38518 PyObject
*resultobj
= 0;
38519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38520 wxBitmap
*arg2
= 0 ;
38523 bool arg5
= (bool) false ;
38534 PyObject
* obj0
= 0 ;
38535 PyObject
* obj1
= 0 ;
38536 PyObject
* obj2
= 0 ;
38537 PyObject
* obj3
= 0 ;
38538 PyObject
* obj4
= 0 ;
38539 char * kwnames
[] = {
38540 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38545 if (!SWIG_IsOK(res1
)) {
38546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38550 if (!SWIG_IsOK(res2
)) {
38551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38556 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38558 if (!SWIG_IsOK(ecode3
)) {
38559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38561 arg3
= static_cast< int >(val3
);
38562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38563 if (!SWIG_IsOK(ecode4
)) {
38564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38566 arg4
= static_cast< int >(val4
);
38568 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38569 if (!SWIG_IsOK(ecode5
)) {
38570 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38572 arg5
= static_cast< bool >(val5
);
38575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38576 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38577 wxPyEndAllowThreads(__tstate
);
38578 if (PyErr_Occurred()) SWIG_fail
;
38580 resultobj
= SWIG_Py_Void();
38587 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38588 PyObject
*resultobj
= 0;
38589 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38590 wxBitmap
*arg2
= 0 ;
38591 wxPoint
*arg3
= 0 ;
38592 bool arg4
= (bool) false ;
38600 PyObject
* obj0
= 0 ;
38601 PyObject
* obj1
= 0 ;
38602 PyObject
* obj2
= 0 ;
38603 PyObject
* obj3
= 0 ;
38604 char * kwnames
[] = {
38605 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38610 if (!SWIG_IsOK(res1
)) {
38611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38613 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38615 if (!SWIG_IsOK(res2
)) {
38616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38621 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38627 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38628 if (!SWIG_IsOK(ecode4
)) {
38629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38631 arg4
= static_cast< bool >(val4
);
38634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38635 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38636 wxPyEndAllowThreads(__tstate
);
38637 if (PyErr_Occurred()) SWIG_fail
;
38639 resultobj
= SWIG_Py_Void();
38646 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38647 PyObject
*resultobj
= 0;
38648 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38649 wxString
*arg2
= 0 ;
38654 bool temp2
= false ;
38659 PyObject
* obj0
= 0 ;
38660 PyObject
* obj1
= 0 ;
38661 PyObject
* obj2
= 0 ;
38662 PyObject
* obj3
= 0 ;
38663 char * kwnames
[] = {
38664 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38669 if (!SWIG_IsOK(res1
)) {
38670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38674 arg2
= wxString_in_helper(obj1
);
38675 if (arg2
== NULL
) SWIG_fail
;
38678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38679 if (!SWIG_IsOK(ecode3
)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38682 arg3
= static_cast< int >(val3
);
38683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38684 if (!SWIG_IsOK(ecode4
)) {
38685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38687 arg4
= static_cast< int >(val4
);
38689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38690 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38691 wxPyEndAllowThreads(__tstate
);
38692 if (PyErr_Occurred()) SWIG_fail
;
38694 resultobj
= SWIG_Py_Void();
38709 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38710 PyObject
*resultobj
= 0;
38711 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38712 wxString
*arg2
= 0 ;
38713 wxPoint
*arg3
= 0 ;
38716 bool temp2
= false ;
38718 PyObject
* obj0
= 0 ;
38719 PyObject
* obj1
= 0 ;
38720 PyObject
* obj2
= 0 ;
38721 char * kwnames
[] = {
38722 (char *) "self",(char *) "text",(char *) "pt", NULL
38725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38727 if (!SWIG_IsOK(res1
)) {
38728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38730 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38732 arg2
= wxString_in_helper(obj1
);
38733 if (arg2
== NULL
) SWIG_fail
;
38738 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38743 wxPyEndAllowThreads(__tstate
);
38744 if (PyErr_Occurred()) SWIG_fail
;
38746 resultobj
= SWIG_Py_Void();
38761 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38762 PyObject
*resultobj
= 0;
38763 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38764 wxString
*arg2
= 0 ;
38770 bool temp2
= false ;
38777 PyObject
* obj0
= 0 ;
38778 PyObject
* obj1
= 0 ;
38779 PyObject
* obj2
= 0 ;
38780 PyObject
* obj3
= 0 ;
38781 PyObject
* obj4
= 0 ;
38782 char * kwnames
[] = {
38783 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38788 if (!SWIG_IsOK(res1
)) {
38789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38793 arg2
= wxString_in_helper(obj1
);
38794 if (arg2
== NULL
) SWIG_fail
;
38797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38798 if (!SWIG_IsOK(ecode3
)) {
38799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38801 arg3
= static_cast< int >(val3
);
38802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38803 if (!SWIG_IsOK(ecode4
)) {
38804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38806 arg4
= static_cast< int >(val4
);
38807 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38808 if (!SWIG_IsOK(ecode5
)) {
38809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38811 arg5
= static_cast< double >(val5
);
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38815 wxPyEndAllowThreads(__tstate
);
38816 if (PyErr_Occurred()) SWIG_fail
;
38818 resultobj
= SWIG_Py_Void();
38833 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38834 PyObject
*resultobj
= 0;
38835 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38836 wxString
*arg2
= 0 ;
38837 wxPoint
*arg3
= 0 ;
38841 bool temp2
= false ;
38845 PyObject
* obj0
= 0 ;
38846 PyObject
* obj1
= 0 ;
38847 PyObject
* obj2
= 0 ;
38848 PyObject
* obj3
= 0 ;
38849 char * kwnames
[] = {
38850 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38855 if (!SWIG_IsOK(res1
)) {
38856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38860 arg2
= wxString_in_helper(obj1
);
38861 if (arg2
== NULL
) SWIG_fail
;
38866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38868 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38869 if (!SWIG_IsOK(ecode4
)) {
38870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38872 arg4
= static_cast< double >(val4
);
38874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38875 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38876 wxPyEndAllowThreads(__tstate
);
38877 if (PyErr_Occurred()) SWIG_fail
;
38879 resultobj
= SWIG_Py_Void();
38894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
= 0;
38896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38898 wxPoint
*arg3
= (wxPoint
*) 0 ;
38899 int arg4
= (int) 0 ;
38900 int arg5
= (int) 0 ;
38907 PyObject
* obj0
= 0 ;
38908 PyObject
* obj1
= 0 ;
38909 PyObject
* obj2
= 0 ;
38910 PyObject
* obj3
= 0 ;
38911 char * kwnames
[] = {
38912 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38917 if (!SWIG_IsOK(res1
)) {
38918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38922 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38923 if (arg3
== NULL
) SWIG_fail
;
38926 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38927 if (!SWIG_IsOK(ecode4
)) {
38928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38930 arg4
= static_cast< int >(val4
);
38933 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38934 if (!SWIG_IsOK(ecode5
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38937 arg5
= static_cast< int >(val5
);
38940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38941 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38942 wxPyEndAllowThreads(__tstate
);
38943 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= SWIG_Py_Void();
38947 if (arg3
) delete [] arg3
;
38952 if (arg3
) delete [] arg3
;
38958 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
= 0;
38960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38962 wxPoint
*arg3
= (wxPoint
*) 0 ;
38963 int arg4
= (int) 0 ;
38964 int arg5
= (int) 0 ;
38965 int arg6
= (int) wxODDEVEN_RULE
;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 PyObject
* obj2
= 0 ;
38977 PyObject
* obj3
= 0 ;
38978 PyObject
* obj4
= 0 ;
38979 char * kwnames
[] = {
38980 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38985 if (!SWIG_IsOK(res1
)) {
38986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38988 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38990 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38991 if (arg3
== NULL
) SWIG_fail
;
38994 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38995 if (!SWIG_IsOK(ecode4
)) {
38996 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38998 arg4
= static_cast< int >(val4
);
39001 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
39002 if (!SWIG_IsOK(ecode5
)) {
39003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
39005 arg5
= static_cast< int >(val5
);
39008 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
39009 if (!SWIG_IsOK(ecode6
)) {
39010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
39012 arg6
= static_cast< int >(val6
);
39015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39016 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
39017 wxPyEndAllowThreads(__tstate
);
39018 if (PyErr_Occurred()) SWIG_fail
;
39020 resultobj
= SWIG_Py_Void();
39022 if (arg3
) delete [] arg3
;
39027 if (arg3
) delete [] arg3
;
39033 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39034 PyObject
*resultobj
= 0;
39035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39036 wxString
*arg2
= 0 ;
39038 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
39039 int arg5
= (int) -1 ;
39042 bool temp2
= false ;
39048 PyObject
* obj0
= 0 ;
39049 PyObject
* obj1
= 0 ;
39050 PyObject
* obj2
= 0 ;
39051 PyObject
* obj3
= 0 ;
39052 PyObject
* obj4
= 0 ;
39053 char * kwnames
[] = {
39054 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
39057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39059 if (!SWIG_IsOK(res1
)) {
39060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39062 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39064 arg2
= wxString_in_helper(obj1
);
39065 if (arg2
== NULL
) SWIG_fail
;
39070 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
39073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39074 if (!SWIG_IsOK(ecode4
)) {
39075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
39077 arg4
= static_cast< int >(val4
);
39080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39081 if (!SWIG_IsOK(ecode5
)) {
39082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
39084 arg5
= static_cast< int >(val5
);
39087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39088 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_Py_Void();
39107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39108 PyObject
*resultobj
= 0;
39109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39110 wxString
*arg2
= 0 ;
39111 wxBitmap
*arg3
= 0 ;
39113 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
39114 int arg6
= (int) -1 ;
39117 bool temp2
= false ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 PyObject
* obj2
= 0 ;
39128 PyObject
* obj3
= 0 ;
39129 PyObject
* obj4
= 0 ;
39130 PyObject
* obj5
= 0 ;
39131 char * kwnames
[] = {
39132 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
39135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39137 if (!SWIG_IsOK(res1
)) {
39138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39142 arg2
= wxString_in_helper(obj1
);
39143 if (arg2
== NULL
) SWIG_fail
;
39146 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39147 if (!SWIG_IsOK(res3
)) {
39148 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
39151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
39153 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
39156 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
39159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39160 if (!SWIG_IsOK(ecode5
)) {
39161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
39163 arg5
= static_cast< int >(val5
);
39166 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39167 if (!SWIG_IsOK(ecode6
)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
39170 arg6
= static_cast< int >(val6
);
39173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39174 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
39175 wxPyEndAllowThreads(__tstate
);
39176 if (PyErr_Occurred()) SWIG_fail
;
39178 resultobj
= SWIG_Py_Void();
39193 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39194 PyObject
*resultobj
= 0;
39195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39197 wxPoint
*arg3
= (wxPoint
*) 0 ;
39200 PyObject
* obj0
= 0 ;
39201 PyObject
* obj1
= 0 ;
39202 char * kwnames
[] = {
39203 (char *) "self",(char *) "points", NULL
39206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39208 if (!SWIG_IsOK(res1
)) {
39209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39213 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
39214 if (arg3
== NULL
) SWIG_fail
;
39217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39218 (arg1
)->DrawSpline(arg2
,arg3
);
39219 wxPyEndAllowThreads(__tstate
);
39220 if (PyErr_Occurred()) SWIG_fail
;
39222 resultobj
= SWIG_Py_Void();
39224 if (arg3
) delete [] arg3
;
39229 if (arg3
) delete [] arg3
;
39235 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39236 PyObject
*resultobj
= 0;
39237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39240 PyObject
*swig_obj
[1] ;
39242 if (!args
) SWIG_fail
;
39243 swig_obj
[0] = args
;
39244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39245 if (!SWIG_IsOK(res1
)) {
39246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= SWIG_Py_Void();
39262 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
= 0;
39264 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39270 PyObject
* obj0
= 0 ;
39271 PyObject
* obj1
= 0 ;
39272 char * kwnames
[] = {
39273 (char *) "self",(char *) "font", NULL
39276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39278 if (!SWIG_IsOK(res1
)) {
39279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39283 if (!SWIG_IsOK(res2
)) {
39284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39289 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39292 (arg1
)->SetFont((wxFont
const &)*arg2
);
39293 wxPyEndAllowThreads(__tstate
);
39294 if (PyErr_Occurred()) SWIG_fail
;
39296 resultobj
= SWIG_Py_Void();
39303 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39304 PyObject
*resultobj
= 0;
39305 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39311 PyObject
* obj0
= 0 ;
39312 PyObject
* obj1
= 0 ;
39313 char * kwnames
[] = {
39314 (char *) "self",(char *) "pen", NULL
39317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39319 if (!SWIG_IsOK(res1
)) {
39320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39322 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39324 if (!SWIG_IsOK(res2
)) {
39325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39330 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 (arg1
)->SetPen((wxPen
const &)*arg2
);
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= SWIG_Py_Void();
39344 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39345 PyObject
*resultobj
= 0;
39346 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39347 wxBrush
*arg2
= 0 ;
39352 PyObject
* obj0
= 0 ;
39353 PyObject
* obj1
= 0 ;
39354 char * kwnames
[] = {
39355 (char *) "self",(char *) "brush", NULL
39358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39360 if (!SWIG_IsOK(res1
)) {
39361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39365 if (!SWIG_IsOK(res2
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39371 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39374 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39375 wxPyEndAllowThreads(__tstate
);
39376 if (PyErr_Occurred()) SWIG_fail
;
39378 resultobj
= SWIG_Py_Void();
39385 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39386 PyObject
*resultobj
= 0;
39387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39388 wxBrush
*arg2
= 0 ;
39393 PyObject
* obj0
= 0 ;
39394 PyObject
* obj1
= 0 ;
39395 char * kwnames
[] = {
39396 (char *) "self",(char *) "brush", NULL
39399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39401 if (!SWIG_IsOK(res1
)) {
39402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39406 if (!SWIG_IsOK(res2
)) {
39407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39412 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39416 wxPyEndAllowThreads(__tstate
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= SWIG_Py_Void();
39426 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39427 PyObject
*resultobj
= 0;
39428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39434 PyObject
* obj0
= 0 ;
39435 PyObject
* obj1
= 0 ;
39436 char * kwnames
[] = {
39437 (char *) "self",(char *) "mode", NULL
39440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39442 if (!SWIG_IsOK(res1
)) {
39443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39447 if (!SWIG_IsOK(ecode2
)) {
39448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39450 arg2
= static_cast< int >(val2
);
39452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39453 (arg1
)->SetBackgroundMode(arg2
);
39454 wxPyEndAllowThreads(__tstate
);
39455 if (PyErr_Occurred()) SWIG_fail
;
39457 resultobj
= SWIG_Py_Void();
39464 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
= 0;
39466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39467 wxPalette
*arg2
= 0 ;
39472 PyObject
* obj0
= 0 ;
39473 PyObject
* obj1
= 0 ;
39474 char * kwnames
[] = {
39475 (char *) "self",(char *) "palette", NULL
39478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39480 if (!SWIG_IsOK(res1
)) {
39481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39485 if (!SWIG_IsOK(res2
)) {
39486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39491 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39494 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39495 wxPyEndAllowThreads(__tstate
);
39496 if (PyErr_Occurred()) SWIG_fail
;
39498 resultobj
= SWIG_Py_Void();
39505 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
= 0;
39507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39508 wxColour
*arg2
= 0 ;
39512 PyObject
* obj0
= 0 ;
39513 PyObject
* obj1
= 0 ;
39514 char * kwnames
[] = {
39515 (char *) "self",(char *) "colour", NULL
39518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39520 if (!SWIG_IsOK(res1
)) {
39521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39530 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39531 wxPyEndAllowThreads(__tstate
);
39532 if (PyErr_Occurred()) SWIG_fail
;
39534 resultobj
= SWIG_Py_Void();
39541 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
= 0;
39543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39544 wxColour
*arg2
= 0 ;
39548 PyObject
* obj0
= 0 ;
39549 PyObject
* obj1
= 0 ;
39550 char * kwnames
[] = {
39551 (char *) "self",(char *) "colour", NULL
39554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39556 if (!SWIG_IsOK(res1
)) {
39557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39562 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39566 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39567 wxPyEndAllowThreads(__tstate
);
39568 if (PyErr_Occurred()) SWIG_fail
;
39570 resultobj
= SWIG_Py_Void();
39577 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39578 PyObject
*resultobj
= 0;
39579 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39585 PyObject
* obj0
= 0 ;
39586 PyObject
* obj1
= 0 ;
39587 char * kwnames
[] = {
39588 (char *) "self",(char *) "function", NULL
39591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39593 if (!SWIG_IsOK(res1
)) {
39594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39598 if (!SWIG_IsOK(ecode2
)) {
39599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39601 arg2
= static_cast< int >(val2
);
39603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39604 (arg1
)->SetLogicalFunction(arg2
);
39605 wxPyEndAllowThreads(__tstate
);
39606 if (PyErr_Occurred()) SWIG_fail
;
39608 resultobj
= SWIG_Py_Void();
39615 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39618 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39619 return SWIG_Py_Void();
39622 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39623 return SWIG_Python_InitShadowInstance(args
);
39626 static PyMethodDef SwigMethods
[] = {
39627 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39628 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39629 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39630 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39631 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39632 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39636 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39637 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39638 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39639 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39640 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39641 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39646 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39650 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39651 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39652 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39654 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39657 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39658 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39659 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39660 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39662 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39663 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39664 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39665 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39666 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39667 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39668 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39675 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39677 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39678 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39682 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39683 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39686 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39690 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39691 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39692 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39693 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39694 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39695 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39696 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39698 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39704 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39706 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39707 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39708 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39709 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39710 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39711 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39712 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39718 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39730 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39731 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39735 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39736 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39737 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39738 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39739 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39740 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39741 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39742 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39743 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39744 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39745 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39746 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39747 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39748 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39749 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39751 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39752 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39758 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39759 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39760 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39761 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39762 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39763 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39764 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39765 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39766 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39767 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39768 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39769 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39771 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39772 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39778 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39779 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39780 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39782 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39783 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39784 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39786 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39787 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39792 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39794 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39795 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39796 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39797 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39803 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39804 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39806 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39807 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39809 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39811 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39813 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39814 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39817 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
39818 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
39823 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
39825 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39826 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39827 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39829 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39832 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39834 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39835 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39836 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39837 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39842 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39843 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39848 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39849 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39855 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39859 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39870 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39873 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39874 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39876 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39877 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39878 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39879 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39880 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39881 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39882 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39883 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39884 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39885 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39886 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39887 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39888 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39889 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39890 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39891 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39892 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39894 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39895 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39896 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39897 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39898 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39899 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39900 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39901 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39911 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39912 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39914 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39915 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39916 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39917 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39918 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39919 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39920 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39921 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39922 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39924 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39925 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39926 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39929 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39930 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39931 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39934 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39940 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39945 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39946 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39948 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39954 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39957 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39958 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39959 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39960 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39961 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39962 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39963 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39964 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39965 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39966 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39967 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39968 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39969 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39981 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39982 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39983 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39985 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39986 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39988 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39989 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39990 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39991 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39995 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39996 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
40000 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
40001 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
40002 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
40003 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
40004 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
40005 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
40006 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
40008 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
40011 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
40012 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
40013 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
40014 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
40015 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
40016 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
40017 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
40018 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
40028 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
40029 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
40030 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
40032 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
40036 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
40037 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
40038 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
40039 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
40040 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
40041 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
40047 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
40048 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
40049 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
40101 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
40103 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
40104 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
40105 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
40112 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
40113 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
40114 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
40115 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
40116 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
40121 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
40122 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
40123 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
40124 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
40133 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
40134 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
40135 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
40136 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
40137 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
40138 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
40139 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
40140 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
40141 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
40142 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
40143 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
40144 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
40147 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
40149 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
40151 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
40153 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
40154 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
40157 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
40158 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
40162 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
40164 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
40167 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
40168 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
40169 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
40170 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
40171 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
40172 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
40173 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
40175 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
40182 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
40184 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
40185 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
40186 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40187 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
40188 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
40189 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
40190 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
40192 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
40193 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
40194 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
40195 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
40196 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
40197 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
40198 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
40199 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
40202 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
40203 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
40204 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
40206 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
40207 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
40209 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
40210 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40211 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
40212 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
40213 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
40218 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
40219 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
40220 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
40221 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
40222 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40223 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
40224 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
40225 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
40226 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40227 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40228 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40229 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40230 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40231 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40232 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40233 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40234 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
40235 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
40236 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40237 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
40238 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40239 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40240 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40241 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40242 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40243 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40244 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40245 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40246 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40248 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40249 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40250 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40251 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40252 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40253 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40254 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40255 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40256 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40257 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40259 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40260 { (char *)"SVGFileDC_swigregister", SVGFileDC_swigregister
, METH_VARARGS
, NULL
},
40261 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40262 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40263 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40264 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40265 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40266 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40267 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40268 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40269 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40270 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40271 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40272 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40273 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40274 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40275 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40276 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40277 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40278 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40279 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40280 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40283 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40284 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40286 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40292 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40293 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40294 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40295 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40296 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40297 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40299 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40300 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40301 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40308 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40311 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40312 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40313 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40314 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40315 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40316 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40319 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40326 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40327 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40330 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40331 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40332 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40339 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40340 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40341 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40342 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40360 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40361 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40362 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40363 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40364 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40365 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40368 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40373 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40375 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40376 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40377 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40378 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40380 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40381 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40382 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40383 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40384 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40385 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40386 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40387 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40388 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40389 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40390 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40391 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40393 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40394 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40395 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40396 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40397 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40401 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40403 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40405 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40406 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40407 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40408 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40409 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40410 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40416 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40417 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40418 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40419 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40420 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40421 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40423 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40424 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40425 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40427 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40428 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40429 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40430 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40434 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40435 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40436 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40437 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40438 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40439 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40440 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40441 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40442 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40443 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40444 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40445 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40446 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40447 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40448 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40449 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40450 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40451 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40452 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40453 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40454 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40455 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40456 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40457 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40458 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40459 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40460 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40461 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40462 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40463 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40464 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40465 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40466 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40467 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40468 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40469 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40470 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40471 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40472 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40473 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40474 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40475 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40476 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40477 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40478 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40479 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40480 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40481 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40482 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40483 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40484 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40485 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40486 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40487 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40488 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40489 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40490 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40491 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40492 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40493 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40494 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40495 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40496 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40497 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40498 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40499 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40500 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40501 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40502 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40503 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40504 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40505 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40506 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40507 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40508 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40509 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40510 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40511 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40512 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40513 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40514 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40515 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40516 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40517 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40518 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40519 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40520 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40521 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40522 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40524 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40526 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40527 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40529 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40530 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40532 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40534 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40535 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40536 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40537 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40538 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40545 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40546 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40547 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40548 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40550 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40552 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40553 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40555 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40557 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40558 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40559 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40560 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40561 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40562 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40563 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40564 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40565 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40567 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40568 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40569 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40570 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40571 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40572 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40573 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40574 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40575 { NULL
, NULL
, 0, NULL
}
40579 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40581 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40582 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40584 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40585 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40587 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40588 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40590 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40591 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40593 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40594 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40596 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40597 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40599 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40600 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40602 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40603 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40605 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40606 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40608 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40609 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40611 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40612 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40614 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40615 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40617 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40618 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40620 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40621 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40623 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40624 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40626 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40627 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40629 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40630 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40632 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40633 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40635 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40636 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40638 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40639 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40641 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40642 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40644 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40645 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40647 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40648 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40650 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40651 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40653 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40654 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40656 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40657 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40659 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40660 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40662 static void *_p_wxSVGFileDCTo_p_wxDC(void *x
) {
40663 return (void *)((wxDC
*) ((wxSVGFileDC
*) x
));
40665 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40666 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40668 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40669 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40671 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40672 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40674 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40675 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40677 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40678 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40680 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40681 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40683 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40684 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40686 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40687 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40689 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40690 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40692 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40693 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40695 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40696 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40698 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40699 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40701 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40702 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40704 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40707 static void *_p_wxPenTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40710 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40713 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40716 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40719 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40722 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40725 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40728 static void *_p_wxIconTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40731 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40734 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40737 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) ((wxSizer
*) x
));
40740 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40743 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40746 static void *_p_wxEventTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) ((wxEvent
*) x
));
40749 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40752 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40755 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40756 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40758 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40759 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40761 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40764 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40765 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40767 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40768 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40770 static void *_p_wxDCTo_p_wxObject(void *x
) {
40771 return (void *)((wxObject
*) ((wxDC
*) x
));
40773 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40774 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40776 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40777 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40779 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40780 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40782 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40783 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40785 static void *_p_wxControlTo_p_wxObject(void *x
) {
40786 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40788 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40789 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40791 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40792 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40794 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40795 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40797 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40798 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40800 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40801 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40803 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40804 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40806 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40807 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40809 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40810 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40812 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40813 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40815 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40816 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40818 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40819 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40821 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40822 return (void *)((wxObject
*) ((wxEffects
*) x
));
40824 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40825 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40827 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40830 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40831 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40833 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40834 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40836 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40837 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40839 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40840 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40842 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40845 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40846 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40848 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40851 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40852 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40854 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40855 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40857 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40858 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40860 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40861 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40863 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40864 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40866 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40867 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40869 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40870 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40872 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40873 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40875 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40876 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40878 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40881 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40884 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40885 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40887 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40888 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40890 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40891 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40893 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40896 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40897 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40899 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40900 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40902 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40903 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40905 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40906 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40908 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40911 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40912 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40914 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40915 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40917 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40918 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40920 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40921 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40923 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40924 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40926 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40927 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40929 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40930 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40932 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40933 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40935 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40936 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40938 static void *_p_wxImageTo_p_wxObject(void *x
) {
40939 return (void *)((wxObject
*) ((wxImage
*) x
));
40941 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40942 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40944 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40945 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40947 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40948 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40950 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40951 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40953 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40954 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40956 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40957 return (void *)((wxObject
*) ((wxImageList
*) x
));
40959 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40960 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40962 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40963 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40965 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40966 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40968 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40969 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40971 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40972 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40974 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40977 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40978 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40980 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40981 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40983 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40986 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40989 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40992 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40993 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40995 static void *_p_wxSVGFileDCTo_p_wxObject(void *x
) {
40996 return (void *)((wxObject
*) (wxDC
*) ((wxSVGFileDC
*) x
));
40998 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40999 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41001 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
41002 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
41004 static void *_p_wxMaskTo_p_wxObject(void *x
) {
41005 return (void *)((wxObject
*) ((wxMask
*) x
));
41007 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
41008 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
41010 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41013 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41014 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41016 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41017 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41019 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41020 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41022 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41023 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41025 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41026 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41028 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41031 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41032 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41034 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41035 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41037 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41038 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41040 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41043 static void *_p_wxFontTo_p_wxObject(void *x
) {
41044 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
41046 static void *_p_wxBrushTo_p_wxObject(void *x
) {
41047 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
41049 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
41050 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
41052 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41055 static void *_p_wxColourTo_p_wxObject(void *x
) {
41056 return (void *)((wxObject
*) ((wxColour
*) x
));
41058 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41061 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41062 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41064 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41065 return (void *)((wxWindow
*) ((wxControl
*) x
));
41067 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41068 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41070 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41071 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41073 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
41074 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
41076 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
41077 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
41079 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
41080 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
41081 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
41082 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};
41083 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
41084 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
41085 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
41086 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
41087 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
41088 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
41089 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
41090 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
41091 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
41092 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
41093 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
41094 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
41095 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
41096 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
41097 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
41098 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
41099 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
41100 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
41101 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
41102 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
41103 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
41104 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
41105 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
41106 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
41107 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
41108 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
41109 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
41110 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
41111 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
41112 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
41113 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
41114 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
41115 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
41116 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
41117 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
41118 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
41119 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
41120 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
41121 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
41122 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
41123 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
41124 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
41125 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
41126 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
41127 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
41128 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
41129 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
41130 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
41131 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
41132 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
41133 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
41134 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
41135 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
41136 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
41137 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
41138 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
41139 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
41140 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
41141 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
41142 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
41143 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
41144 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
41145 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
41146 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
41147 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
41148 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
41149 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
41150 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
41151 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
41152 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
41153 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
41154 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
41155 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
41156 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
41157 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
41158 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
41159 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
41160 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
41161 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
41162 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
41163 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
41164 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
41165 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
41166 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
41167 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
41168 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
41169 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
41170 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
41171 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
41172 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
41173 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
41174 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
41175 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
41176 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
41177 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
41178 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
41179 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
41180 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
41181 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
41182 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
41183 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
41184 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
41185 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
41186 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
41187 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
41188 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
41189 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
41190 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
41191 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
41192 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
41193 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
41194 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
41195 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
41196 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
41197 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
41198 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
41199 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
41200 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
41201 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
41202 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
41203 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
41204 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
41205 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
41206 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
41207 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
41208 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
41209 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
41210 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
41211 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
41212 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
41213 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
41214 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
41215 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
41216 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
41217 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
41218 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
41219 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
41220 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
41221 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
41222 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
41223 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
41224 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
41225 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
41226 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
41227 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
41228 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
41229 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
41230 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
41231 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
41232 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
41233 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
41234 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
41235 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
41236 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
41237 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
41238 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
41239 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
41240 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41241 static swig_type_info _swigt__p_wxSVGFileDC
= {"_p_wxSVGFileDC", "wxSVGFileDC *", 0, 0, (void*)0, 0};
41242 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41243 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41244 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41245 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41246 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41247 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41248 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41250 static swig_type_info
*swig_type_initial
[] = {
41254 &_swigt__p_form_ops_t
,
41256 &_swigt__p_unsigned_char
,
41257 &_swigt__p_unsigned_int
,
41258 &_swigt__p_unsigned_long
,
41260 &_swigt__p_wxANIHandler
,
41261 &_swigt__p_wxAcceleratorTable
,
41262 &_swigt__p_wxActivateEvent
,
41263 &_swigt__p_wxAlphaPixelData
,
41264 &_swigt__p_wxAlphaPixelData_Accessor
,
41265 &_swigt__p_wxAutoBufferedPaintDC
,
41266 &_swigt__p_wxBMPHandler
,
41267 &_swigt__p_wxBitmap
,
41268 &_swigt__p_wxBoxSizer
,
41269 &_swigt__p_wxBrush
,
41270 &_swigt__p_wxBrushList
,
41271 &_swigt__p_wxBufferedDC
,
41272 &_swigt__p_wxBufferedPaintDC
,
41273 &_swigt__p_wxCURHandler
,
41274 &_swigt__p_wxChildFocusEvent
,
41275 &_swigt__p_wxClientDC
,
41276 &_swigt__p_wxClipboardTextEvent
,
41277 &_swigt__p_wxCloseEvent
,
41278 &_swigt__p_wxColour
,
41279 &_swigt__p_wxColourDatabase
,
41280 &_swigt__p_wxCommandEvent
,
41281 &_swigt__p_wxContextMenuEvent
,
41282 &_swigt__p_wxControl
,
41283 &_swigt__p_wxControlWithItems
,
41284 &_swigt__p_wxCursor
,
41286 &_swigt__p_wxDCBrushChanger
,
41287 &_swigt__p_wxDCClipper
,
41288 &_swigt__p_wxDCOverlay
,
41289 &_swigt__p_wxDCPenChanger
,
41290 &_swigt__p_wxDCTextColourChanger
,
41292 &_swigt__p_wxDateEvent
,
41293 &_swigt__p_wxDisplayChangedEvent
,
41294 &_swigt__p_wxDropFilesEvent
,
41295 &_swigt__p_wxDuplexMode
,
41296 &_swigt__p_wxEffects
,
41297 &_swigt__p_wxEncodingConverter
,
41298 &_swigt__p_wxEraseEvent
,
41299 &_swigt__p_wxEvent
,
41300 &_swigt__p_wxEventBlocker
,
41301 &_swigt__p_wxEvtHandler
,
41302 &_swigt__p_wxFSFile
,
41303 &_swigt__p_wxFileSystem
,
41304 &_swigt__p_wxFlexGridSizer
,
41305 &_swigt__p_wxFocusEvent
,
41307 &_swigt__p_wxFontList
,
41308 &_swigt__p_wxFontMapper
,
41309 &_swigt__p_wxGBSizerItem
,
41311 &_swigt__p_wxGDIObjListBase
,
41312 &_swigt__p_wxGDIObject
,
41313 &_swigt__p_wxGIFHandler
,
41314 &_swigt__p_wxGraphicsBrush
,
41315 &_swigt__p_wxGraphicsContext
,
41316 &_swigt__p_wxGraphicsFont
,
41317 &_swigt__p_wxGraphicsMatrix
,
41318 &_swigt__p_wxGraphicsObject
,
41319 &_swigt__p_wxGraphicsPath
,
41320 &_swigt__p_wxGraphicsPen
,
41321 &_swigt__p_wxGraphicsRenderer
,
41322 &_swigt__p_wxGridBagSizer
,
41323 &_swigt__p_wxGridSizer
,
41324 &_swigt__p_wxHeaderButtonParams
,
41325 &_swigt__p_wxICOHandler
,
41327 &_swigt__p_wxIconBundle
,
41328 &_swigt__p_wxIconLocation
,
41329 &_swigt__p_wxIconizeEvent
,
41330 &_swigt__p_wxIdleEvent
,
41331 &_swigt__p_wxImage
,
41332 &_swigt__p_wxImageHandler
,
41333 &_swigt__p_wxImageList
,
41334 &_swigt__p_wxIndividualLayoutConstraint
,
41335 &_swigt__p_wxInitDialogEvent
,
41336 &_swigt__p_wxJPEGHandler
,
41337 &_swigt__p_wxKeyEvent
,
41338 &_swigt__p_wxLanguageInfo
,
41339 &_swigt__p_wxLayoutConstraints
,
41340 &_swigt__p_wxLocale
,
41342 &_swigt__p_wxMaximizeEvent
,
41343 &_swigt__p_wxMemoryDC
,
41345 &_swigt__p_wxMenuBar
,
41346 &_swigt__p_wxMenuEvent
,
41347 &_swigt__p_wxMenuItem
,
41348 &_swigt__p_wxMetaFile
,
41349 &_swigt__p_wxMetaFileDC
,
41350 &_swigt__p_wxMirrorDC
,
41351 &_swigt__p_wxMouseCaptureChangedEvent
,
41352 &_swigt__p_wxMouseCaptureLostEvent
,
41353 &_swigt__p_wxMouseEvent
,
41354 &_swigt__p_wxMoveEvent
,
41355 &_swigt__p_wxNativeEncodingInfo
,
41356 &_swigt__p_wxNativeFontInfo
,
41357 &_swigt__p_wxNativePixelData
,
41358 &_swigt__p_wxNativePixelData_Accessor
,
41359 &_swigt__p_wxNavigationKeyEvent
,
41360 &_swigt__p_wxNcPaintEvent
,
41361 &_swigt__p_wxNotifyEvent
,
41362 &_swigt__p_wxObject
,
41363 &_swigt__p_wxOverlay
,
41364 &_swigt__p_wxPCXHandler
,
41365 &_swigt__p_wxPNGHandler
,
41366 &_swigt__p_wxPNMHandler
,
41367 &_swigt__p_wxPaintDC
,
41368 &_swigt__p_wxPaintEvent
,
41369 &_swigt__p_wxPalette
,
41370 &_swigt__p_wxPaletteChangedEvent
,
41371 &_swigt__p_wxPaperSize
,
41373 &_swigt__p_wxPenList
,
41374 &_swigt__p_wxPixelDataBase
,
41375 &_swigt__p_wxPoint
,
41376 &_swigt__p_wxPoint2D
,
41377 &_swigt__p_wxPostScriptDC
,
41378 &_swigt__p_wxPrintData
,
41379 &_swigt__p_wxPrinterDC
,
41380 &_swigt__p_wxPseudoDC
,
41381 &_swigt__p_wxPyApp
,
41382 &_swigt__p_wxPyCommandEvent
,
41383 &_swigt__p_wxPyEvent
,
41384 &_swigt__p_wxPyFontEnumerator
,
41385 &_swigt__p_wxPyImageHandler
,
41386 &_swigt__p_wxPyLocale
,
41387 &_swigt__p_wxPySizer
,
41388 &_swigt__p_wxPyValidator
,
41389 &_swigt__p_wxQueryNewPaletteEvent
,
41391 &_swigt__p_wxRect2D
,
41392 &_swigt__p_wxRegion
,
41393 &_swigt__p_wxRegionIterator
,
41394 &_swigt__p_wxRendererNative
,
41395 &_swigt__p_wxRendererVersion
,
41396 &_swigt__p_wxSVGFileDC
,
41397 &_swigt__p_wxScreenDC
,
41398 &_swigt__p_wxScrollEvent
,
41399 &_swigt__p_wxScrollWinEvent
,
41400 &_swigt__p_wxSetCursorEvent
,
41401 &_swigt__p_wxShowEvent
,
41403 &_swigt__p_wxSizeEvent
,
41404 &_swigt__p_wxSizer
,
41405 &_swigt__p_wxSizerItem
,
41406 &_swigt__p_wxSplitterRenderParams
,
41407 &_swigt__p_wxStaticBoxSizer
,
41408 &_swigt__p_wxStdDialogButtonSizer
,
41409 &_swigt__p_wxStockGDI
,
41410 &_swigt__p_wxString
,
41411 &_swigt__p_wxSysColourChangedEvent
,
41412 &_swigt__p_wxTGAHandler
,
41413 &_swigt__p_wxTIFFHandler
,
41414 &_swigt__p_wxUpdateUIEvent
,
41415 &_swigt__p_wxValidator
,
41416 &_swigt__p_wxWindow
,
41417 &_swigt__p_wxWindowCreateEvent
,
41418 &_swigt__p_wxWindowDC
,
41419 &_swigt__p_wxWindowDestroyEvent
,
41420 &_swigt__p_wxXPMHandler
,
41423 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41424 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41425 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41426 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41427 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41428 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41429 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41430 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41431 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41432 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41433 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41434 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41435 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41436 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41437 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41438 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}};
41439 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41440 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}};
41441 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41442 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41443 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41444 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
41445 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41446 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41447 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41448 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41449 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41450 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41451 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41452 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41453 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41454 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41455 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41456 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41457 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41458 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}};
41459 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}};
41460 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41461 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41462 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41463 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41464 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}};
41465 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41466 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41467 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41468 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41469 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41470 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41471 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41472 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41473 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41474 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41475 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}};
41476 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41477 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}};
41478 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41479 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41480 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41481 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41482 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41483 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41484 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41485 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41486 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41487 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41488 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41489 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41490 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41491 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41492 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41493 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41494 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41495 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41496 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41497 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41498 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41499 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41500 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41501 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41502 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41503 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41504 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41505 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41506 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41507 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41508 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41509 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41510 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41511 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41512 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41513 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41514 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41515 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41516 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41517 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41518 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41519 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41520 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41521 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41522 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41523 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41524 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41525 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41526 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41527 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41528 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41529 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41530 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41531 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41532 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41533 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41534 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41535 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41536 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41537 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41538 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41539 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41540 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41541 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41542 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41543 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41544 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41545 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41546 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41547 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41548 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41549 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41550 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41551 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41552 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41553 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41554 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41555 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41556 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41557 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41558 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41559 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41560 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41561 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41562 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41563 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_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_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
41564 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41565 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41566 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41567 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41568 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41569 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41570 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}};
41571 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41572 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41573 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41574 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41575 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41576 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41577 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41578 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41579 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41580 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41581 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41582 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41583 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41584 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41585 static swig_cast_info _swigc__p_wxSVGFileDC
[] = { {&_swigt__p_wxSVGFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41586 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41587 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41588 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41589 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41590 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41591 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}};
41592 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
41594 static swig_cast_info
*swig_cast_initial
[] = {
41598 _swigc__p_form_ops_t
,
41600 _swigc__p_unsigned_char
,
41601 _swigc__p_unsigned_int
,
41602 _swigc__p_unsigned_long
,
41604 _swigc__p_wxANIHandler
,
41605 _swigc__p_wxAcceleratorTable
,
41606 _swigc__p_wxActivateEvent
,
41607 _swigc__p_wxAlphaPixelData
,
41608 _swigc__p_wxAlphaPixelData_Accessor
,
41609 _swigc__p_wxAutoBufferedPaintDC
,
41610 _swigc__p_wxBMPHandler
,
41611 _swigc__p_wxBitmap
,
41612 _swigc__p_wxBoxSizer
,
41614 _swigc__p_wxBrushList
,
41615 _swigc__p_wxBufferedDC
,
41616 _swigc__p_wxBufferedPaintDC
,
41617 _swigc__p_wxCURHandler
,
41618 _swigc__p_wxChildFocusEvent
,
41619 _swigc__p_wxClientDC
,
41620 _swigc__p_wxClipboardTextEvent
,
41621 _swigc__p_wxCloseEvent
,
41622 _swigc__p_wxColour
,
41623 _swigc__p_wxColourDatabase
,
41624 _swigc__p_wxCommandEvent
,
41625 _swigc__p_wxContextMenuEvent
,
41626 _swigc__p_wxControl
,
41627 _swigc__p_wxControlWithItems
,
41628 _swigc__p_wxCursor
,
41630 _swigc__p_wxDCBrushChanger
,
41631 _swigc__p_wxDCClipper
,
41632 _swigc__p_wxDCOverlay
,
41633 _swigc__p_wxDCPenChanger
,
41634 _swigc__p_wxDCTextColourChanger
,
41636 _swigc__p_wxDateEvent
,
41637 _swigc__p_wxDisplayChangedEvent
,
41638 _swigc__p_wxDropFilesEvent
,
41639 _swigc__p_wxDuplexMode
,
41640 _swigc__p_wxEffects
,
41641 _swigc__p_wxEncodingConverter
,
41642 _swigc__p_wxEraseEvent
,
41644 _swigc__p_wxEventBlocker
,
41645 _swigc__p_wxEvtHandler
,
41646 _swigc__p_wxFSFile
,
41647 _swigc__p_wxFileSystem
,
41648 _swigc__p_wxFlexGridSizer
,
41649 _swigc__p_wxFocusEvent
,
41651 _swigc__p_wxFontList
,
41652 _swigc__p_wxFontMapper
,
41653 _swigc__p_wxGBSizerItem
,
41655 _swigc__p_wxGDIObjListBase
,
41656 _swigc__p_wxGDIObject
,
41657 _swigc__p_wxGIFHandler
,
41658 _swigc__p_wxGraphicsBrush
,
41659 _swigc__p_wxGraphicsContext
,
41660 _swigc__p_wxGraphicsFont
,
41661 _swigc__p_wxGraphicsMatrix
,
41662 _swigc__p_wxGraphicsObject
,
41663 _swigc__p_wxGraphicsPath
,
41664 _swigc__p_wxGraphicsPen
,
41665 _swigc__p_wxGraphicsRenderer
,
41666 _swigc__p_wxGridBagSizer
,
41667 _swigc__p_wxGridSizer
,
41668 _swigc__p_wxHeaderButtonParams
,
41669 _swigc__p_wxICOHandler
,
41671 _swigc__p_wxIconBundle
,
41672 _swigc__p_wxIconLocation
,
41673 _swigc__p_wxIconizeEvent
,
41674 _swigc__p_wxIdleEvent
,
41676 _swigc__p_wxImageHandler
,
41677 _swigc__p_wxImageList
,
41678 _swigc__p_wxIndividualLayoutConstraint
,
41679 _swigc__p_wxInitDialogEvent
,
41680 _swigc__p_wxJPEGHandler
,
41681 _swigc__p_wxKeyEvent
,
41682 _swigc__p_wxLanguageInfo
,
41683 _swigc__p_wxLayoutConstraints
,
41684 _swigc__p_wxLocale
,
41686 _swigc__p_wxMaximizeEvent
,
41687 _swigc__p_wxMemoryDC
,
41689 _swigc__p_wxMenuBar
,
41690 _swigc__p_wxMenuEvent
,
41691 _swigc__p_wxMenuItem
,
41692 _swigc__p_wxMetaFile
,
41693 _swigc__p_wxMetaFileDC
,
41694 _swigc__p_wxMirrorDC
,
41695 _swigc__p_wxMouseCaptureChangedEvent
,
41696 _swigc__p_wxMouseCaptureLostEvent
,
41697 _swigc__p_wxMouseEvent
,
41698 _swigc__p_wxMoveEvent
,
41699 _swigc__p_wxNativeEncodingInfo
,
41700 _swigc__p_wxNativeFontInfo
,
41701 _swigc__p_wxNativePixelData
,
41702 _swigc__p_wxNativePixelData_Accessor
,
41703 _swigc__p_wxNavigationKeyEvent
,
41704 _swigc__p_wxNcPaintEvent
,
41705 _swigc__p_wxNotifyEvent
,
41706 _swigc__p_wxObject
,
41707 _swigc__p_wxOverlay
,
41708 _swigc__p_wxPCXHandler
,
41709 _swigc__p_wxPNGHandler
,
41710 _swigc__p_wxPNMHandler
,
41711 _swigc__p_wxPaintDC
,
41712 _swigc__p_wxPaintEvent
,
41713 _swigc__p_wxPalette
,
41714 _swigc__p_wxPaletteChangedEvent
,
41715 _swigc__p_wxPaperSize
,
41717 _swigc__p_wxPenList
,
41718 _swigc__p_wxPixelDataBase
,
41720 _swigc__p_wxPoint2D
,
41721 _swigc__p_wxPostScriptDC
,
41722 _swigc__p_wxPrintData
,
41723 _swigc__p_wxPrinterDC
,
41724 _swigc__p_wxPseudoDC
,
41726 _swigc__p_wxPyCommandEvent
,
41727 _swigc__p_wxPyEvent
,
41728 _swigc__p_wxPyFontEnumerator
,
41729 _swigc__p_wxPyImageHandler
,
41730 _swigc__p_wxPyLocale
,
41731 _swigc__p_wxPySizer
,
41732 _swigc__p_wxPyValidator
,
41733 _swigc__p_wxQueryNewPaletteEvent
,
41735 _swigc__p_wxRect2D
,
41736 _swigc__p_wxRegion
,
41737 _swigc__p_wxRegionIterator
,
41738 _swigc__p_wxRendererNative
,
41739 _swigc__p_wxRendererVersion
,
41740 _swigc__p_wxSVGFileDC
,
41741 _swigc__p_wxScreenDC
,
41742 _swigc__p_wxScrollEvent
,
41743 _swigc__p_wxScrollWinEvent
,
41744 _swigc__p_wxSetCursorEvent
,
41745 _swigc__p_wxShowEvent
,
41747 _swigc__p_wxSizeEvent
,
41749 _swigc__p_wxSizerItem
,
41750 _swigc__p_wxSplitterRenderParams
,
41751 _swigc__p_wxStaticBoxSizer
,
41752 _swigc__p_wxStdDialogButtonSizer
,
41753 _swigc__p_wxStockGDI
,
41754 _swigc__p_wxString
,
41755 _swigc__p_wxSysColourChangedEvent
,
41756 _swigc__p_wxTGAHandler
,
41757 _swigc__p_wxTIFFHandler
,
41758 _swigc__p_wxUpdateUIEvent
,
41759 _swigc__p_wxValidator
,
41760 _swigc__p_wxWindow
,
41761 _swigc__p_wxWindowCreateEvent
,
41762 _swigc__p_wxWindowDC
,
41763 _swigc__p_wxWindowDestroyEvent
,
41764 _swigc__p_wxXPMHandler
,
41768 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41770 static swig_const_info swig_const_table
[] = {
41771 {0, 0, 0, 0.0, 0, 0}};
41776 /* -----------------------------------------------------------------------------
41777 * Type initialization:
41778 * This problem is tough by the requirement that no dynamic
41779 * memory is used. Also, since swig_type_info structures store pointers to
41780 * swig_cast_info structures and swig_cast_info structures store pointers back
41781 * to swig_type_info structures, we need some lookup code at initialization.
41782 * The idea is that swig generates all the structures that are needed.
41783 * The runtime then collects these partially filled structures.
41784 * The SWIG_InitializeModule function takes these initial arrays out of
41785 * swig_module, and does all the lookup, filling in the swig_module.types
41786 * array with the correct data and linking the correct swig_cast_info
41787 * structures together.
41789 * The generated swig_type_info structures are assigned staticly to an initial
41790 * array. We just loop though that array, and handle each type individually.
41791 * First we lookup if this type has been already loaded, and if so, use the
41792 * loaded structure instead of the generated one. Then we have to fill in the
41793 * cast linked list. The cast data is initially stored in something like a
41794 * two-dimensional array. Each row corresponds to a type (there are the same
41795 * number of rows as there are in the swig_type_initial array). Each entry in
41796 * a column is one of the swig_cast_info structures for that type.
41797 * The cast_initial array is actually an array of arrays, because each row has
41798 * a variable number of columns. So to actually build the cast linked list,
41799 * we find the array of casts associated with the type, and loop through it
41800 * adding the casts to the list. The one last trick we need to do is making
41801 * sure the type pointer in the swig_cast_info struct is correct.
41803 * First off, we lookup the cast->type name to see if it is already loaded.
41804 * There are three cases to handle:
41805 * 1) If the cast->type has already been loaded AND the type we are adding
41806 * casting info to has not been loaded (it is in this module), THEN we
41807 * replace the cast->type pointer with the type pointer that has already
41809 * 2) If BOTH types (the one we are adding casting info to, and the
41810 * cast->type) are loaded, THEN the cast info has already been loaded by
41811 * the previous module so we just ignore it.
41812 * 3) Finally, if cast->type has not already been loaded, then we add that
41813 * swig_cast_info to the linked list (because the cast->type) pointer will
41815 * ----------------------------------------------------------------------------- */
41825 #define SWIGRUNTIME_DEBUG
41829 SWIG_InitializeModule(void *clientdata
) {
41831 swig_module_info
*module_head
;
41832 static int init_run
= 0;
41834 clientdata
= clientdata
;
41836 if (init_run
) return;
41839 /* Initialize the swig_module */
41840 swig_module
.type_initial
= swig_type_initial
;
41841 swig_module
.cast_initial
= swig_cast_initial
;
41843 /* Try and load any already created modules */
41844 module_head
= SWIG_GetModule(clientdata
);
41846 swig_module
.next
= module_head
->next
;
41847 module_head
->next
= &swig_module
;
41849 /* This is the first module loaded */
41850 swig_module
.next
= &swig_module
;
41851 SWIG_SetModule(clientdata
, &swig_module
);
41854 /* Now work on filling in swig_module.types */
41855 #ifdef SWIGRUNTIME_DEBUG
41856 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41858 for (i
= 0; i
< swig_module
.size
; ++i
) {
41859 swig_type_info
*type
= 0;
41860 swig_type_info
*ret
;
41861 swig_cast_info
*cast
;
41863 #ifdef SWIGRUNTIME_DEBUG
41864 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41867 /* if there is another module already loaded */
41868 if (swig_module
.next
!= &swig_module
) {
41869 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41872 /* Overwrite clientdata field */
41873 #ifdef SWIGRUNTIME_DEBUG
41874 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41876 if (swig_module
.type_initial
[i
]->clientdata
) {
41877 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41878 #ifdef SWIGRUNTIME_DEBUG
41879 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41883 type
= swig_module
.type_initial
[i
];
41886 /* Insert casting types */
41887 cast
= swig_module
.cast_initial
[i
];
41888 while (cast
->type
) {
41889 /* Don't need to add information already in the list */
41891 #ifdef SWIGRUNTIME_DEBUG
41892 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41894 if (swig_module
.next
!= &swig_module
) {
41895 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41896 #ifdef SWIGRUNTIME_DEBUG
41897 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41901 if (type
== swig_module
.type_initial
[i
]) {
41902 #ifdef SWIGRUNTIME_DEBUG
41903 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41908 /* Check for casting already in the list */
41909 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41910 #ifdef SWIGRUNTIME_DEBUG
41911 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41913 if (!ocast
) ret
= 0;
41918 #ifdef SWIGRUNTIME_DEBUG
41919 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41922 type
->cast
->prev
= cast
;
41923 cast
->next
= type
->cast
;
41929 /* Set entry in modules->types array equal to the type */
41930 swig_module
.types
[i
] = type
;
41932 swig_module
.types
[i
] = 0;
41934 #ifdef SWIGRUNTIME_DEBUG
41935 printf("**** SWIG_InitializeModule: Cast List ******\n");
41936 for (i
= 0; i
< swig_module
.size
; ++i
) {
41938 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41939 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41940 while (cast
->type
) {
41941 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41945 printf("---- Total casts: %d\n",j
);
41947 printf("**** SWIG_InitializeModule: Cast List ******\n");
41951 /* This function will propagate the clientdata field of type to
41952 * any new swig_type_info structures that have been added into the list
41953 * of equivalent types. It is like calling
41954 * SWIG_TypeClientData(type, clientdata) a second time.
41957 SWIG_PropagateClientData(void) {
41959 swig_cast_info
*equiv
;
41960 static int init_run
= 0;
41962 if (init_run
) return;
41965 for (i
= 0; i
< swig_module
.size
; i
++) {
41966 if (swig_module
.types
[i
]->clientdata
) {
41967 equiv
= swig_module
.types
[i
]->cast
;
41969 if (!equiv
->converter
) {
41970 if (equiv
->type
&& !equiv
->type
->clientdata
)
41971 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41973 equiv
= equiv
->next
;
41993 /* Python-specific SWIG API */
41994 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41995 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41996 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41998 /* -----------------------------------------------------------------------------
41999 * global variable support code.
42000 * ----------------------------------------------------------------------------- */
42002 typedef struct swig_globalvar
{
42003 char *name
; /* Name of global variable */
42004 PyObject
*(*get_attr
)(void); /* Return the current value */
42005 int (*set_attr
)(PyObject
*); /* Set the value */
42006 struct swig_globalvar
*next
;
42009 typedef struct swig_varlinkobject
{
42011 swig_globalvar
*vars
;
42012 } swig_varlinkobject
;
42014 SWIGINTERN PyObject
*
42015 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
42016 return PyString_FromString("<Swig global variables>");
42019 SWIGINTERN PyObject
*
42020 swig_varlink_str(swig_varlinkobject
*v
) {
42021 PyObject
*str
= PyString_FromString("(");
42022 swig_globalvar
*var
;
42023 for (var
= v
->vars
; var
; var
=var
->next
) {
42024 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
42025 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
42027 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
42032 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
42033 PyObject
*str
= swig_varlink_str(v
);
42034 fprintf(fp
,"Swig global variables ");
42035 fprintf(fp
,"%s\n", PyString_AsString(str
));
42041 swig_varlink_dealloc(swig_varlinkobject
*v
) {
42042 swig_globalvar
*var
= v
->vars
;
42044 swig_globalvar
*n
= var
->next
;
42051 SWIGINTERN PyObject
*
42052 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
42053 PyObject
*res
= NULL
;
42054 swig_globalvar
*var
= v
->vars
;
42056 if (strcmp(var
->name
,n
) == 0) {
42057 res
= (*var
->get_attr
)();
42062 if (res
== NULL
&& !PyErr_Occurred()) {
42063 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
42069 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
42071 swig_globalvar
*var
= v
->vars
;
42073 if (strcmp(var
->name
,n
) == 0) {
42074 res
= (*var
->set_attr
)(p
);
42079 if (res
== 1 && !PyErr_Occurred()) {
42080 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
42085 SWIGINTERN PyTypeObject
*
42086 swig_varlink_type(void) {
42087 static char varlink__doc__
[] = "Swig var link object";
42088 static PyTypeObject varlink_type
;
42089 static int type_init
= 0;
42091 const PyTypeObject tmp
42093 PyObject_HEAD_INIT(NULL
)
42094 0, /* Number of items in variable part (ob_size) */
42095 (char *)"swigvarlink", /* Type name (tp_name) */
42096 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
42097 0, /* Itemsize (tp_itemsize) */
42098 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
42099 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
42100 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
42101 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
42102 0, /* tp_compare */
42103 (reprfunc
) swig_varlink_repr
, /* tp_repr */
42104 0, /* tp_as_number */
42105 0, /* tp_as_sequence */
42106 0, /* tp_as_mapping */
42109 (reprfunc
)swig_varlink_str
, /* tp_str */
42110 0, /* tp_getattro */
42111 0, /* tp_setattro */
42112 0, /* tp_as_buffer */
42114 varlink__doc__
, /* tp_doc */
42115 0, /* tp_traverse */
42117 0, /* tp_richcompare */
42118 0, /* tp_weaklistoffset */
42119 #if PY_VERSION_HEX >= 0x02020000
42120 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
42122 #if PY_VERSION_HEX >= 0x02030000
42125 #ifdef COUNT_ALLOCS
42126 0,0,0,0 /* tp_alloc -> tp_next */
42129 varlink_type
= tmp
;
42130 varlink_type
.ob_type
= &PyType_Type
;
42133 return &varlink_type
;
42136 /* Create a variable linking object for use later */
42137 SWIGINTERN PyObject
*
42138 SWIG_Python_newvarlink(void) {
42139 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
42143 return ((PyObject
*) result
);
42147 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
42148 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
42149 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
42151 size_t size
= strlen(name
)+1;
42152 gv
->name
= (char *)malloc(size
);
42154 strncpy(gv
->name
,name
,size
);
42155 gv
->get_attr
= get_attr
;
42156 gv
->set_attr
= set_attr
;
42157 gv
->next
= v
->vars
;
42163 SWIGINTERN PyObject
*
42165 static PyObject
*_SWIG_globals
= 0;
42166 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
42167 return _SWIG_globals
;
42170 /* -----------------------------------------------------------------------------
42171 * constants/methods manipulation
42172 * ----------------------------------------------------------------------------- */
42174 /* Install Constants */
42176 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
42179 for (i
= 0; constants
[i
].type
; ++i
) {
42180 switch(constants
[i
].type
) {
42181 case SWIG_PY_POINTER
:
42182 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
42184 case SWIG_PY_BINARY
:
42185 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
42192 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
42198 /* -----------------------------------------------------------------------------*/
42199 /* Fix SwigMethods to carry the callback ptrs when needed */
42200 /* -----------------------------------------------------------------------------*/
42203 SWIG_Python_FixMethods(PyMethodDef
*methods
,
42204 swig_const_info
*const_table
,
42205 swig_type_info
**types
,
42206 swig_type_info
**types_initial
) {
42208 for (i
= 0; methods
[i
].ml_name
; ++i
) {
42209 const char *c
= methods
[i
].ml_doc
;
42210 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
42212 swig_const_info
*ci
= 0;
42213 const char *name
= c
+ 10;
42214 for (j
= 0; const_table
[j
].type
; ++j
) {
42215 if (strncmp(const_table
[j
].name
, name
,
42216 strlen(const_table
[j
].name
)) == 0) {
42217 ci
= &(const_table
[j
]);
42222 size_t shift
= (ci
->ptype
) - types
;
42223 swig_type_info
*ty
= types_initial
[shift
];
42224 size_t ldoc
= (c
- methods
[i
].ml_doc
);
42225 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
42226 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
42229 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
42231 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
42233 strncpy(buff
, "swig_ptr: ", 10);
42235 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
42236 methods
[i
].ml_doc
= ndoc
;
42248 /* -----------------------------------------------------------------------------*
42249 * Partial Init method
42250 * -----------------------------------------------------------------------------*/
42255 SWIGEXPORT
void SWIG_init(void) {
42258 /* Fix SwigMethods to carry the callback ptrs when needed */
42259 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42261 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42262 d
= PyModule_GetDict(m
);
42264 SWIG_InitializeModule(0);
42265 SWIG_InstallConstants(d
,swig_const_table
);
42268 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42269 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42270 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42271 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42272 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42273 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42274 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42275 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42276 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42277 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42278 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42279 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42280 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42281 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42282 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42283 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42284 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42285 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42286 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42287 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42288 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42289 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42290 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42291 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42292 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42293 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42294 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42295 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42296 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42297 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42298 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42299 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42300 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42301 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42302 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42303 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42304 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42305 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42306 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42307 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42308 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42309 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42310 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42311 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42312 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42313 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42314 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42315 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42316 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42317 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42318 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42319 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42320 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42321 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42322 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42323 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42324 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42326 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42327 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42328 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42329 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42330 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42331 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42332 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42333 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42334 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42335 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42336 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42337 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42338 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42339 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42340 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42341 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42342 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42343 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42344 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42345 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42346 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42347 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42348 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42349 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42350 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42393 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42394 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42395 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42396 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42397 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42398 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42399 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42401 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42403 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42404 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42405 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42406 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42407 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42408 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42409 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42411 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42412 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42413 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42414 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42415 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42416 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42417 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42418 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42419 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42420 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42421 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42422 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42423 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42424 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42425 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42426 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42427 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42428 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42429 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42430 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42431 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42432 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42433 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42434 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42435 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42436 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42437 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42438 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42439 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42440 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42441 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42442 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42443 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42444 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42445 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42446 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42447 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42448 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42449 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42450 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42451 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42452 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42453 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42454 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42455 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42456 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42457 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42458 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42459 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42460 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42461 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42462 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42463 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42464 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42465 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42466 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42467 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42468 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42469 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42470 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42471 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42472 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42473 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42474 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42475 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42476 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42477 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42478 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42479 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42480 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42481 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42482 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42483 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42484 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42485 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42486 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42487 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42488 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42489 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42490 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42491 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42492 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42493 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42494 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42495 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42496 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42497 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42498 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42499 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42500 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42501 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42502 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42503 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42504 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42505 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42506 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42507 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42508 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42509 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42510 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42511 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42512 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42513 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42514 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42515 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42516 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42517 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42518 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42519 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42520 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42521 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42522 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42523 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42524 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42525 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42526 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42527 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42528 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42529 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42530 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42531 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42532 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42533 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42534 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42535 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42536 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42537 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42538 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42539 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42540 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42541 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42542 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42543 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42544 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42545 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42546 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42547 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42548 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42549 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42550 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42551 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42552 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42553 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42554 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42555 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42556 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42557 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42558 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42559 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42560 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42561 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42562 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42563 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42564 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42565 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42566 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42567 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42568 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42569 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42570 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42571 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42572 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42573 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42574 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42575 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42576 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42577 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42581 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42582 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42583 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42584 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42585 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42586 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42587 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42588 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42589 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42590 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42591 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42592 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42593 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42594 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42595 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42596 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42597 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42598 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42599 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42600 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42601 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42602 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42603 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42604 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42605 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42606 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42607 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42608 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42609 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42610 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42611 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42612 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42613 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42614 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42615 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42616 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42617 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42618 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42619 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42620 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42621 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42622 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42623 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42624 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42625 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42626 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42627 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42628 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42629 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42630 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42631 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42632 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42633 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42634 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42635 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42636 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42637 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42638 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42639 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42640 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42641 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42642 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42643 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42644 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42645 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42646 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42647 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42648 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42649 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42650 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42651 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
42652 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42653 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42654 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42655 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42656 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42657 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42658 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42659 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42660 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42661 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42662 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42663 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42664 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42665 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42666 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42667 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42668 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42669 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42670 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42671 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42672 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42673 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42674 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42675 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42676 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42677 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42678 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42679 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42680 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42681 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42682 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42683 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42684 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42685 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42686 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42687 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42688 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42689 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42690 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42691 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42692 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42693 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42694 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42695 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42696 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42697 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42698 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42699 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42700 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42701 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42702 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42703 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42704 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42705 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42706 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42707 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42708 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
42709 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42710 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42711 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42712 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42713 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42714 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42715 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42716 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42717 SWIG_Python_SetConstant(d
, "CONTROL_FLAT",SWIG_From_int(static_cast< int >(wxCONTROL_FLAT
)));
42718 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42719 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42720 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42721 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42722 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42723 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42724 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42725 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42726 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42727 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42728 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42729 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42731 // Work around a chicken/egg problem in drawlist.cpp
42732 wxPyDrawList_SetAPIPtr();