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_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
, num
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3236 self
->SetIndex(num
);
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3243 return self
->GetIndex();
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3258 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3261 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3264 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3265 return self
->operator bool();
3268 #include <wx/fontutil.h>
3269 #include <wx/fontmap.h>
3270 #include <wx/fontenum.h>
3272 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3273 return self
->ToString();
3276 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3277 { wxPyRaiseNotImplemented(); return NULL
; }
3279 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3280 { wxPyRaiseNotImplemented(); return false; }
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxString
& name
, // name (for messages)
3399 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3400 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxString
& GetString(const wxString
& origString
,
3410 const wxString
& domain
= wxPyEmptyString
) const;
3411 virtual const wxString
& GetString(const wxString
& origString
,
3412 const wxString
& origString2
,
3414 const wxString
& domain
= wxPyEmptyString
) const;
3416 virtual const wxString
& GetSingularString(const wxString
& origString
,
3417 const wxString
& domain
= wxPyEmptyString
) const;
3418 virtual const wxString
& GetPluralString(const wxString
& origString
,
3419 const wxString
& origString2
,
3421 const wxString
& domain
= wxPyEmptyString
) const;
3426 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3429 wxPyLocale::wxPyLocale() : wxLocale()
3433 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3434 const wxString
& shortName
, // dir prefix (for msg files)
3435 const wxString
& locale
, // locale (for setlocale)
3436 bool bLoadDefault
, // preload wxstd.mo?
3437 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3438 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3442 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3443 int flags
) : wxLocale(language
, flags
)
3447 wxPyLocale::~wxPyLocale()
3451 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3452 const wxString
& domain
) const
3454 return GetSingularString(origString
, domain
);
3457 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3458 const wxString
& origString2
,
3460 const wxString
& domain
) const
3462 return GetPluralString(origString
, origString2
, n
, domain
);
3465 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3466 const wxString
& domain
) const
3469 wxString
str( _T("error in translation"));
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(origString
);
3473 PyObject
* param2
= wx2PyString(domain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? str
: wxLocale::GetString(origString
, domain
));
3486 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3487 const wxString
& origString2
, size_t n
,
3488 const wxString
& domain
) const
3491 wxString
str( _T("error in translation"));
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(origString
);
3495 PyObject
* param2
= wx2PyString(origString2
);
3496 PyObject
* param4
= wx2PyString(domain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3498 Py_BuildValue("(OOiO)",
3505 str
= Py2wxString(ret
);
3509 wxPyEndBlockThreads(blocked
);
3510 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3513 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3516 loc
= new wxPyLocale();
3518 loc
= new wxPyLocale(language
, flags
);
3519 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3520 // for the floating point conversions and such to work right.
3521 #if PY_VERSION_HEX < 0x02040000
3522 setlocale(LC_NUMERIC
, "C");
3527 #include "wx/wxPython/pydrawxxx.h"
3529 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3531 self
->GetPixel(x
, y
, &col
);
3534 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3536 self
->GetPixel(pt
, &col
);
3541 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3543 if (PyNumber_Check(obj
)) {
3544 if (val
) *val
= PyFloat_AsDouble(obj
);
3547 return SWIG_TypeError
;
3550 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3552 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3555 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3557 self
->GetClippingBox(rect
);
3560 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3562 self
->GetPartialTextExtents(text
, widths
);
3566 #define SWIG_From_double PyFloat_FromDouble
3568 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetLogicalOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->SetDeviceOrigin(point
.x
, point
.y
);
3574 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3575 self
->CalcBoundingBox(point
.x
, point
.y
);
3577 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3590 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3592 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3593 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3596 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3604 #include <wx/dcbuffer.h>
3607 #include <wx/dcps.h>
3610 #include <wx/metafile.h>
3613 #include <wx/graphics.h>
3616 #if !wxUSE_GRAPHICS_CONTEXT
3617 // C++ stub classes for platforms or build configurations that don't have
3618 // wxGraphicsContext yet.
3620 class wxGraphicsRenderer
;
3621 class wxGraphicsMatrix
;
3624 class wxGraphicsObject
: public wxObject
3627 wxGraphicsObject() {}
3628 wxGraphicsObject( wxGraphicsRenderer
* ) {
3629 PyErr_SetString(PyExc_NotImplementedError
,
3630 "wx.GraphicsObject is not available on this platform.");
3632 wxGraphicsObject( const wxGraphicsObject
& ) {}
3633 virtual ~wxGraphicsObject() {}
3634 bool IsNull() const { return false; }
3635 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3640 class wxGraphicsPen
: public wxGraphicsObject
3644 virtual ~wxGraphicsPen() {}
3646 wxGraphicsPen wxNullGraphicsPen
;
3650 class wxGraphicsBrush
: public wxGraphicsObject
3653 wxGraphicsBrush() {}
3654 virtual ~wxGraphicsBrush() {}
3656 wxGraphicsBrush wxNullGraphicsBrush
;
3660 class wxGraphicsFont
: public wxGraphicsObject
3664 virtual ~wxGraphicsFont() {}
3666 wxGraphicsFont wxNullGraphicsFont
;
3670 class wxGraphicsPath
: public wxGraphicsObject
3673 wxGraphicsPath() { }
3674 wxGraphicsPath(wxGraphicsRenderer
* ) {
3675 PyErr_SetString(PyExc_NotImplementedError
,
3676 "wx.GraphicsPath is not available on this platform.");
3678 virtual ~wxGraphicsPath() {}
3680 void MoveToPoint( wxDouble
, wxDouble
) {}
3681 void MoveToPoint( const wxPoint2DDouble
& ) {}
3682 void AddLineToPoint( wxDouble
, wxDouble
) {}
3683 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3684 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3685 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3686 void AddPath( const wxGraphicsPath
& ) {}
3687 void CloseSubpath() {}
3688 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3689 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3690 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3691 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3693 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3699 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void * GetNativePath() const { return NULL
; }
3701 void UnGetNativePath(void *) const {}
3702 void Transform( const wxGraphicsMatrix
& ) {}
3703 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3704 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3706 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3707 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3709 wxGraphicsPath wxNullGraphicsPath
;
3712 class wxGraphicsMatrix
: public wxGraphicsObject
3715 wxGraphicsMatrix() { }
3716 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3717 PyErr_SetString(PyExc_NotImplementedError
,
3718 "wx.GraphicsMatrix is not available on this platform.");
3720 virtual ~wxGraphicsMatrix() {}
3721 virtual void Concat( const wxGraphicsMatrix
& ) {}
3722 virtual void Copy( const wxGraphicsMatrix
& ) {}
3723 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3724 wxDouble
, wxDouble
) {}
3725 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3726 wxDouble
*, wxDouble
*, wxDouble
*) {}
3727 virtual void Invert() {}
3728 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3729 virtual bool IsIdentity() const { return false; }
3730 virtual void Translate( wxDouble
, wxDouble
) {}
3731 virtual void Scale( wxDouble
, wxDouble
) {}
3732 virtual void Rotate( wxDouble
) {}
3733 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3734 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3735 virtual void * GetNativeMatrix() const { return NULL
; }
3737 wxGraphicsMatrix wxNullGraphicsMatrix
;
3740 class wxGraphicsContext
: public wxGraphicsObject
3744 wxGraphicsContext(wxGraphicsRenderer
* ) {
3745 PyErr_SetString(PyExc_NotImplementedError
,
3746 "wx.GraphicsContext is not available on this platform.");
3749 virtual ~wxGraphicsContext() {}
3751 static wxGraphicsContext
* Create() {
3752 PyErr_SetString(PyExc_NotImplementedError
,
3753 "wx.GraphicsContext is not available on this platform.");
3756 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3762 static wxGraphicsContext
* CreateFromNative( void * ) {
3763 PyErr_SetString(PyExc_NotImplementedError
,
3764 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3780 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3782 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3784 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3786 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3787 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3789 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3790 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3791 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3793 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3795 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3796 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3798 virtual void PushState() {}
3799 virtual void PopState() {}
3800 virtual void Clip( const wxRegion
& ) {}
3801 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3802 virtual void ResetClip() {}
3803 virtual void * GetNativeContext() { return NULL
; }
3804 virtual int GetLogicalFunction() const { return 0; }
3805 virtual bool SetLogicalFunction(int ) {}
3806 virtual void Translate( wxDouble
, wxDouble
) {}
3807 virtual void Scale( wxDouble
, wxDouble
) {}
3808 virtual void Rotate( wxDouble
) {}
3809 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3810 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3811 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3813 virtual void SetPen( const wxGraphicsPen
& ) {}
3814 void SetPen( const wxPen
& ) {}
3816 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3817 void SetBrush( const wxBrush
& ) {}
3819 virtual void SetFont( const wxGraphicsFont
& ) {}
3820 void SetFont( const wxFont
&, const wxColour
& ) {}
3822 virtual void StrokePath( const wxGraphicsPath
& ) {}
3823 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3824 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3829 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3830 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3831 wxDouble
*, wxDouble
* ) const {}
3832 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3834 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3839 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3840 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3841 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual bool ShouldOffset() const { return false; }
3848 class wxGraphicsRenderer
: public wxObject
3851 wxGraphicsRenderer() {
3852 PyErr_SetString(PyExc_NotImplementedError
,
3853 "wx.GraphicsRenderer is not available on this platform.");
3856 virtual ~wxGraphicsRenderer() {}
3858 static wxGraphicsRenderer
* GetDefaultRenderer() {
3859 PyErr_SetString(PyExc_NotImplementedError
,
3860 "wx.GraphicsRenderer is not available on this platform.");
3864 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3867 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3868 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3870 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3872 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3875 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3876 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3877 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3878 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3879 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3880 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3881 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3886 class wxGCDC
: public wxWindowDC
3889 wxGCDC(const wxWindowDC
&) {
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 wxGCDC(const wxWindow
*) {
3897 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3898 PyErr_SetString(PyExc_NotImplementedError
,
3899 "wxGCDC is not available on this platform.");
3900 wxPyEndBlockThreads(blocked
);
3904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3905 PyErr_SetString(PyExc_NotImplementedError
,
3906 "wxGCDC is not available on this platform.");
3907 wxPyEndBlockThreads(blocked
);
3910 virtual ~wxGCDC() {}
3912 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3913 void SetGraphicsContext( wxGraphicsContext
* ) {}
3918 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3919 if ( !backgroundBrush
.IsNull() )
3920 self
->DrawText(str
, x
, y
, backgroundBrush
);
3922 self
->DrawText(str
, x
, y
);
3924 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3925 if ( !backgroundBrush
.IsNull() )
3926 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3928 self
->DrawText(str
, x
, y
, angle
);
3930 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3931 wxDouble width
= 0.0,
3933 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3934 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3935 PyObject
* rv
= PyTuple_New(2);
3936 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3937 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3940 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3941 wxArrayDouble widths
;
3942 self
->GetPartialTextExtents(text
, widths
);
3945 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3946 size_t c1
, c2
, count
;
3947 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3948 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3950 if ( beginP
!= NULL
&& endP
!= NULL
)
3952 count
= wxMin(c1
, c2
);
3953 self
->StrokeLines(count
, beginP
, endP
);
3959 #include "wx/dcgraph.h"
3962 #include <wx/overlay.h>
3966 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3967 self
->AddColour(name
, wxColour(red
, green
, blue
));
3970 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3971 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3972 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3973 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3976 #include <wx/effects.h>
3979 #include "wx/renderer.h"
3982 SWIGINTERNINLINE PyObject
*
3983 SWIG_From_bool (bool value
)
3985 return PyBool_FromLong(value
? 1 : 0);
3989 #include "wx/wxPython/pseudodc.h"
3991 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3993 self
->GetIdBounds(id
, rect
);
3999 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 PyObject
*resultobj
= 0;
4001 wxGDIObject
*result
= 0 ;
4003 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxGDIObject
*)new wxGDIObject();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4018 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4023 PyObject
*swig_obj
[1] ;
4025 if (!args
) SWIG_fail
;
4027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4028 if (!SWIG_IsOK(res1
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4031 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4060 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (bool)(arg1
)->IsNull();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4076 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4079 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4080 return SWIG_Py_Void();
4083 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4084 return SWIG_Python_InitShadowInstance(args
);
4087 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
= 0;
4089 byte arg1
= (byte
) 0 ;
4090 byte arg2
= (byte
) 0 ;
4091 byte arg3
= (byte
) 0 ;
4092 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4093 wxColour
*result
= 0 ;
4094 unsigned char val1
;
4096 unsigned char val2
;
4098 unsigned char val3
;
4100 unsigned char val4
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 char * kwnames
[] = {
4107 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4112 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4113 if (!SWIG_IsOK(ecode1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4116 arg1
= static_cast< byte
>(val1
);
4119 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4120 if (!SWIG_IsOK(ecode2
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4123 arg2
= static_cast< byte
>(val2
);
4126 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4127 if (!SWIG_IsOK(ecode3
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4130 arg3
= static_cast< byte
>(val3
);
4133 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4134 if (!SWIG_IsOK(ecode4
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4137 arg4
= static_cast< byte
>(val4
);
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4152 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
= 0;
4154 wxString
*arg1
= 0 ;
4155 wxColour
*result
= 0 ;
4156 bool temp1
= false ;
4157 PyObject
* obj0
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "colorName", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4164 arg1
= wxString_in_helper(obj0
);
4165 if (arg1
== NULL
) SWIG_fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4190 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= 0;
4192 unsigned long arg1
;
4193 wxColour
*result
= 0 ;
4194 unsigned long val1
;
4196 PyObject
* obj0
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4202 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4203 if (!SWIG_IsOK(ecode1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4206 arg1
= static_cast< unsigned long >(val1
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (wxColour
*)new wxColour(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4220 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4221 PyObject
*resultobj
= 0;
4222 wxColour
*arg1
= (wxColour
*) 0 ;
4225 PyObject
*swig_obj
[1] ;
4227 if (!args
) SWIG_fail
;
4229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4230 if (!SWIG_IsOK(res1
)) {
4231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4233 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= SWIG_Py_Void();
4248 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4249 PyObject
*resultobj
= 0;
4250 wxColour
*arg1
= (wxColour
*) 0 ;
4254 PyObject
*swig_obj
[1] ;
4256 if (!args
) SWIG_fail
;
4258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4259 if (!SWIG_IsOK(res1
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4262 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (byte
)(arg1
)->Red();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4276 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4277 PyObject
*resultobj
= 0;
4278 wxColour
*arg1
= (wxColour
*) 0 ;
4282 PyObject
*swig_obj
[1] ;
4284 if (!args
) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4293 result
= (byte
)(arg1
)->Green();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4304 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4305 PyObject
*resultobj
= 0;
4306 wxColour
*arg1
= (wxColour
*) 0 ;
4310 PyObject
*swig_obj
[1] ;
4312 if (!args
) SWIG_fail
;
4314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4315 if (!SWIG_IsOK(res1
)) {
4316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4318 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (byte
)(arg1
)->Blue();
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4332 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4333 PyObject
*resultobj
= 0;
4334 wxColour
*arg1
= (wxColour
*) 0 ;
4338 PyObject
*swig_obj
[1] ;
4340 if (!args
) SWIG_fail
;
4342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4343 if (!SWIG_IsOK(res1
)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4346 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 result
= (byte
)(arg1
)->Alpha();
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4360 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4361 PyObject
*resultobj
= 0;
4362 wxColour
*arg1
= (wxColour
*) 0 ;
4366 PyObject
*swig_obj
[1] ;
4368 if (!args
) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4374 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 result
= (bool)(arg1
)->IsOk();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4390 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxColour
*arg1
= (wxColour
*) 0 ;
4396 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4399 unsigned char val2
;
4401 unsigned char val3
;
4403 unsigned char val4
;
4405 unsigned char val5
;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 PyObject
* obj2
= 0 ;
4410 PyObject
* obj3
= 0 ;
4411 PyObject
* obj4
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4421 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4422 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4426 arg2
= static_cast< byte
>(val2
);
4427 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4428 if (!SWIG_IsOK(ecode3
)) {
4429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4431 arg3
= static_cast< byte
>(val3
);
4432 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4433 if (!SWIG_IsOK(ecode4
)) {
4434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4436 arg4
= static_cast< byte
>(val4
);
4438 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4439 if (!SWIG_IsOK(ecode5
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4442 arg5
= static_cast< byte
>(val5
);
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= SWIG_Py_Void();
4457 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
= 0;
4459 wxColour
*arg1
= (wxColour
*) 0 ;
4460 unsigned long arg2
;
4463 unsigned long val2
;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4467 char * kwnames
[] = {
4468 (char *) "self",(char *) "colRGB", NULL
4471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4476 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4477 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4478 if (!SWIG_IsOK(ecode2
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4481 arg2
= static_cast< unsigned long >(val2
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_Py_Void();
4495 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxColour
*arg1
= (wxColour
*) 0 ;
4498 wxString
*arg2
= 0 ;
4501 bool temp2
= false ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 char * kwnames
[] = {
4505 (char *) "self",(char *) "colourName", NULL
4508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4510 if (!SWIG_IsOK(res1
)) {
4511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4513 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4515 arg2
= wxString_in_helper(obj1
);
4516 if (arg2
== NULL
) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->Set((wxString
const &)*arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4525 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxColour
*arg1
= (wxColour
*) 0 ;
4543 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4551 char * kwnames
[] = {
4552 (char *) "self",(char *) "flags", NULL
4555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4557 if (!SWIG_IsOK(res1
)) {
4558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4563 if (!SWIG_IsOK(ecode2
)) {
4564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4566 arg2
= static_cast< long >(val2
);
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4587 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 PyObject
*resultobj
= 0;
4589 wxColour
*arg1
= (wxColour
*) 0 ;
4593 PyObject
*swig_obj
[1] ;
4595 if (!args
) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4601 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= SWIG_From_long(static_cast< long >(result
));
4615 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxColour
*arg1
= (wxColour
*) 0 ;
4618 PyObject
*arg2
= (PyObject
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4624 char * kwnames
[] = {
4625 (char *) "self",(char *) "other", NULL
4628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4630 if (!SWIG_IsOK(res1
)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4633 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4636 result
= (bool)wxColour___eq__(arg1
,arg2
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4648 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
= 0;
4650 wxColour
*arg1
= (wxColour
*) 0 ;
4651 PyObject
*arg2
= (PyObject
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4656 PyObject
* obj1
= 0 ;
4657 char * kwnames
[] = {
4658 (char *) "self",(char *) "other", NULL
4661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4663 if (!SWIG_IsOK(res1
)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4666 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4669 result
= (bool)wxColour___ne__(arg1
,arg2
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4681 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= 0;
4683 wxColour
*arg1
= (wxColour
*) 0 ;
4684 bool arg2
= (bool) false ;
4685 PyObject
*result
= 0 ;
4690 PyObject
* obj0
= 0 ;
4691 PyObject
* obj1
= 0 ;
4692 char * kwnames
[] = {
4693 (char *) "self",(char *) "includeAlpha", NULL
4696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4698 if (!SWIG_IsOK(res1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4701 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4703 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4704 if (!SWIG_IsOK(ecode2
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4707 arg2
= static_cast< bool >(val2
);
4710 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4711 if (PyErr_Occurred()) SWIG_fail
;
4720 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4721 PyObject
*resultobj
= 0;
4722 wxColour
*arg1
= (wxColour
*) 0 ;
4723 unsigned long result
;
4726 PyObject
*swig_obj
[1] ;
4728 if (!args
) SWIG_fail
;
4730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4731 if (!SWIG_IsOK(res1
)) {
4732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4734 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4736 result
= (unsigned long)wxColour_GetRGB(arg1
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4746 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4749 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4750 return SWIG_Py_Void();
4753 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4754 return SWIG_Python_InitShadowInstance(args
);
4757 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
= 0;
4760 unsigned char *arg2
= (unsigned char *) 0 ;
4761 unsigned char *arg3
= (unsigned char *) 0 ;
4762 unsigned char *arg4
= (unsigned char *) 0 ;
4763 wxPalette
*result
= 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 PyObject
* obj3
= 0 ;
4776 char * kwnames
[] = {
4777 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4782 if (!SWIG_IsOK(ecode1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4785 arg1
= static_cast< int >(val1
);
4786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4787 if (!SWIG_IsOK(res2
)) {
4788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4790 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4791 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4792 if (!SWIG_IsOK(res3
)) {
4793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4795 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4796 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4797 if (!SWIG_IsOK(res4
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4800 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4815 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4816 PyObject
*resultobj
= 0;
4817 wxPalette
*arg1
= (wxPalette
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4828 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 resultobj
= SWIG_Py_Void();
4843 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
= 0;
4845 wxPalette
*arg1
= (wxPalette
*) 0 ;
4852 unsigned char val2
;
4854 unsigned char val3
;
4856 unsigned char val4
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 PyObject
* obj2
= 0 ;
4861 PyObject
* obj3
= 0 ;
4862 char * kwnames
[] = {
4863 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4871 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4872 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4873 if (!SWIG_IsOK(ecode2
)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4876 arg2
= static_cast< byte
>(val2
);
4877 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4878 if (!SWIG_IsOK(ecode3
)) {
4879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4881 arg3
= static_cast< byte
>(val3
);
4882 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4883 if (!SWIG_IsOK(ecode4
)) {
4884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4886 arg4
= static_cast< byte
>(val4
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxPalette
*arg1
= (wxPalette
*) 0 ;
4904 byte
*arg3
= (byte
*) 0 ;
4905 byte
*arg4
= (byte
*) 0 ;
4906 byte
*arg5
= (byte
*) 0 ;
4913 int res3
= SWIG_TMPOBJ
;
4915 int res4
= SWIG_TMPOBJ
;
4917 int res5
= SWIG_TMPOBJ
;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 char * kwnames
[] = {
4921 (char *) "self",(char *) "pixel", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4932 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4937 arg2
= static_cast< int >(val2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4947 if (SWIG_IsTmpObj(res3
)) {
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4953 if (SWIG_IsTmpObj(res4
)) {
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4959 if (SWIG_IsTmpObj(res5
)) {
4960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4962 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4971 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4972 PyObject
*resultobj
= 0;
4973 wxPalette
*arg1
= (wxPalette
*) 0 ;
4977 PyObject
*swig_obj
[1] ;
4979 if (!args
) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4985 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= SWIG_From_int(static_cast< int >(result
));
4999 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5001 wxPalette
*arg1
= (wxPalette
*) 0 ;
5005 PyObject
*swig_obj
[1] ;
5007 if (!args
) SWIG_fail
;
5009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5010 if (!SWIG_IsOK(res1
)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5013 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)(arg1
)->IsOk();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5032 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5033 return SWIG_Py_Void();
5036 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 return SWIG_Python_InitShadowInstance(args
);
5040 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
= 0;
5042 wxColour
*arg1
= 0 ;
5043 int arg2
= (int) 1 ;
5044 int arg3
= (int) wxSOLID
;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5053 PyObject
* obj2
= 0 ;
5054 char * kwnames
[] = {
5055 (char *) "colour",(char *) "width",(char *) "style", NULL
5058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5061 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5065 if (!SWIG_IsOK(ecode2
)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5068 arg2
= static_cast< int >(val2
);
5071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5072 if (!SWIG_IsOK(ecode3
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5075 arg3
= static_cast< int >(val3
);
5078 if (!wxPyCheckForApp()) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5091 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxPen
*arg1
= (wxPen
*) 0 ;
5096 PyObject
*swig_obj
[1] ;
5098 if (!args
) SWIG_fail
;
5100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5101 if (!SWIG_IsOK(res1
)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5104 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= SWIG_Py_Void();
5119 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 PyObject
*resultobj
= 0;
5121 wxPen
*arg1
= (wxPen
*) 0 ;
5125 PyObject
*swig_obj
[1] ;
5127 if (!args
) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5133 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (int)(arg1
)->GetCap();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_From_int(static_cast< int >(result
));
5147 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5148 PyObject
*resultobj
= 0;
5149 wxPen
*arg1
= (wxPen
*) 0 ;
5153 PyObject
*swig_obj
[1] ;
5155 if (!args
) SWIG_fail
;
5157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5158 if (!SWIG_IsOK(res1
)) {
5159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5161 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (arg1
)->GetColour();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5175 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxPen
*arg1
= (wxPen
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5189 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (int)(arg1
)->GetJoin();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_From_int(static_cast< int >(result
));
5203 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 PyObject
*resultobj
= 0;
5205 wxPen
*arg1
= (wxPen
*) 0 ;
5209 PyObject
*swig_obj
[1] ;
5211 if (!args
) SWIG_fail
;
5213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5214 if (!SWIG_IsOK(res1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5217 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= (int)(arg1
)->GetStyle();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_From_int(static_cast< int >(result
));
5231 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5232 PyObject
*resultobj
= 0;
5233 wxPen
*arg1
= (wxPen
*) 0 ;
5237 PyObject
*swig_obj
[1] ;
5239 if (!args
) SWIG_fail
;
5241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5242 if (!SWIG_IsOK(res1
)) {
5243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5245 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (int)(arg1
)->GetWidth();
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_From_int(static_cast< int >(result
));
5259 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 PyObject
*resultobj
= 0;
5261 wxPen
*arg1
= (wxPen
*) 0 ;
5265 PyObject
*swig_obj
[1] ;
5267 if (!args
) SWIG_fail
;
5269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5270 if (!SWIG_IsOK(res1
)) {
5271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5273 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= (bool)(arg1
)->IsOk();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5289 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
= 0;
5291 wxPen
*arg1
= (wxPen
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 char * kwnames
[] = {
5300 (char *) "self",(char *) "cap_style", NULL
5303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5305 if (!SWIG_IsOK(res1
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5308 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5310 if (!SWIG_IsOK(ecode2
)) {
5311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5313 arg2
= static_cast< int >(val2
);
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->SetCap(arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_Py_Void();
5327 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxPen
*arg1
= (wxPen
*) 0 ;
5330 wxColour
*arg2
= 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "colour", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5345 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5348 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 (arg1
)->SetColour(*arg2
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= SWIG_Py_Void();
5363 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
= 0;
5365 wxPen
*arg1
= (wxPen
*) 0 ;
5371 PyObject
* obj0
= 0 ;
5372 PyObject
* obj1
= 0 ;
5373 char * kwnames
[] = {
5374 (char *) "self",(char *) "join_style", NULL
5377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5379 if (!SWIG_IsOK(res1
)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5382 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5384 if (!SWIG_IsOK(ecode2
)) {
5385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5387 arg2
= static_cast< int >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetJoin(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= 0;
5403 wxPen
*arg1
= (wxPen
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 char * kwnames
[] = {
5412 (char *) "self",(char *) "style", NULL
5415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5420 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5422 if (!SWIG_IsOK(ecode2
)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5425 arg2
= static_cast< int >(val2
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->SetStyle(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxPen
*arg1
= (wxPen
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "width", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5458 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5460 if (!SWIG_IsOK(ecode2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5463 arg2
= static_cast< int >(val2
);
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetWidth(arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_Py_Void();
5477 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
= 0;
5479 wxPen
*arg1
= (wxPen
*) 0 ;
5481 wxDash
*arg3
= (wxDash
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "dashes", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5495 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5497 arg2
= PyList_Size(obj1
);
5498 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5499 if (arg3
== NULL
) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetDashes(arg2
,arg3
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_Py_Void();
5509 if (arg3
) delete [] arg3
;
5514 if (arg3
) delete [] arg3
;
5520 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5521 PyObject
*resultobj
= 0;
5522 wxPen
*arg1
= (wxPen
*) 0 ;
5523 PyObject
*result
= 0 ;
5526 PyObject
*swig_obj
[1] ;
5528 if (!args
) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5534 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5537 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5548 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxPen
*arg1
= (wxPen
*) 0 ;
5551 PyObject
*arg2
= (PyObject
*) 0 ;
5552 PyObject
*arg3
= (PyObject
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 PyObject
* obj2
= 0 ;
5558 char * kwnames
[] = {
5559 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5564 if (!SWIG_IsOK(res1
)) {
5565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5567 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxPen__SetDashes(arg1
,arg2
,arg3
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_Py_Void();
5583 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxPen
*arg1
= (wxPen
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5597 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int(static_cast< int >(result
));
5611 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxPen
*arg1
= (wxPen
*) 0 ;
5614 wxBitmap
*result
= 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxBitmap
*)(arg1
)->GetStipple();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5639 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 wxPen
*arg1
= (wxPen
*) 0 ;
5642 wxBitmap
*arg2
= 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "stipple", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5658 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5660 if (!SWIG_IsOK(res2
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 (arg1
)->SetStipple(*arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_Py_Void();
5680 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxPen
*arg1
= (wxPen
*) 0 ;
5683 wxPen
*arg2
= (wxPen
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "other", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5700 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5702 if (!SWIG_IsOK(res2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5705 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5721 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
= 0;
5723 wxPen
*arg1
= (wxPen
*) 0 ;
5724 wxPen
*arg2
= (wxPen
*) 0 ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 char * kwnames
[] = {
5733 (char *) "self",(char *) "other", NULL
5736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5741 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5743 if (!SWIG_IsOK(res2
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5746 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5762 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5766 return SWIG_Py_Void();
5769 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5770 return SWIG_Python_InitShadowInstance(args
);
5773 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
= 0;
5775 wxColour
*arg1
= 0 ;
5776 int arg2
= (int) wxSOLID
;
5777 wxBrush
*result
= 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5783 char * kwnames
[] = {
5784 (char *) "colour",(char *) "style", NULL
5787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5794 if (!SWIG_IsOK(ecode2
)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5797 arg2
= static_cast< int >(val2
);
5800 if (!wxPyCheckForApp()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5813 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxBitmap
*arg1
= 0 ;
5816 wxBrush
*result
= 0 ;
5819 PyObject
* obj0
= 0 ;
5820 char * kwnames
[] = {
5821 (char *) "stippleBitmap", NULL
5824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5825 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5826 if (!SWIG_IsOK(res1
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5832 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5847 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5848 PyObject
*resultobj
= 0;
5849 wxBrush
*arg1
= (wxBrush
*) 0 ;
5852 PyObject
*swig_obj
[1] ;
5854 if (!args
) SWIG_fail
;
5856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5857 if (!SWIG_IsOK(res1
)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5860 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_Py_Void();
5875 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
= 0;
5877 wxBrush
*arg1
= (wxBrush
*) 0 ;
5878 wxColour
*arg2
= 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "col", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5893 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetColour((wxColour
const &)*arg2
);
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxBrush
*arg1
= (wxBrush
*) 0 ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "style", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5930 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5932 if (!SWIG_IsOK(ecode2
)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5935 arg2
= static_cast< int >(val2
);
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetStyle(arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5949 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
= 0;
5951 wxBrush
*arg1
= (wxBrush
*) 0 ;
5952 wxBitmap
*arg2
= 0 ;
5957 PyObject
* obj0
= 0 ;
5958 PyObject
* obj1
= 0 ;
5959 char * kwnames
[] = {
5960 (char *) "self",(char *) "stipple", NULL
5963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5968 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5970 if (!SWIG_IsOK(res2
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5976 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= SWIG_Py_Void();
5990 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5991 PyObject
*resultobj
= 0;
5992 wxBrush
*arg1
= (wxBrush
*) 0 ;
5996 PyObject
*swig_obj
[1] ;
5998 if (!args
) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6004 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= ((wxBrush
const *)arg1
)->GetColour();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6018 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6019 PyObject
*resultobj
= 0;
6020 wxBrush
*arg1
= (wxBrush
*) 0 ;
6024 PyObject
*swig_obj
[1] ;
6026 if (!args
) SWIG_fail
;
6028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6029 if (!SWIG_IsOK(res1
)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6032 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_int(static_cast< int >(result
));
6046 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6047 PyObject
*resultobj
= 0;
6048 wxBrush
*arg1
= (wxBrush
*) 0 ;
6049 wxBitmap
*result
= 0 ;
6052 PyObject
*swig_obj
[1] ;
6054 if (!args
) SWIG_fail
;
6056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6057 if (!SWIG_IsOK(res1
)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6060 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6074 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6075 PyObject
*resultobj
= 0;
6076 wxBrush
*arg1
= (wxBrush
*) 0 ;
6080 PyObject
*swig_obj
[1] ;
6082 if (!args
) SWIG_fail
;
6084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6085 if (!SWIG_IsOK(res1
)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6088 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6104 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxBrush
*arg1
= (wxBrush
*) 0 ;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6118 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->IsOk();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6134 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6137 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6138 return SWIG_Py_Void();
6141 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 return SWIG_Python_InitShadowInstance(args
);
6145 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= 0;
6147 wxString
*arg1
= 0 ;
6148 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6149 wxBitmap
*result
= 0 ;
6150 bool temp1
= false ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "name",(char *) "type", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6161 arg1
= wxString_in_helper(obj0
);
6162 if (arg1
== NULL
) SWIG_fail
;
6166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6167 if (!SWIG_IsOK(ecode2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6170 arg2
= static_cast< wxBitmapType
>(val2
);
6173 if (!wxPyCheckForApp()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6194 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6195 PyObject
*resultobj
= 0;
6196 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 PyObject
*swig_obj
[1] ;
6201 if (!args
) SWIG_fail
;
6203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6204 if (!SWIG_IsOK(res1
)) {
6205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_Py_Void();
6220 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= 0;
6224 int arg3
= (int) -1 ;
6225 wxBitmap
*result
= 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 PyObject
* obj2
= 0 ;
6235 char * kwnames
[] = {
6236 (char *) "width",(char *) "height",(char *) "depth", NULL
6239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6241 if (!SWIG_IsOK(ecode1
)) {
6242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6244 arg1
= static_cast< int >(val1
);
6245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6246 if (!SWIG_IsOK(ecode2
)) {
6247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6249 arg2
= static_cast< int >(val2
);
6251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6252 if (!SWIG_IsOK(ecode3
)) {
6253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6255 arg3
= static_cast< int >(val3
);
6258 if (!wxPyCheckForApp()) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6271 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= 0;
6274 wxBitmap
*result
= 0 ;
6277 PyObject
* obj0
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "icon", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6290 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6292 if (!wxPyCheckForApp()) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6305 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
= 0;
6308 int arg2
= (int) -1 ;
6309 wxBitmap
*result
= 0 ;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 char * kwnames
[] = {
6317 (char *) "image",(char *) "depth", NULL
6320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6321 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6322 if (!SWIG_IsOK(res1
)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6328 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6331 if (!SWIG_IsOK(ecode2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6334 arg2
= static_cast< int >(val2
);
6337 if (!wxPyCheckForApp()) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6350 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
*resultobj
= 0;
6352 PyObject
*arg1
= (PyObject
*) 0 ;
6353 wxBitmap
*result
= 0 ;
6354 PyObject
* obj0
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "listOfStrings", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= 0;
6377 PyObject
*arg1
= (PyObject
*) 0 ;
6380 int arg4
= (int) 1 ;
6381 wxBitmap
*result
= 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 PyObject
* obj3
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6399 if (!SWIG_IsOK(ecode2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6402 arg2
= static_cast< int >(val2
);
6403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6404 if (!SWIG_IsOK(ecode3
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6407 arg3
= static_cast< int >(val3
);
6409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6410 if (!SWIG_IsOK(ecode4
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6413 arg4
= static_cast< int >(val4
);
6416 if (!wxPyCheckForApp()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6429 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6430 PyObject
*resultobj
= 0;
6431 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6435 PyObject
*swig_obj
[1] ;
6437 if (!args
) SWIG_fail
;
6439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6440 if (!SWIG_IsOK(res1
)) {
6441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6445 result
= (long)(arg1
)->GetHandle();
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_From_long(static_cast< long >(result
));
6455 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "handle", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6479 arg2
= static_cast< long >(val2
);
6481 wxBitmap_SetHandle(arg1
,arg2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6497 PyObject
*swig_obj
[1] ;
6499 if (!args
) SWIG_fail
;
6501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6502 if (!SWIG_IsOK(res1
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6505 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6507 result
= (bool)(arg1
)->IsOk();
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6519 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6520 PyObject
*resultobj
= 0;
6521 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6525 PyObject
*swig_obj
[1] ;
6527 if (!args
) SWIG_fail
;
6529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6530 if (!SWIG_IsOK(res1
)) {
6531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6533 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6535 result
= (int)(arg1
)->GetWidth();
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_From_int(static_cast< int >(result
));
6545 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6546 PyObject
*resultobj
= 0;
6547 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 PyObject
*swig_obj
[1] ;
6553 if (!args
) SWIG_fail
;
6555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6556 if (!SWIG_IsOK(res1
)) {
6557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6559 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6561 result
= (int)(arg1
)->GetHeight();
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_From_int(static_cast< int >(result
));
6571 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 PyObject
*swig_obj
[1] ;
6579 if (!args
) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6587 result
= (int)(arg1
)->GetDepth();
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_From_int(static_cast< int >(result
));
6597 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 PyObject
*swig_obj
[1] ;
6605 if (!args
) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6611 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6613 result
= wxBitmap_GetSize(arg1
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6623 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6625 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6626 SwigValueWrapper
<wxImage
> result
;
6629 PyObject
*swig_obj
[1] ;
6631 if (!args
) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6637 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6639 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6640 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6649 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6650 PyObject
*resultobj
= 0;
6651 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6652 wxMask
*result
= 0 ;
6655 PyObject
*swig_obj
[1] ;
6657 if (!args
) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6665 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6678 wxMask
*arg2
= (wxMask
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "mask", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6690 if (!SWIG_IsOK(res1
)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6695 if (!SWIG_IsOK(res2
)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6699 (arg1
)->SetMask(arg2
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_Py_Void();
6709 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6712 wxColour
*arg2
= 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6718 char * kwnames
[] = {
6719 (char *) "self",(char *) "colour", NULL
6722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6724 if (!SWIG_IsOK(res1
)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6727 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6733 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_Py_Void();
6743 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6745 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6747 SwigValueWrapper
<wxBitmap
> result
;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "rect", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6768 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6778 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
= 0;
6780 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6781 wxString
*arg2
= 0 ;
6783 wxPalette
*arg4
= (wxPalette
*) NULL
;
6787 bool temp2
= false ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6794 PyObject
* obj2
= 0 ;
6795 PyObject
* obj3
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6805 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6807 arg2
= wxString_in_helper(obj1
);
6808 if (arg2
== NULL
) SWIG_fail
;
6811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6812 if (!SWIG_IsOK(ecode3
)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6815 arg3
= static_cast< wxBitmapType
>(val3
);
6817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6818 if (!SWIG_IsOK(res4
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6821 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6824 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6844 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6846 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6847 wxString
*arg2
= 0 ;
6852 bool temp2
= false ;
6855 PyObject
* obj0
= 0 ;
6856 PyObject
* obj1
= 0 ;
6857 PyObject
* obj2
= 0 ;
6858 char * kwnames
[] = {
6859 (char *) "self",(char *) "name",(char *) "type", NULL
6862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6864 if (!SWIG_IsOK(res1
)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6867 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6869 arg2
= wxString_in_helper(obj1
);
6870 if (arg2
== NULL
) SWIG_fail
;
6873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6874 if (!SWIG_IsOK(ecode3
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6877 arg3
= static_cast< wxBitmapType
>(val3
);
6879 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6899 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6900 PyObject
*resultobj
= 0;
6901 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6902 wxPalette
*result
= 0 ;
6905 PyObject
*swig_obj
[1] ;
6907 if (!args
) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6916 if (PyErr_Occurred()) SWIG_fail
;
6918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6925 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
= 0;
6927 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6928 wxPalette
*arg2
= 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "self",(char *) "palette", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6944 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6946 if (!SWIG_IsOK(res2
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6952 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6954 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "icon", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6992 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6994 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7006 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
= 0;
7008 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 char * kwnames
[] = {
7017 (char *) "self",(char *) "height", NULL
7020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7022 if (!SWIG_IsOK(res1
)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7025 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7027 if (!SWIG_IsOK(ecode2
)) {
7028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7030 arg2
= static_cast< int >(val2
);
7032 (arg1
)->SetHeight(arg2
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "width", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7061 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7063 if (!SWIG_IsOK(ecode2
)) {
7064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7066 arg2
= static_cast< int >(val2
);
7068 (arg1
)->SetWidth(arg2
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 resultobj
= SWIG_Py_Void();
7078 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
= 0;
7080 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7088 char * kwnames
[] = {
7089 (char *) "self",(char *) "depth", NULL
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7097 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7099 if (!SWIG_IsOK(ecode2
)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7102 arg2
= static_cast< int >(val2
);
7104 (arg1
)->SetDepth(arg2
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_Py_Void();
7114 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
= 0;
7116 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 char * kwnames
[] = {
7124 (char *) "self",(char *) "size", NULL
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7138 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_Py_Void();
7148 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7151 wxCursor
*arg2
= 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "cursor", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7170 if (!SWIG_IsOK(res2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7176 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7178 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7190 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
= 0;
7192 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "self",(char *) "data", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7211 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7215 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_Py_Void();
7225 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
= 0;
7227 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "data", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7244 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7246 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7250 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= SWIG_Py_Void();
7260 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
= 0;
7262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7263 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "self",(char *) "other", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7282 if (!SWIG_IsOK(res2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7287 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7299 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
= 0;
7301 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7302 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 char * kwnames
[] = {
7311 (char *) "self",(char *) "other", NULL
7314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7321 if (!SWIG_IsOK(res2
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7324 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7326 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7338 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7341 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7342 return SWIG_Py_Void();
7345 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 return SWIG_Python_InitShadowInstance(args
);
7349 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
= 0;
7357 wxBitmap
*result
= 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 PyObject
* obj2
= 0 ;
7367 PyObject
* obj3
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7374 if (!SWIG_IsOK(ecode1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7377 arg1
= static_cast< int >(val1
);
7378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7379 if (!SWIG_IsOK(ecode2
)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7382 arg2
= static_cast< int >(val2
);
7384 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7388 if (obj3
!= Py_None
) {
7389 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7394 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7404 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
= 0;
7410 wxBitmap
*result
= 0 ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 char * kwnames
[] = {
7420 (char *) "width",(char *) "height",(char *) "data", NULL
7423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7425 if (!SWIG_IsOK(ecode1
)) {
7426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7428 arg1
= static_cast< int >(val1
);
7429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7430 if (!SWIG_IsOK(ecode2
)) {
7431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7433 arg2
= static_cast< int >(val2
);
7435 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7439 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7455 wxBitmap
*result
= 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 PyObject
* obj2
= 0 ;
7464 char * kwnames
[] = {
7465 (char *) "width",(char *) "height",(char *) "data", NULL
7468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7470 if (!SWIG_IsOK(ecode1
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7473 arg1
= static_cast< int >(val1
);
7474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7475 if (!SWIG_IsOK(ecode2
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7478 arg2
= static_cast< int >(val2
);
7480 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7484 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7494 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7495 PyObject
*resultobj
= 0;
7496 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7500 PyObject
*swig_obj
[1] ;
7502 if (!args
) SWIG_fail
;
7504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7505 if (!SWIG_IsOK(res1
)) {
7506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7508 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7510 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7520 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 PyObject
*resultobj
= 0;
7522 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7526 PyObject
*swig_obj
[1] ;
7528 if (!args
) SWIG_fail
;
7530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7531 if (!SWIG_IsOK(res1
)) {
7532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7534 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7536 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_From_int(static_cast< int >(result
));
7546 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7552 PyObject
*swig_obj
[1] ;
7554 if (!args
) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7560 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7562 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= SWIG_From_int(static_cast< int >(result
));
7572 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7573 PyObject
*resultobj
= 0;
7574 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7578 PyObject
*swig_obj
[1] ;
7580 if (!args
) SWIG_fail
;
7582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7583 if (!SWIG_IsOK(res1
)) {
7584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7586 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7588 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7598 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7599 PyObject
*resultobj
= 0;
7600 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7604 PyObject
*swig_obj
[1] ;
7606 if (!args
) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7612 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7614 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_From_int(static_cast< int >(result
));
7624 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7627 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7628 return SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7632 PyObject
*resultobj
= 0;
7633 wxBitmap
*arg1
= 0 ;
7634 wxNativePixelData
*result
= 0 ;
7638 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7646 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7648 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7658 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7659 PyObject
*resultobj
= 0;
7660 wxBitmap
*arg1
= 0 ;
7662 wxNativePixelData
*result
= 0 ;
7667 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7669 if (!SWIG_IsOK(res1
)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7678 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7681 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7691 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7692 PyObject
*resultobj
= 0;
7693 wxBitmap
*arg1
= 0 ;
7696 wxNativePixelData
*result
= 0 ;
7702 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7713 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7717 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7720 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7730 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7734 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7737 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7740 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7743 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7747 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7752 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7753 PyObject
*resultobj
= 0;
7754 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7757 PyObject
*swig_obj
[1] ;
7759 if (!args
) SWIG_fail
;
7761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7762 if (!SWIG_IsOK(res1
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7765 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_Py_Void();
7778 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7781 wxNativePixelData_Accessor result
;
7784 PyObject
*swig_obj
[1] ;
7786 if (!args
) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7792 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7794 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7804 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7809 PyObject
*swig_obj
[1] ;
7811 if (!args
) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7817 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7831 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7835 PyObject
*swig_obj
[1] ;
7837 if (!args
) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7843 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7845 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7857 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7860 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7861 return SWIG_Py_Void();
7864 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 return SWIG_Python_InitShadowInstance(args
);
7868 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7869 PyObject
*resultobj
= 0;
7870 wxNativePixelData
*arg1
= 0 ;
7871 wxNativePixelData_Accessor
*result
= 0 ;
7875 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7883 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7885 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7895 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7896 PyObject
*resultobj
= 0;
7897 wxBitmap
*arg1
= 0 ;
7898 wxNativePixelData
*arg2
= 0 ;
7899 wxNativePixelData_Accessor
*result
= 0 ;
7905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7907 if (!SWIG_IsOK(res1
)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7914 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7915 if (!SWIG_IsOK(res2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7921 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7923 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7933 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7934 PyObject
*resultobj
= 0;
7935 wxNativePixelData_Accessor
*result
= 0 ;
7937 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7939 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7949 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7953 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7956 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7959 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7962 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7966 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7971 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7984 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_Py_Void();
7997 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
= 0;
7999 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8000 wxNativePixelData
*arg2
= 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "data", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8016 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8024 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8026 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8050 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8052 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8064 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 PyObject
*resultobj
= 0;
8066 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8069 PyObject
*swig_obj
[1] ;
8071 if (!args
) SWIG_fail
;
8073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8074 if (!SWIG_IsOK(res1
)) {
8075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8077 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8079 wxNativePixelData_Accessor_nextPixel(arg1
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8092 wxNativePixelData
*arg2
= 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8124 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8126 if (!SWIG_IsOK(ecode3
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8129 arg3
= static_cast< int >(val3
);
8130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8131 if (!SWIG_IsOK(ecode4
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8134 arg4
= static_cast< int >(val4
);
8136 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8149 wxNativePixelData
*arg2
= 0 ;
8157 PyObject
* obj0
= 0 ;
8158 PyObject
* obj1
= 0 ;
8159 PyObject
* obj2
= 0 ;
8160 char * kwnames
[] = {
8161 (char *) "self",(char *) "data",(char *) "x", NULL
8164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8169 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8171 if (!SWIG_IsOK(res2
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8177 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8179 if (!SWIG_IsOK(ecode3
)) {
8180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8182 arg3
= static_cast< int >(val3
);
8184 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_Py_Void();
8194 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= 0;
8196 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8197 wxNativePixelData
*arg2
= 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 char * kwnames
[] = {
8209 (char *) "self",(char *) "data",(char *) "y", NULL
8212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8214 if (!SWIG_IsOK(res1
)) {
8215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8217 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8219 if (!SWIG_IsOK(res2
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8225 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8226 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8227 if (!SWIG_IsOK(ecode3
)) {
8228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8230 arg3
= static_cast< int >(val3
);
8232 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8245 wxNativePixelData
*arg2
= 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8258 PyObject
* obj2
= 0 ;
8259 PyObject
* obj3
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8269 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8277 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8284 if (!SWIG_IsOK(ecode4
)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8287 arg4
= static_cast< int >(val4
);
8289 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_Py_Void();
8299 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
= 0;
8301 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8307 unsigned char val2
;
8309 unsigned char val3
;
8311 unsigned char val4
;
8313 PyObject
* obj0
= 0 ;
8314 PyObject
* obj1
= 0 ;
8315 PyObject
* obj2
= 0 ;
8316 PyObject
* obj3
= 0 ;
8317 char * kwnames
[] = {
8318 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8326 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8327 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8328 if (!SWIG_IsOK(ecode2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8331 arg2
= static_cast< byte
>(val2
);
8332 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8336 arg3
= static_cast< byte
>(val3
);
8337 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8338 if (!SWIG_IsOK(ecode4
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8341 arg4
= static_cast< byte
>(val4
);
8343 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8354 PyObject
*resultobj
= 0;
8355 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8356 PyObject
*result
= 0 ;
8359 PyObject
*swig_obj
[1] ;
8361 if (!args
) SWIG_fail
;
8363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8364 if (!SWIG_IsOK(res1
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8367 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8369 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8379 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8382 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8383 return SWIG_Py_Void();
8386 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8387 return SWIG_Python_InitShadowInstance(args
);
8390 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8391 PyObject
*resultobj
= 0;
8392 wxBitmap
*arg1
= 0 ;
8393 wxAlphaPixelData
*result
= 0 ;
8397 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8399 if (!SWIG_IsOK(res1
)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8407 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8417 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8418 PyObject
*resultobj
= 0;
8419 wxBitmap
*arg1
= 0 ;
8421 wxAlphaPixelData
*result
= 0 ;
8426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8437 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8440 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8450 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8451 PyObject
*resultobj
= 0;
8452 wxBitmap
*arg1
= 0 ;
8455 wxAlphaPixelData
*result
= 0 ;
8461 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8469 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8472 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8476 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8479 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8489 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8496 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8499 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8502 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8511 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8516 PyObject
*swig_obj
[1] ;
8518 if (!args
) SWIG_fail
;
8520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8521 if (!SWIG_IsOK(res1
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8524 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_Py_Void();
8537 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8540 wxAlphaPixelData_Accessor result
;
8543 PyObject
*swig_obj
[1] ;
8545 if (!args
) SWIG_fail
;
8547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8548 if (!SWIG_IsOK(res1
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8551 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8553 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8568 PyObject
*swig_obj
[1] ;
8570 if (!args
) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8576 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_Py_Void();
8588 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8589 PyObject
*resultobj
= 0;
8590 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8594 PyObject
*swig_obj
[1] ;
8596 if (!args
) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8602 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8604 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8616 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8619 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8620 return SWIG_Py_Void();
8623 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 return SWIG_Python_InitShadowInstance(args
);
8627 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8628 PyObject
*resultobj
= 0;
8629 wxAlphaPixelData
*arg1
= 0 ;
8630 wxAlphaPixelData_Accessor
*result
= 0 ;
8634 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8636 if (!SWIG_IsOK(res1
)) {
8637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8642 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8644 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8654 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8655 PyObject
*resultobj
= 0;
8656 wxBitmap
*arg1
= 0 ;
8657 wxAlphaPixelData
*arg2
= 0 ;
8658 wxAlphaPixelData_Accessor
*result
= 0 ;
8664 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8666 if (!SWIG_IsOK(res1
)) {
8667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8672 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8673 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8674 if (!SWIG_IsOK(res2
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8680 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8682 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8692 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8693 PyObject
*resultobj
= 0;
8694 wxAlphaPixelData_Accessor
*result
= 0 ;
8696 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8698 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8708 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8712 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8715 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8718 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8721 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8725 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8730 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8731 PyObject
*resultobj
= 0;
8732 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8735 PyObject
*swig_obj
[1] ;
8737 if (!args
) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8743 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_Py_Void();
8756 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
= 0;
8758 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8759 wxAlphaPixelData
*arg2
= 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "self",(char *) "data", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8775 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8777 if (!SWIG_IsOK(res2
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8783 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8785 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8796 PyObject
*resultobj
= 0;
8797 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8801 PyObject
*swig_obj
[1] ;
8803 if (!args
) SWIG_fail
;
8805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8806 if (!SWIG_IsOK(res1
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8809 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8811 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8812 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8823 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8824 PyObject
*resultobj
= 0;
8825 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8836 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8838 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_Py_Void();
8848 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8851 wxAlphaPixelData
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 PyObject
* obj3
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8875 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8883 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8890 if (!SWIG_IsOK(ecode4
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8893 arg4
= static_cast< int >(val4
);
8895 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8908 wxAlphaPixelData
*arg2
= 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8919 char * kwnames
[] = {
8920 (char *) "self",(char *) "data",(char *) "x", NULL
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8928 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8930 if (!SWIG_IsOK(res2
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8936 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8938 if (!SWIG_IsOK(ecode3
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8941 arg3
= static_cast< int >(val3
);
8943 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_Py_Void();
8953 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
= 0;
8955 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8956 wxAlphaPixelData
*arg2
= 0 ;
8964 PyObject
* obj0
= 0 ;
8965 PyObject
* obj1
= 0 ;
8966 PyObject
* obj2
= 0 ;
8967 char * kwnames
[] = {
8968 (char *) "self",(char *) "data",(char *) "y", NULL
8971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8973 if (!SWIG_IsOK(res1
)) {
8974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8976 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8978 if (!SWIG_IsOK(res2
)) {
8979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8984 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8986 if (!SWIG_IsOK(ecode3
)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8989 arg3
= static_cast< int >(val3
);
8991 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9001 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
= 0;
9003 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9004 wxAlphaPixelData
*arg2
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9018 PyObject
* obj3
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9028 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9030 if (!SWIG_IsOK(res2
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9036 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9038 if (!SWIG_IsOK(ecode3
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9041 arg3
= static_cast< int >(val3
);
9042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9043 if (!SWIG_IsOK(ecode4
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9046 arg4
= static_cast< int >(val4
);
9048 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
= 0;
9060 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9067 unsigned char val2
;
9069 unsigned char val3
;
9071 unsigned char val4
;
9073 unsigned char val5
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9078 PyObject
* obj3
= 0 ;
9079 PyObject
* obj4
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9089 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9090 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9091 if (!SWIG_IsOK(ecode2
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9094 arg2
= static_cast< byte
>(val2
);
9095 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9099 arg3
= static_cast< byte
>(val3
);
9100 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9101 if (!SWIG_IsOK(ecode4
)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9104 arg4
= static_cast< byte
>(val4
);
9105 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9106 if (!SWIG_IsOK(ecode5
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9109 arg5
= static_cast< byte
>(val5
);
9111 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= SWIG_Py_Void();
9121 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 PyObject
*resultobj
= 0;
9123 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9124 PyObject
*result
= 0 ;
9127 PyObject
*swig_obj
[1] ;
9129 if (!args
) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9135 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9137 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9147 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9150 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9151 return SWIG_Py_Void();
9154 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9155 return SWIG_Python_InitShadowInstance(args
);
9158 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxBitmap
*arg1
= 0 ;
9161 wxColour
const &arg2_defvalue
= wxNullColour
;
9162 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9163 wxMask
*result
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "bitmap",(char *) "colour", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9181 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9202 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 PyObject
*resultobj
= 0;
9204 wxMask
*arg1
= (wxMask
*) 0 ;
9207 PyObject
*swig_obj
[1] ;
9209 if (!args
) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9215 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9231 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9232 return SWIG_Py_Void();
9235 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 return SWIG_Python_InitShadowInstance(args
);
9239 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
= 0;
9241 wxString
*arg1
= 0 ;
9243 int arg3
= (int) -1 ;
9244 int arg4
= (int) -1 ;
9245 wxIcon
*result
= 0 ;
9246 bool temp1
= false ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9256 PyObject
* obj3
= 0 ;
9257 char * kwnames
[] = {
9258 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9263 arg1
= wxString_in_helper(obj0
);
9264 if (arg1
== NULL
) SWIG_fail
;
9267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9268 if (!SWIG_IsOK(ecode2
)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9271 arg2
= static_cast< wxBitmapType
>(val2
);
9273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9274 if (!SWIG_IsOK(ecode3
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9277 arg3
= static_cast< int >(val3
);
9280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9281 if (!SWIG_IsOK(ecode4
)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9284 arg4
= static_cast< int >(val4
);
9287 if (!wxPyCheckForApp()) SWIG_fail
;
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9308 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxIcon
*arg1
= (wxIcon
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9321 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_Py_Void();
9336 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9337 PyObject
*resultobj
= 0;
9338 wxIcon
*result
= 0 ;
9340 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9342 if (!wxPyCheckForApp()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxIcon
*)new wxIcon();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9355 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxIconLocation
*arg1
= 0 ;
9358 wxIcon
*result
= 0 ;
9361 PyObject
* obj0
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "loc", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9374 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9376 if (!wxPyCheckForApp()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9389 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
= 0;
9391 wxBitmap
*arg1
= 0 ;
9392 wxIcon
*result
= 0 ;
9395 PyObject
* obj0
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "bmp", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9410 if (!wxPyCheckForApp()) SWIG_fail
;
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9423 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 PyObject
*arg1
= (PyObject
*) 0 ;
9426 wxIcon
*result
= 0 ;
9427 PyObject
* obj0
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "listOfStrings", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxIcon
*)new_wxIcon(arg1
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9448 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxIcon
*arg1
= (wxIcon
*) 0 ;
9451 wxString
*arg2
= 0 ;
9456 bool temp2
= false ;
9459 PyObject
* obj0
= 0 ;
9460 PyObject
* obj1
= 0 ;
9461 PyObject
* obj2
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "self",(char *) "name",(char *) "type", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9473 arg2
= wxString_in_helper(obj1
);
9474 if (arg2
== NULL
) SWIG_fail
;
9477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9478 if (!SWIG_IsOK(ecode3
)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9481 arg3
= static_cast< wxBitmapType
>(val3
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9505 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9506 PyObject
*resultobj
= 0;
9507 wxIcon
*arg1
= (wxIcon
*) 0 ;
9511 PyObject
*swig_obj
[1] ;
9513 if (!args
) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9519 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (long)(arg1
)->GetHandle();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_From_long(static_cast< long >(result
));
9533 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= 0;
9535 wxIcon
*arg1
= (wxIcon
*) 0 ;
9541 PyObject
* obj0
= 0 ;
9542 PyObject
* obj1
= 0 ;
9543 char * kwnames
[] = {
9544 (char *) "self",(char *) "handle", NULL
9547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9549 if (!SWIG_IsOK(res1
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9552 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9554 if (!SWIG_IsOK(ecode2
)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9557 arg2
= static_cast< long >(val2
);
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 wxIcon_SetHandle(arg1
,arg2
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= SWIG_Py_Void();
9571 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9572 PyObject
*resultobj
= 0;
9573 wxIcon
*arg1
= (wxIcon
*) 0 ;
9577 PyObject
*swig_obj
[1] ;
9579 if (!args
) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9585 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->IsOk();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9601 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 PyObject
*resultobj
= 0;
9603 wxIcon
*arg1
= (wxIcon
*) 0 ;
9607 PyObject
*swig_obj
[1] ;
9609 if (!args
) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9615 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetWidth();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_From_int(static_cast< int >(result
));
9629 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9630 PyObject
*resultobj
= 0;
9631 wxIcon
*arg1
= (wxIcon
*) 0 ;
9635 PyObject
*swig_obj
[1] ;
9637 if (!args
) SWIG_fail
;
9639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9640 if (!SWIG_IsOK(res1
)) {
9641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9643 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (int)(arg1
)->GetHeight();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_From_int(static_cast< int >(result
));
9657 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9658 PyObject
*resultobj
= 0;
9659 wxIcon
*arg1
= (wxIcon
*) 0 ;
9663 PyObject
*swig_obj
[1] ;
9665 if (!args
) SWIG_fail
;
9667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9668 if (!SWIG_IsOK(res1
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9671 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)(arg1
)->GetDepth();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_From_int(static_cast< int >(result
));
9685 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxIcon
*arg1
= (wxIcon
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9695 char * kwnames
[] = {
9696 (char *) "self",(char *) "w", NULL
9699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9704 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9706 if (!SWIG_IsOK(ecode2
)) {
9707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9709 arg2
= static_cast< int >(val2
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->SetWidth(arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxIcon
*arg1
= (wxIcon
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 char * kwnames
[] = {
9734 (char *) "self",(char *) "h", NULL
9737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9742 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9744 if (!SWIG_IsOK(ecode2
)) {
9745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9747 arg2
= static_cast< int >(val2
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->SetHeight(arg2
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_Py_Void();
9761 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
= 0;
9763 wxIcon
*arg1
= (wxIcon
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 char * kwnames
[] = {
9772 (char *) "self",(char *) "d", NULL
9775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9780 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9782 if (!SWIG_IsOK(ecode2
)) {
9783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9785 arg2
= static_cast< int >(val2
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 (arg1
)->SetDepth(arg2
);
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_Py_Void();
9799 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9800 PyObject
*resultobj
= 0;
9801 wxIcon
*arg1
= (wxIcon
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9807 PyObject
* obj1
= 0 ;
9808 char * kwnames
[] = {
9809 (char *) "self",(char *) "size", NULL
9812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9817 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetSize((wxSize
const &)*arg2
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxIcon
*arg1
= (wxIcon
*) 0 ;
9838 wxBitmap
*arg2
= 0 ;
9843 PyObject
* obj0
= 0 ;
9844 PyObject
* obj1
= 0 ;
9845 char * kwnames
[] = {
9846 (char *) "self",(char *) "bmp", NULL
9849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9851 if (!SWIG_IsOK(res1
)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9854 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9856 if (!SWIG_IsOK(res2
)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9862 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 resultobj
= SWIG_Py_Void();
9876 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9879 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9880 return SWIG_Py_Void();
9883 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9884 return SWIG_Python_InitShadowInstance(args
);
9887 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
= 0;
9889 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9890 int arg2
= (int) 0 ;
9891 wxIconLocation
*result
= 0 ;
9892 bool temp1
= false ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "filename",(char *) "num", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9904 arg1
= wxString_in_helper(obj0
);
9905 if (arg1
== NULL
) SWIG_fail
;
9910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9911 if (!SWIG_IsOK(ecode2
)) {
9912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9914 arg2
= static_cast< int >(val2
);
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9937 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9938 PyObject
*resultobj
= 0;
9939 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9950 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= SWIG_Py_Void();
9965 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 PyObject
*resultobj
= 0;
9967 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9971 PyObject
*swig_obj
[1] ;
9973 if (!args
) SWIG_fail
;
9975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9976 if (!SWIG_IsOK(res1
)) {
9977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9979 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9995 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
= 0;
9997 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9998 wxString
*arg2
= 0 ;
10001 bool temp2
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "filename", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10013 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10015 arg2
= wxString_in_helper(obj1
);
10016 if (arg2
== NULL
) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 (arg1
)->SetFileName((wxString
const &)*arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_Py_Void();
10040 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10041 PyObject
*resultobj
= 0;
10042 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10043 wxString
*result
= 0 ;
10046 PyObject
*swig_obj
[1] ;
10048 if (!args
) SWIG_fail
;
10049 swig_obj
[0] = args
;
10050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10054 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10059 result
= (wxString
*) &_result_ref
;
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10077 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "num", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10096 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10098 if (!SWIG_IsOK(ecode2
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10101 arg2
= static_cast< int >(val2
);
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 wxIconLocation_SetIndex(arg1
,arg2
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_Py_Void();
10115 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10129 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (int)wxIconLocation_GetIndex(arg1
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_From_int(static_cast< int >(result
));
10143 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10146 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10147 return SWIG_Py_Void();
10150 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10151 return SWIG_Python_InitShadowInstance(args
);
10154 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 PyObject
*resultobj
= 0;
10156 wxIconBundle
*result
= 0 ;
10158 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10161 result
= (wxIconBundle
*)new wxIconBundle();
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10172 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
= 0;
10174 wxString
*arg1
= 0 ;
10176 wxIconBundle
*result
= 0 ;
10177 bool temp1
= false ;
10180 PyObject
* obj0
= 0 ;
10181 PyObject
* obj1
= 0 ;
10182 char * kwnames
[] = {
10183 (char *) "file",(char *) "type", NULL
10186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10188 arg1
= wxString_in_helper(obj0
);
10189 if (arg1
== NULL
) SWIG_fail
;
10192 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10193 if (!SWIG_IsOK(ecode2
)) {
10194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10196 arg2
= static_cast< long >(val2
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10218 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10221 wxIconBundle
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "icon", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10251 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10252 PyObject
*resultobj
= 0;
10253 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10256 PyObject
*swig_obj
[1] ;
10258 if (!args
) SWIG_fail
;
10259 swig_obj
[0] = args
;
10260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10264 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_Py_Void();
10279 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "icon", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10298 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10300 if (!SWIG_IsOK(res2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10306 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_Py_Void();
10320 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10323 wxString
*arg2
= 0 ;
10327 bool temp2
= false ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char * kwnames
[] = {
10334 (char *) "self",(char *) "file",(char *) "type", NULL
10337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10342 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10344 arg2
= wxString_in_helper(obj1
);
10345 if (arg2
== NULL
) SWIG_fail
;
10348 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10349 if (!SWIG_IsOK(ecode3
)) {
10350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10352 arg3
= static_cast< long >(val3
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_Py_Void();
10374 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
= 0;
10376 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10378 wxIcon
*result
= 0 ;
10382 PyObject
* obj0
= 0 ;
10383 PyObject
* obj1
= 0 ;
10384 char * kwnames
[] = {
10385 (char *) "self",(char *) "size", NULL
10388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10393 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10402 result
= (wxIcon
*) &_result_ref
;
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 wxIcon
* resultptr
= new wxIcon(*result
);
10409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10417 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10420 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10421 return SWIG_Py_Void();
10424 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10425 return SWIG_Python_InitShadowInstance(args
);
10428 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxString
*arg1
= 0 ;
10432 int arg3
= (int) 0 ;
10433 int arg4
= (int) 0 ;
10434 wxCursor
*result
= 0 ;
10435 bool temp1
= false ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 PyObject
* obj3
= 0 ;
10446 char * kwnames
[] = {
10447 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 arg1
= wxString_in_helper(obj0
);
10453 if (arg1
== NULL
) SWIG_fail
;
10456 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10457 if (!SWIG_IsOK(ecode2
)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10460 arg2
= static_cast< long >(val2
);
10462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10463 if (!SWIG_IsOK(ecode3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10466 arg3
= static_cast< int >(val3
);
10469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10470 if (!SWIG_IsOK(ecode4
)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10473 arg4
= static_cast< int >(val4
);
10476 if (!wxPyCheckForApp()) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10497 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10498 PyObject
*resultobj
= 0;
10499 wxCursor
*arg1
= (wxCursor
*) 0 ;
10502 PyObject
*swig_obj
[1] ;
10504 if (!args
) SWIG_fail
;
10505 swig_obj
[0] = args
;
10506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10507 if (!SWIG_IsOK(res1
)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10510 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_Py_Void();
10525 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10528 wxCursor
*result
= 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char * kwnames
[] = {
10533 (char *) "id", NULL
10536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10538 if (!SWIG_IsOK(ecode1
)) {
10539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10541 arg1
= static_cast< int >(val1
);
10543 if (!wxPyCheckForApp()) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (wxCursor
*)new wxCursor(arg1
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10556 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxImage
*arg1
= 0 ;
10559 wxCursor
*result
= 0 ;
10562 PyObject
* obj0
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "image", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10568 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10575 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10577 if (!wxPyCheckForApp()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10590 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 PyObject
*resultobj
= 0;
10592 wxCursor
*arg1
= (wxCursor
*) 0 ;
10596 PyObject
*swig_obj
[1] ;
10598 if (!args
) SWIG_fail
;
10599 swig_obj
[0] = args
;
10600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10604 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (long)(arg1
)->GetHandle();
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_From_long(static_cast< long >(result
));
10618 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
= 0;
10620 wxCursor
*arg1
= (wxCursor
*) 0 ;
10626 PyObject
* obj0
= 0 ;
10627 PyObject
* obj1
= 0 ;
10628 char * kwnames
[] = {
10629 (char *) "self",(char *) "handle", NULL
10632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10637 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10638 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10639 if (!SWIG_IsOK(ecode2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10642 arg2
= static_cast< long >(val2
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 wxCursor_SetHandle(arg1
,arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= SWIG_Py_Void();
10656 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10657 PyObject
*resultobj
= 0;
10658 wxCursor
*arg1
= (wxCursor
*) 0 ;
10662 PyObject
*swig_obj
[1] ;
10664 if (!args
) SWIG_fail
;
10665 swig_obj
[0] = args
;
10666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10667 if (!SWIG_IsOK(res1
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10670 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (bool)(arg1
)->IsOk();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10686 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10687 PyObject
*resultobj
= 0;
10688 wxCursor
*arg1
= (wxCursor
*) 0 ;
10692 PyObject
*swig_obj
[1] ;
10694 if (!args
) SWIG_fail
;
10695 swig_obj
[0] = args
;
10696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10697 if (!SWIG_IsOK(res1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10700 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)(arg1
)->GetWidth();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_From_int(static_cast< int >(result
));
10714 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10715 PyObject
*resultobj
= 0;
10716 wxCursor
*arg1
= (wxCursor
*) 0 ;
10720 PyObject
*swig_obj
[1] ;
10722 if (!args
) SWIG_fail
;
10723 swig_obj
[0] = args
;
10724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10725 if (!SWIG_IsOK(res1
)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10728 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (int)(arg1
)->GetHeight();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_From_int(static_cast< int >(result
));
10742 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10743 PyObject
*resultobj
= 0;
10744 wxCursor
*arg1
= (wxCursor
*) 0 ;
10748 PyObject
*swig_obj
[1] ;
10750 if (!args
) SWIG_fail
;
10751 swig_obj
[0] = args
;
10752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10753 if (!SWIG_IsOK(res1
)) {
10754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10756 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (int)(arg1
)->GetDepth();
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10770 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= 0;
10772 wxCursor
*arg1
= (wxCursor
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char * kwnames
[] = {
10781 (char *) "self",(char *) "w", NULL
10784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10789 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10791 if (!SWIG_IsOK(ecode2
)) {
10792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10794 arg2
= static_cast< int >(val2
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 (arg1
)->SetWidth(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= SWIG_Py_Void();
10808 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxCursor
*arg1
= (wxCursor
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 char * kwnames
[] = {
10819 (char *) "self",(char *) "h", NULL
10822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10824 if (!SWIG_IsOK(res1
)) {
10825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10827 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10829 if (!SWIG_IsOK(ecode2
)) {
10830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10832 arg2
= static_cast< int >(val2
);
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 (arg1
)->SetHeight(arg2
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_Py_Void();
10846 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxCursor
*arg1
= (wxCursor
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 PyObject
* obj1
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "d", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10865 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10870 arg2
= static_cast< int >(val2
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetDepth(arg2
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_Py_Void();
10884 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxCursor
*arg1
= (wxCursor
*) 0 ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char * kwnames
[] = {
10894 (char *) "self",(char *) "size", NULL
10897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10899 if (!SWIG_IsOK(res1
)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10902 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetSize((wxSize
const &)*arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10923 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10924 return SWIG_Py_Void();
10927 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10928 return SWIG_Python_InitShadowInstance(args
);
10931 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 int arg1
= (int) 0 ;
10934 int arg2
= (int) 0 ;
10935 int arg3
= (int) 0 ;
10936 int arg4
= (int) 0 ;
10937 wxRegion
*result
= 0 ;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 PyObject
* obj2
= 0 ;
10949 PyObject
* obj3
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10956 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10957 if (!SWIG_IsOK(ecode1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10960 arg1
= static_cast< int >(val1
);
10963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10964 if (!SWIG_IsOK(ecode2
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10967 arg2
= static_cast< int >(val2
);
10970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10971 if (!SWIG_IsOK(ecode3
)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10974 arg3
= static_cast< int >(val3
);
10977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10978 if (!SWIG_IsOK(ecode4
)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10981 arg4
= static_cast< int >(val4
);
10984 if (!wxPyCheckForApp()) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10997 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
= 0;
10999 wxBitmap
*arg1
= 0 ;
11000 wxRegion
*result
= 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "bmp", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11018 if (!wxPyCheckForApp()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11031 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= 0;
11033 wxBitmap
*arg1
= 0 ;
11034 wxColour
*arg2
= 0 ;
11035 int arg3
= (int) 0 ;
11036 wxRegion
*result
= 0 ;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 PyObject
* obj2
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11064 if (!SWIG_IsOK(ecode3
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11067 arg3
= static_cast< int >(val3
);
11070 if (!wxPyCheckForApp()) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) SWIG_fail
;
11076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11083 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= 0;
11086 wxPoint
*arg2
= (wxPoint
*) 0 ;
11087 int arg3
= (int) wxWINDING_RULE
;
11088 wxRegion
*result
= 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 char * kwnames
[] = {
11094 (char *) "points",(char *) "fillStyle", NULL
11097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11099 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11100 if (arg2
== NULL
) SWIG_fail
;
11103 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11104 if (!SWIG_IsOK(ecode3
)) {
11105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11107 arg3
= static_cast< int >(val3
);
11110 if (!wxPyCheckForApp()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11118 if (arg2
) delete [] arg2
;
11123 if (arg2
) delete [] arg2
;
11129 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= (wxRegion
*) 0 ;
11134 PyObject
*swig_obj
[1] ;
11136 if (!args
) SWIG_fail
;
11137 swig_obj
[0] = args
;
11138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11139 if (!SWIG_IsOK(res1
)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= SWIG_Py_Void();
11157 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11158 PyObject
*resultobj
= 0;
11159 wxRegion
*arg1
= (wxRegion
*) 0 ;
11162 PyObject
*swig_obj
[1] ;
11164 if (!args
) SWIG_fail
;
11165 swig_obj
[0] = args
;
11166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11170 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_Py_Void();
11184 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxRegion
*arg1
= (wxRegion
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 PyObject
* obj1
= 0 ;
11198 PyObject
* obj2
= 0 ;
11199 char * kwnames
[] = {
11200 (char *) "self",(char *) "x",(char *) "y", NULL
11203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11205 if (!SWIG_IsOK(res1
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11208 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11210 if (!SWIG_IsOK(ecode2
)) {
11211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11213 arg2
= static_cast< int >(val2
);
11214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11215 if (!SWIG_IsOK(ecode3
)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11218 arg3
= static_cast< int >(val3
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
= 0;
11236 wxRegion
*arg1
= (wxRegion
*) 0 ;
11239 wxRegionContain result
;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "x",(char *) "y", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11260 if (!SWIG_IsOK(ecode2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11263 arg2
= static_cast< int >(val2
);
11264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11265 if (!SWIG_IsOK(ecode3
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11268 arg3
= static_cast< int >(val3
);
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= SWIG_From_int(static_cast< int >(result
));
11282 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11284 wxRegion
*arg1
= (wxRegion
*) 0 ;
11285 wxPoint
*arg2
= 0 ;
11286 wxRegionContain result
;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "pt", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_From_int(static_cast< int >(result
));
11319 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegion
*arg1
= (wxRegion
*) 0 ;
11323 wxRegionContain result
;
11327 PyObject
* obj0
= 0 ;
11328 PyObject
* obj1
= 0 ;
11329 char * kwnames
[] = {
11330 (char *) "self",(char *) "rect", NULL
11333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11335 if (!SWIG_IsOK(res1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= SWIG_From_int(static_cast< int >(result
));
11356 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= 0;
11358 wxRegion
*arg1
= (wxRegion
*) 0 ;
11363 wxRegionContain result
;
11374 PyObject
* obj0
= 0 ;
11375 PyObject
* obj1
= 0 ;
11376 PyObject
* obj2
= 0 ;
11377 PyObject
* obj3
= 0 ;
11378 PyObject
* obj4
= 0 ;
11379 char * kwnames
[] = {
11380 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11388 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11390 if (!SWIG_IsOK(ecode2
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11393 arg2
= static_cast< int >(val2
);
11394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11395 if (!SWIG_IsOK(ecode3
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11398 arg3
= static_cast< int >(val3
);
11399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11400 if (!SWIG_IsOK(ecode4
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11403 arg4
= static_cast< int >(val4
);
11404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11405 if (!SWIG_IsOK(ecode5
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11408 arg5
= static_cast< int >(val5
);
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= SWIG_From_int(static_cast< int >(result
));
11422 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11423 PyObject
*resultobj
= 0;
11424 wxRegion
*arg1
= (wxRegion
*) 0 ;
11428 PyObject
*swig_obj
[1] ;
11430 if (!args
) SWIG_fail
;
11431 swig_obj
[0] = args
;
11432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11436 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (arg1
)->GetBox();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11450 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
= 0;
11452 wxRegion
*arg1
= (wxRegion
*) 0 ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 PyObject
* obj2
= 0 ;
11471 PyObject
* obj3
= 0 ;
11472 PyObject
* obj4
= 0 ;
11473 char * kwnames
[] = {
11474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11479 if (!SWIG_IsOK(res1
)) {
11480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11482 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11484 if (!SWIG_IsOK(ecode2
)) {
11485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11487 arg2
= static_cast< int >(val2
);
11488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11489 if (!SWIG_IsOK(ecode3
)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11492 arg3
= static_cast< int >(val3
);
11493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11494 if (!SWIG_IsOK(ecode4
)) {
11495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11497 arg4
= static_cast< int >(val4
);
11498 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11499 if (!SWIG_IsOK(ecode5
)) {
11500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11502 arg5
= static_cast< int >(val5
);
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11518 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 wxRegion
*arg1
= (wxRegion
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char * kwnames
[] = {
11529 (char *) "self",(char *) "rect", NULL
11532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11534 if (!SWIG_IsOK(res1
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11537 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11540 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11557 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegion
*arg1
= (wxRegion
*) 0 ;
11560 wxRegion
*arg2
= 0 ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 char * kwnames
[] = {
11569 (char *) "self",(char *) "region", NULL
11572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11577 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11579 if (!SWIG_IsOK(res2
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11585 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11601 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11603 wxRegion
*arg1
= (wxRegion
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11615 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)(arg1
)->IsEmpty();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
= 0;
11633 wxRegion
*arg1
= (wxRegion
*) 0 ;
11634 wxRegion
*arg2
= 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 char * kwnames
[] = {
11643 (char *) "self",(char *) "region", NULL
11646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11648 if (!SWIG_IsOK(res1
)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11651 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11653 if (!SWIG_IsOK(res2
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11659 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11675 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
= 0;
11677 wxRegion
*arg1
= (wxRegion
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 PyObject
* obj2
= 0 ;
11696 PyObject
* obj3
= 0 ;
11697 PyObject
* obj4
= 0 ;
11698 char * kwnames
[] = {
11699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11704 if (!SWIG_IsOK(res1
)) {
11705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11707 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11709 if (!SWIG_IsOK(ecode2
)) {
11710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11712 arg2
= static_cast< int >(val2
);
11713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11714 if (!SWIG_IsOK(ecode3
)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11717 arg3
= static_cast< int >(val3
);
11718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11719 if (!SWIG_IsOK(ecode4
)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11722 arg4
= static_cast< int >(val4
);
11723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11724 if (!SWIG_IsOK(ecode5
)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11727 arg5
= static_cast< int >(val5
);
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11743 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
= 0;
11745 wxRegion
*arg1
= (wxRegion
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 char * kwnames
[] = {
11754 (char *) "self",(char *) "rect", NULL
11757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11762 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11765 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11782 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
= 0;
11784 wxRegion
*arg1
= (wxRegion
*) 0 ;
11785 wxRegion
*arg2
= 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "self",(char *) "region", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11802 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11804 if (!SWIG_IsOK(res2
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11810 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11826 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxRegion
*arg1
= (wxRegion
*) 0 ;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 PyObject
* obj4
= 0 ;
11849 char * kwnames
[] = {
11850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11858 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11860 if (!SWIG_IsOK(ecode2
)) {
11861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11863 arg2
= static_cast< int >(val2
);
11864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11865 if (!SWIG_IsOK(ecode3
)) {
11866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11868 arg3
= static_cast< int >(val3
);
11869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11870 if (!SWIG_IsOK(ecode4
)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11873 arg4
= static_cast< int >(val4
);
11874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11875 if (!SWIG_IsOK(ecode5
)) {
11876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11878 arg5
= static_cast< int >(val5
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11894 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxRegion
*arg1
= (wxRegion
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "rect", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11913 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11916 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegion
*arg1
= (wxRegion
*) 0 ;
11936 wxRegion
*arg2
= 0 ;
11942 PyObject
* obj0
= 0 ;
11943 PyObject
* obj1
= 0 ;
11944 char * kwnames
[] = {
11945 (char *) "self",(char *) "region", NULL
11948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11950 if (!SWIG_IsOK(res1
)) {
11951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11953 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11955 if (!SWIG_IsOK(res2
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11961 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= 0;
11979 wxRegion
*arg1
= (wxRegion
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 PyObject
* obj3
= 0 ;
11999 PyObject
* obj4
= 0 ;
12000 char * kwnames
[] = {
12001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12006 if (!SWIG_IsOK(res1
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12009 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12011 if (!SWIG_IsOK(ecode2
)) {
12012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12014 arg2
= static_cast< int >(val2
);
12015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12016 if (!SWIG_IsOK(ecode3
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12019 arg3
= static_cast< int >(val3
);
12020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12021 if (!SWIG_IsOK(ecode4
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12024 arg4
= static_cast< int >(val4
);
12025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12026 if (!SWIG_IsOK(ecode5
)) {
12027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12029 arg5
= static_cast< int >(val5
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= 0;
12047 wxRegion
*arg1
= (wxRegion
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "rect", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12064 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12067 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12084 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegion
*arg1
= (wxRegion
*) 0 ;
12087 wxRegion
*arg2
= 0 ;
12093 PyObject
* obj0
= 0 ;
12094 PyObject
* obj1
= 0 ;
12095 char * kwnames
[] = {
12096 (char *) "self",(char *) "region", NULL
12099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12104 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12106 if (!SWIG_IsOK(res2
)) {
12107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12112 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12128 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxRegion
*arg1
= (wxRegion
*) 0 ;
12131 SwigValueWrapper
<wxBitmap
> result
;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (arg1
)->ConvertToBitmap();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12156 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxRegion
*arg1
= (wxRegion
*) 0 ;
12159 wxBitmap
*arg2
= 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char * kwnames
[] = {
12168 (char *) "self",(char *) "bmp", NULL
12171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12173 if (!SWIG_IsOK(res1
)) {
12174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12176 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12178 if (!SWIG_IsOK(res2
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12184 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= 0;
12202 wxRegion
*arg1
= (wxRegion
*) 0 ;
12203 wxBitmap
*arg2
= 0 ;
12204 wxColour
*arg3
= 0 ;
12205 int arg4
= (int) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 PyObject
* obj2
= 0 ;
12217 PyObject
* obj3
= 0 ;
12218 char * kwnames
[] = {
12219 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12227 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12229 if (!SWIG_IsOK(res2
)) {
12230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12235 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12238 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12242 if (!SWIG_IsOK(ecode4
)) {
12243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12245 arg4
= static_cast< int >(val4
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12262 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12265 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12266 return SWIG_Py_Void();
12269 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 return SWIG_Python_InitShadowInstance(args
);
12273 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
= 0;
12275 wxRegion
*arg1
= 0 ;
12276 wxRegionIterator
*result
= 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "region", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12292 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12294 if (!wxPyCheckForApp()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12307 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12320 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_Py_Void();
12335 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12341 PyObject
*swig_obj
[1] ;
12343 if (!args
) SWIG_fail
;
12344 swig_obj
[0] = args
;
12345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12349 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)(arg1
)->GetX();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int(static_cast< int >(result
));
12363 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12365 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12369 PyObject
*swig_obj
[1] ;
12371 if (!args
) SWIG_fail
;
12372 swig_obj
[0] = args
;
12373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12377 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)(arg1
)->GetY();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_From_int(static_cast< int >(result
));
12391 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 PyObject
*resultobj
= 0;
12393 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12397 PyObject
*swig_obj
[1] ;
12399 if (!args
) SWIG_fail
;
12400 swig_obj
[0] = args
;
12401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12402 if (!SWIG_IsOK(res1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12405 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (int)(arg1
)->GetW();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_From_int(static_cast< int >(result
));
12419 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 PyObject
*resultobj
= 0;
12421 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12425 PyObject
*swig_obj
[1] ;
12427 if (!args
) SWIG_fail
;
12428 swig_obj
[0] = args
;
12429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12433 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (int)(arg1
)->GetWidth();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= SWIG_From_int(static_cast< int >(result
));
12447 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 PyObject
*resultobj
= 0;
12449 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12461 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (int)(arg1
)->GetH();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_From_int(static_cast< int >(result
));
12475 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12476 PyObject
*resultobj
= 0;
12477 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12481 PyObject
*swig_obj
[1] ;
12483 if (!args
) SWIG_fail
;
12484 swig_obj
[0] = args
;
12485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12489 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (int)(arg1
)->GetHeight();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_int(static_cast< int >(result
));
12503 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(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_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12517 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (arg1
)->GetRect();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12531 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(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_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12545 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (bool)(arg1
)->HaveRects();
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12561 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 PyObject
*resultobj
= 0;
12563 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12566 PyObject
*swig_obj
[1] ;
12568 if (!args
) SWIG_fail
;
12569 swig_obj
[0] = args
;
12570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12574 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 wxPyEndAllowThreads(__tstate
);
12579 if (PyErr_Occurred()) SWIG_fail
;
12581 resultobj
= SWIG_Py_Void();
12588 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 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_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12601 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 wxRegionIterator_Next(arg1
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_Py_Void();
12615 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(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___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12629 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12645 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12648 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12649 return SWIG_Py_Void();
12652 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 return SWIG_Python_InitShadowInstance(args
);
12656 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12657 PyObject
*resultobj
= 0;
12658 wxNativeFontInfo
*result
= 0 ;
12660 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12674 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12679 PyObject
*swig_obj
[1] ;
12681 if (!args
) SWIG_fail
;
12682 swig_obj
[0] = args
;
12683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12684 if (!SWIG_IsOK(res1
)) {
12685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12687 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= SWIG_Py_Void();
12702 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12703 PyObject
*resultobj
= 0;
12704 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12707 PyObject
*swig_obj
[1] ;
12709 if (!args
) SWIG_fail
;
12710 swig_obj
[0] = args
;
12711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12712 if (!SWIG_IsOK(res1
)) {
12713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12715 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_Py_Void();
12729 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
= 0;
12731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 char * kwnames
[] = {
12740 (char *) "self",(char *) "font", NULL
12743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12745 if (!SWIG_IsOK(res1
)) {
12746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12748 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12750 if (!SWIG_IsOK(res2
)) {
12751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12756 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= SWIG_Py_Void();
12770 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12771 PyObject
*resultobj
= 0;
12772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12776 PyObject
*swig_obj
[1] ;
12778 if (!args
) SWIG_fail
;
12779 swig_obj
[0] = args
;
12780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12781 if (!SWIG_IsOK(res1
)) {
12782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12784 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_From_int(static_cast< int >(result
));
12798 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12804 PyObject
*swig_obj
[1] ;
12806 if (!args
) SWIG_fail
;
12807 swig_obj
[0] = args
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12812 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12826 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 PyObject
*resultobj
= 0;
12828 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12829 wxFontStyle result
;
12832 PyObject
*swig_obj
[1] ;
12834 if (!args
) SWIG_fail
;
12835 swig_obj
[0] = args
;
12836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12840 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12847 resultobj
= SWIG_From_int(static_cast< int >(result
));
12854 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12855 PyObject
*resultobj
= 0;
12856 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12857 wxFontWeight result
;
12860 PyObject
*swig_obj
[1] ;
12862 if (!args
) SWIG_fail
;
12863 swig_obj
[0] = args
;
12864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12865 if (!SWIG_IsOK(res1
)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12868 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_From_int(static_cast< int >(result
));
12882 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12883 PyObject
*resultobj
= 0;
12884 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12888 PyObject
*swig_obj
[1] ;
12890 if (!args
) SWIG_fail
;
12891 swig_obj
[0] = args
;
12892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12893 if (!SWIG_IsOK(res1
)) {
12894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12896 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12899 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12912 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 PyObject
*resultobj
= 0;
12914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12918 PyObject
*swig_obj
[1] ;
12920 if (!args
) SWIG_fail
;
12921 swig_obj
[0] = args
;
12922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12923 if (!SWIG_IsOK(res1
)) {
12924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12926 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12946 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12947 PyObject
*resultobj
= 0;
12948 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12949 wxFontFamily result
;
12952 PyObject
*swig_obj
[1] ;
12954 if (!args
) SWIG_fail
;
12955 swig_obj
[0] = args
;
12956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12960 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12967 resultobj
= SWIG_From_int(static_cast< int >(result
));
12974 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12977 wxFontEncoding result
;
12980 PyObject
*swig_obj
[1] ;
12982 if (!args
) SWIG_fail
;
12983 swig_obj
[0] = args
;
12984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12985 if (!SWIG_IsOK(res1
)) {
12986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12988 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_From_int(static_cast< int >(result
));
13002 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char * kwnames
[] = {
13013 (char *) "self",(char *) "pointsize", NULL
13016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13018 if (!SWIG_IsOK(res1
)) {
13019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13021 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13023 if (!SWIG_IsOK(ecode2
)) {
13024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13026 arg2
= static_cast< int >(val2
);
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 (arg1
)->SetPointSize(arg2
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= SWIG_Py_Void();
13040 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 PyObject
* obj1
= 0 ;
13049 char * kwnames
[] = {
13050 (char *) "self",(char *) "pixelSize", NULL
13053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13055 if (!SWIG_IsOK(res1
)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13058 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_Py_Void();
13076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13084 PyObject
* obj0
= 0 ;
13085 PyObject
* obj1
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "self",(char *) "style", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13097 if (!SWIG_IsOK(ecode2
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13100 arg2
= static_cast< wxFontStyle
>(val2
);
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->SetStyle(arg2
);
13104 wxPyEndAllowThreads(__tstate
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13107 resultobj
= SWIG_Py_Void();
13114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
= 0;
13116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13117 wxFontWeight arg2
;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char * kwnames
[] = {
13125 (char *) "self",(char *) "weight", NULL
13128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13135 if (!SWIG_IsOK(ecode2
)) {
13136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13138 arg2
= static_cast< wxFontWeight
>(val2
);
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 (arg1
)->SetWeight(arg2
);
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_Py_Void();
13152 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
= 0;
13154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char * kwnames
[] = {
13163 (char *) "self",(char *) "underlined", NULL
13166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13171 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13172 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13173 if (!SWIG_IsOK(ecode2
)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13176 arg2
= static_cast< bool >(val2
);
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 (arg1
)->SetUnderlined(arg2
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= SWIG_Py_Void();
13190 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
= 0;
13192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "facename", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13208 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13210 wxString
* sptr
= wxString_in_helper(obj1
);
13211 if (sptr
== NULL
) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (bool)(arg1
)->SetFaceName(arg2
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
= 0;
13232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13233 wxFontFamily arg2
;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "family", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13249 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13251 if (!SWIG_IsOK(ecode2
)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13254 arg2
= static_cast< wxFontFamily
>(val2
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->SetFamily(arg2
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_Py_Void();
13268 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13271 wxFontEncoding arg2
;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char * kwnames
[] = {
13279 (char *) "self",(char *) "encoding", NULL
13282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13284 if (!SWIG_IsOK(res1
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13289 if (!SWIG_IsOK(ecode2
)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13292 arg2
= static_cast< wxFontEncoding
>(val2
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 (arg1
)->SetEncoding(arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_Py_Void();
13306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13309 wxString
*arg2
= 0 ;
13313 bool temp2
= false ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "s", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13325 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13327 arg2
= wxString_in_helper(obj1
);
13328 if (arg2
== NULL
) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13354 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13355 PyObject
*resultobj
= 0;
13356 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13360 PyObject
*swig_obj
[1] ;
13362 if (!args
) SWIG_fail
;
13363 swig_obj
[0] = args
;
13364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13368 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13388 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13389 PyObject
*resultobj
= 0;
13390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13394 PyObject
*swig_obj
[1] ;
13396 if (!args
) SWIG_fail
;
13397 swig_obj
[0] = args
;
13398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13399 if (!SWIG_IsOK(res1
)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13402 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= wxNativeFontInfo___str__(arg1
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13422 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
= 0;
13424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13425 wxString
*arg2
= 0 ;
13429 bool temp2
= false ;
13430 PyObject
* obj0
= 0 ;
13431 PyObject
* obj1
= 0 ;
13432 char * kwnames
[] = {
13433 (char *) "self",(char *) "s", NULL
13436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13441 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13443 arg2
= wxString_in_helper(obj1
);
13444 if (arg2
== NULL
) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13470 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13471 PyObject
*resultobj
= 0;
13472 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13476 PyObject
*swig_obj
[1] ;
13478 if (!args
) SWIG_fail
;
13479 swig_obj
[0] = args
;
13480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13484 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13504 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13507 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13508 return SWIG_Py_Void();
13511 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 return SWIG_Python_InitShadowInstance(args
);
13515 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13518 wxString
*arg2
= (wxString
*) 0 ;
13521 bool temp2
= false ;
13522 PyObject
*swig_obj
[2] ;
13524 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13526 if (!SWIG_IsOK(res1
)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13529 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13531 arg2
= wxString_in_helper(swig_obj
[1]);
13532 if (arg2
== NULL
) SWIG_fail
;
13535 if (arg1
) (arg1
)->facename
= *arg2
;
13537 resultobj
= SWIG_Py_Void();
13552 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13553 PyObject
*resultobj
= 0;
13554 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13555 wxString
*result
= 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13566 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13567 result
= (wxString
*)& ((arg1
)->facename
);
13570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13581 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 PyObject
*resultobj
= 0;
13583 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13584 wxFontEncoding arg2
;
13589 PyObject
*swig_obj
[2] ;
13591 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13593 if (!SWIG_IsOK(res1
)) {
13594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13596 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13597 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13598 if (!SWIG_IsOK(ecode2
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13601 arg2
= static_cast< wxFontEncoding
>(val2
);
13602 if (arg1
) (arg1
)->encoding
= arg2
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13614 wxFontEncoding result
;
13617 PyObject
*swig_obj
[1] ;
13619 if (!args
) SWIG_fail
;
13620 swig_obj
[0] = args
;
13621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13622 if (!SWIG_IsOK(res1
)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13625 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13626 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13627 resultobj
= SWIG_From_int(static_cast< int >(result
));
13634 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13636 wxNativeEncodingInfo
*result
= 0 ;
13638 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13652 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13653 PyObject
*resultobj
= 0;
13654 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13657 PyObject
*swig_obj
[1] ;
13659 if (!args
) SWIG_fail
;
13660 swig_obj
[0] = args
;
13661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13662 if (!SWIG_IsOK(res1
)) {
13663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13665 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_Py_Void();
13680 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13682 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13683 wxString
*arg2
= 0 ;
13687 bool temp2
= false ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "s", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13699 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13729 PyObject
*resultobj
= 0;
13730 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13734 PyObject
*swig_obj
[1] ;
13736 if (!args
) SWIG_fail
;
13737 swig_obj
[0] = args
;
13738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13742 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13762 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13766 return SWIG_Py_Void();
13769 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 return SWIG_Python_InitShadowInstance(args
);
13773 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxFontEncoding arg1
;
13776 wxNativeEncodingInfo
*result
= 0 ;
13779 PyObject
* obj0
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "encoding", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13785 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13786 if (!SWIG_IsOK(ecode1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13789 arg1
= static_cast< wxFontEncoding
>(val1
);
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13793 wxPyEndAllowThreads(__tstate
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13803 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13804 PyObject
*resultobj
= 0;
13805 wxNativeEncodingInfo
*arg1
= 0 ;
13809 PyObject
* obj0
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "info", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13816 if (!SWIG_IsOK(res1
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13822 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13838 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13839 PyObject
*resultobj
= 0;
13840 wxFontMapper
*result
= 0 ;
13842 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (wxFontMapper
*)new wxFontMapper();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13856 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13861 PyObject
*swig_obj
[1] ;
13863 if (!args
) SWIG_fail
;
13864 swig_obj
[0] = args
;
13865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13869 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_Py_Void();
13884 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13885 PyObject
*resultobj
= 0;
13886 wxFontMapper
*result
= 0 ;
13888 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (wxFontMapper
*)wxFontMapper::Get();
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13902 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13905 wxFontMapper
*result
= 0 ;
13908 PyObject
* obj0
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "mapper", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13915 if (!SWIG_IsOK(res1
)) {
13916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13918 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13932 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
= 0;
13934 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13935 wxString
*arg2
= 0 ;
13936 bool arg3
= (bool) true ;
13937 wxFontEncoding result
;
13940 bool temp2
= false ;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 PyObject
* obj2
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13955 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13957 arg2
= wxString_in_helper(obj1
);
13958 if (arg2
== NULL
) SWIG_fail
;
13962 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13963 if (!SWIG_IsOK(ecode3
)) {
13964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13966 arg3
= static_cast< bool >(val3
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_From_int(static_cast< int >(result
));
13989 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13993 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14007 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
= 0;
14010 wxFontEncoding result
;
14013 PyObject
* obj0
= 0 ;
14014 char * kwnames
[] = {
14018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14019 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14020 if (!SWIG_IsOK(ecode1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14023 arg1
= static_cast< size_t >(val1
);
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_From_int(static_cast< int >(result
));
14037 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
= 0;
14039 wxFontEncoding arg1
;
14043 PyObject
* obj0
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "encoding", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14050 if (!SWIG_IsOK(ecode1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14053 arg1
= static_cast< wxFontEncoding
>(val1
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= wxFontMapper::GetEncodingName(arg1
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14073 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
= 0;
14075 wxFontEncoding arg1
;
14079 PyObject
* obj0
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "encoding", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14086 if (!SWIG_IsOK(ecode1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14089 arg1
= static_cast< wxFontEncoding
>(val1
);
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= wxFontMapper::GetEncodingDescription(arg1
);
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14109 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
= 0;
14111 wxString
*arg1
= 0 ;
14112 wxFontEncoding result
;
14113 bool temp1
= false ;
14114 PyObject
* obj0
= 0 ;
14115 char * kwnames
[] = {
14116 (char *) "name", NULL
14119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14121 arg1
= wxString_in_helper(obj0
);
14122 if (arg1
== NULL
) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= SWIG_From_int(static_cast< int >(result
));
14146 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
= 0;
14148 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14149 wxString
*arg2
= 0 ;
14152 bool temp2
= false ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char * kwnames
[] = {
14156 (char *) "self",(char *) "prefix", NULL
14159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14161 if (!SWIG_IsOK(res1
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14164 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14166 arg2
= wxString_in_helper(obj1
);
14167 if (arg2
== NULL
) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_Py_Void();
14191 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14195 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= wxFontMapper::GetDefaultConfigPath();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14215 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14218 wxFontEncoding arg2
;
14219 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14220 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14221 bool arg4
= (bool) true ;
14222 PyObject
*result
= 0 ;
14227 bool temp3
= false ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 PyObject
* obj3
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14243 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14245 if (!SWIG_IsOK(ecode2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14248 arg2
= static_cast< wxFontEncoding
>(val2
);
14251 arg3
= wxString_in_helper(obj2
);
14252 if (arg3
== NULL
) SWIG_fail
;
14257 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14258 if (!SWIG_IsOK(ecode4
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14261 arg4
= static_cast< bool >(val4
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= result
;
14284 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14287 wxFontEncoding arg2
;
14288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14295 bool temp3
= false ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 char * kwnames
[] = {
14300 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14308 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14310 if (!SWIG_IsOK(ecode2
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14313 arg2
= static_cast< wxFontEncoding
>(val2
);
14316 arg3
= wxString_in_helper(obj2
);
14317 if (arg3
== NULL
) SWIG_fail
;
14322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14323 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
= 0;
14346 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14347 wxWindow
*arg2
= (wxWindow
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char * kwnames
[] = {
14355 (char *) "self",(char *) "parent", NULL
14358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14360 if (!SWIG_IsOK(res1
)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14363 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14365 if (!SWIG_IsOK(res2
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14368 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->SetDialogParent(arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_Py_Void();
14382 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14383 PyObject
*resultobj
= 0;
14384 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14385 wxString
*arg2
= 0 ;
14388 bool temp2
= false ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 char * kwnames
[] = {
14392 (char *) "self",(char *) "title", NULL
14395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14400 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14402 arg2
= wxString_in_helper(obj1
);
14403 if (arg2
== NULL
) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_Py_Void();
14427 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14430 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14431 return SWIG_Py_Void();
14434 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14435 return SWIG_Python_InitShadowInstance(args
);
14438 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
= 0;
14444 bool arg5
= (bool) false ;
14445 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14447 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14448 wxFont
*result
= 0 ;
14459 bool temp6
= false ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 PyObject
* obj6
= 0 ;
14469 char * kwnames
[] = {
14470 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14475 if (!SWIG_IsOK(ecode1
)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14478 arg1
= static_cast< int >(val1
);
14479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14480 if (!SWIG_IsOK(ecode2
)) {
14481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14483 arg2
= static_cast< int >(val2
);
14484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14485 if (!SWIG_IsOK(ecode3
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14488 arg3
= static_cast< int >(val3
);
14489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14490 if (!SWIG_IsOK(ecode4
)) {
14491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14493 arg4
= static_cast< int >(val4
);
14495 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14496 if (!SWIG_IsOK(ecode5
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14499 arg5
= static_cast< bool >(val5
);
14503 arg6
= wxString_in_helper(obj5
);
14504 if (arg6
== NULL
) SWIG_fail
;
14509 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14510 if (!SWIG_IsOK(ecode7
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14513 arg7
= static_cast< wxFontEncoding
>(val7
);
14516 if (!wxPyCheckForApp()) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14537 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 PyObject
*resultobj
= 0;
14539 wxFont
*arg1
= (wxFont
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14550 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_Py_Void();
14565 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
= 0;
14567 wxNativeFontInfo
*arg1
= 0 ;
14568 wxFont
*result
= 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "info", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14584 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14586 if (!wxPyCheckForApp()) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14599 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= 0;
14601 wxString
*arg1
= 0 ;
14602 wxFont
*result
= 0 ;
14603 bool temp1
= false ;
14604 PyObject
* obj0
= 0 ;
14605 char * kwnames
[] = {
14606 (char *) "info", NULL
14609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14611 arg1
= wxString_in_helper(obj0
);
14612 if (arg1
== NULL
) SWIG_fail
;
14616 if (!wxPyCheckForApp()) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14637 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14640 wxFontFamily arg2
;
14641 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14644 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14645 wxFont
*result
= 0 ;
14652 bool temp4
= false ;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 PyObject
* obj2
= 0 ;
14658 PyObject
* obj3
= 0 ;
14659 PyObject
* obj4
= 0 ;
14660 char * kwnames
[] = {
14661 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14666 if (!SWIG_IsOK(ecode1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14669 arg1
= static_cast< int >(val1
);
14670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14671 if (!SWIG_IsOK(ecode2
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14674 arg2
= static_cast< wxFontFamily
>(val2
);
14676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14677 if (!SWIG_IsOK(ecode3
)) {
14678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14680 arg3
= static_cast< int >(val3
);
14684 arg4
= wxString_in_helper(obj3
);
14685 if (arg4
== NULL
) SWIG_fail
;
14690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14691 if (!SWIG_IsOK(ecode5
)) {
14692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14694 arg5
= static_cast< wxFontEncoding
>(val5
);
14697 if (!wxPyCheckForApp()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14718 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
= 0;
14724 bool arg5
= (bool) false ;
14725 wxString
const &arg6_defvalue
= wxEmptyString
;
14726 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14727 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14728 wxFont
*result
= 0 ;
14738 bool temp6
= false ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 PyObject
* obj2
= 0 ;
14744 PyObject
* obj3
= 0 ;
14745 PyObject
* obj4
= 0 ;
14746 PyObject
* obj5
= 0 ;
14747 PyObject
* obj6
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14755 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14758 if (!SWIG_IsOK(ecode2
)) {
14759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14761 arg2
= static_cast< int >(val2
);
14762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14763 if (!SWIG_IsOK(ecode3
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14766 arg3
= static_cast< int >(val3
);
14767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14768 if (!SWIG_IsOK(ecode4
)) {
14769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14771 arg4
= static_cast< int >(val4
);
14773 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14774 if (!SWIG_IsOK(ecode5
)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14777 arg5
= static_cast< bool >(val5
);
14781 arg6
= wxString_in_helper(obj5
);
14782 if (arg6
== NULL
) SWIG_fail
;
14787 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14788 if (!SWIG_IsOK(ecode7
)) {
14789 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14791 arg7
= static_cast< wxFontEncoding
>(val7
);
14794 if (!wxPyCheckForApp()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14815 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
= 0;
14818 wxFontFamily arg2
;
14819 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14820 wxString
const &arg4_defvalue
= wxEmptyString
;
14821 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14822 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14823 wxFont
*result
= 0 ;
14829 bool temp4
= false ;
14832 PyObject
* obj0
= 0 ;
14833 PyObject
* obj1
= 0 ;
14834 PyObject
* obj2
= 0 ;
14835 PyObject
* obj3
= 0 ;
14836 PyObject
* obj4
= 0 ;
14837 char * kwnames
[] = {
14838 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14844 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14847 if (!SWIG_IsOK(ecode2
)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14850 arg2
= static_cast< wxFontFamily
>(val2
);
14852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14853 if (!SWIG_IsOK(ecode3
)) {
14854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14856 arg3
= static_cast< int >(val3
);
14860 arg4
= wxString_in_helper(obj3
);
14861 if (arg4
== NULL
) SWIG_fail
;
14866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14867 if (!SWIG_IsOK(ecode5
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14870 arg5
= static_cast< wxFontEncoding
>(val5
);
14873 if (!wxPyCheckForApp()) SWIG_fail
;
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14894 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14895 PyObject
*resultobj
= 0;
14896 wxFont
*arg1
= (wxFont
*) 0 ;
14900 PyObject
*swig_obj
[1] ;
14902 if (!args
) SWIG_fail
;
14903 swig_obj
[0] = args
;
14904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14905 if (!SWIG_IsOK(res1
)) {
14906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14908 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxFont
*arg1
= (wxFont
*) 0 ;
14927 wxFont
*arg2
= (wxFont
*) 0 ;
14933 PyObject
* obj0
= 0 ;
14934 PyObject
* obj1
= 0 ;
14935 char * kwnames
[] = {
14936 (char *) "self",(char *) "other", NULL
14939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14941 if (!SWIG_IsOK(res1
)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14944 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14946 if (!SWIG_IsOK(res2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14949 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14965 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
= 0;
14967 wxFont
*arg1
= (wxFont
*) 0 ;
14968 wxFont
*arg2
= (wxFont
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "other", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14985 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14987 if (!SWIG_IsOK(res2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14990 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15006 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15007 PyObject
*resultobj
= 0;
15008 wxFont
*arg1
= (wxFont
*) 0 ;
15012 PyObject
*swig_obj
[1] ;
15014 if (!args
) SWIG_fail
;
15015 swig_obj
[0] = args
;
15016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15017 if (!SWIG_IsOK(res1
)) {
15018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15020 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15024 wxPyEndAllowThreads(__tstate
);
15025 if (PyErr_Occurred()) SWIG_fail
;
15027 resultobj
= SWIG_From_int(static_cast< int >(result
));
15034 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 PyObject
*resultobj
= 0;
15036 wxFont
*arg1
= (wxFont
*) 0 ;
15040 PyObject
*swig_obj
[1] ;
15042 if (!args
) SWIG_fail
;
15043 swig_obj
[0] = args
;
15044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15045 if (!SWIG_IsOK(res1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15048 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15062 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(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_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15076 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15093 PyObject
*resultobj
= 0;
15094 wxFont
*arg1
= (wxFont
*) 0 ;
15098 PyObject
*swig_obj
[1] ;
15100 if (!args
) SWIG_fail
;
15101 swig_obj
[0] = args
;
15102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15103 if (!SWIG_IsOK(res1
)) {
15104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15106 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_From_int(static_cast< int >(result
));
15120 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15121 PyObject
*resultobj
= 0;
15122 wxFont
*arg1
= (wxFont
*) 0 ;
15126 PyObject
*swig_obj
[1] ;
15128 if (!args
) SWIG_fail
;
15129 swig_obj
[0] = args
;
15130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15131 if (!SWIG_IsOK(res1
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15134 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_From_int(static_cast< int >(result
));
15148 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15149 PyObject
*resultobj
= 0;
15150 wxFont
*arg1
= (wxFont
*) 0 ;
15154 PyObject
*swig_obj
[1] ;
15156 if (!args
) SWIG_fail
;
15157 swig_obj
[0] = args
;
15158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15162 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_From_int(static_cast< int >(result
));
15176 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxFont
*arg1
= (wxFont
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15190 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15207 PyObject
*resultobj
= 0;
15208 wxFont
*arg1
= (wxFont
*) 0 ;
15212 PyObject
*swig_obj
[1] ;
15214 if (!args
) SWIG_fail
;
15215 swig_obj
[0] = args
;
15216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15217 if (!SWIG_IsOK(res1
)) {
15218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15220 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= ((wxFont
const *)arg1
)->GetFaceName();
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15240 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15241 PyObject
*resultobj
= 0;
15242 wxFont
*arg1
= (wxFont
*) 0 ;
15243 wxFontEncoding result
;
15246 PyObject
*swig_obj
[1] ;
15248 if (!args
) SWIG_fail
;
15249 swig_obj
[0] = args
;
15250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15251 if (!SWIG_IsOK(res1
)) {
15252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15254 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= SWIG_From_int(static_cast< int >(result
));
15268 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 wxFont
*arg1
= (wxFont
*) 0 ;
15271 wxNativeFontInfo
*result
= 0 ;
15274 PyObject
*swig_obj
[1] ;
15276 if (!args
) SWIG_fail
;
15277 swig_obj
[0] = args
;
15278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15279 if (!SWIG_IsOK(res1
)) {
15280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15282 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15296 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15297 PyObject
*resultobj
= 0;
15298 wxFont
*arg1
= (wxFont
*) 0 ;
15302 PyObject
*swig_obj
[1] ;
15304 if (!args
) SWIG_fail
;
15305 swig_obj
[0] = args
;
15306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15310 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxFont
*arg1
= (wxFont
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15340 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15360 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 PyObject
*resultobj
= 0;
15362 wxFont
*arg1
= (wxFont
*) 0 ;
15366 PyObject
*swig_obj
[1] ;
15368 if (!args
) SWIG_fail
;
15369 swig_obj
[0] = args
;
15370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15374 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15394 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxFont
*arg1
= (wxFont
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char * kwnames
[] = {
15405 (char *) "self",(char *) "pointSize", NULL
15408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15410 if (!SWIG_IsOK(res1
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15413 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15415 if (!SWIG_IsOK(ecode2
)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15418 arg2
= static_cast< int >(val2
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 (arg1
)->SetPointSize(arg2
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_Py_Void();
15432 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
= 0;
15434 wxFont
*arg1
= (wxFont
*) 0 ;
15439 PyObject
* obj0
= 0 ;
15440 PyObject
* obj1
= 0 ;
15441 char * kwnames
[] = {
15442 (char *) "self",(char *) "pixelSize", NULL
15445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15453 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_Py_Void();
15468 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
= 0;
15470 wxFont
*arg1
= (wxFont
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 PyObject
* obj1
= 0 ;
15478 char * kwnames
[] = {
15479 (char *) "self",(char *) "family", NULL
15482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15484 if (!SWIG_IsOK(res1
)) {
15485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15487 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15489 if (!SWIG_IsOK(ecode2
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15492 arg2
= static_cast< int >(val2
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->SetFamily(arg2
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_Py_Void();
15506 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
= 0;
15508 wxFont
*arg1
= (wxFont
*) 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char * kwnames
[] = {
15517 (char *) "self",(char *) "style", NULL
15520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15522 if (!SWIG_IsOK(res1
)) {
15523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15527 if (!SWIG_IsOK(ecode2
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15530 arg2
= static_cast< int >(val2
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->SetStyle(arg2
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_Py_Void();
15544 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxFont
*arg1
= (wxFont
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "weight", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15565 if (!SWIG_IsOK(ecode2
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15568 arg2
= static_cast< int >(val2
);
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->SetWeight(arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
= 0;
15584 wxFont
*arg1
= (wxFont
*) 0 ;
15585 wxString
*arg2
= 0 ;
15589 bool temp2
= false ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "faceName", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15601 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15603 arg2
= wxString_in_helper(obj1
);
15604 if (arg2
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
= 0;
15632 wxFont
*arg1
= (wxFont
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char * kwnames
[] = {
15641 (char *) "self",(char *) "underlined", NULL
15644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15650 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15651 if (!SWIG_IsOK(ecode2
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15654 arg2
= static_cast< bool >(val2
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetUnderlined(arg2
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_Py_Void();
15668 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= 0;
15670 wxFont
*arg1
= (wxFont
*) 0 ;
15671 wxFontEncoding arg2
;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "self",(char *) "encoding", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15687 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15692 arg2
= static_cast< wxFontEncoding
>(val2
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->SetEncoding(arg2
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxFont
*arg1
= (wxFont
*) 0 ;
15709 wxNativeFontInfo
*arg2
= 0 ;
15714 PyObject
* obj0
= 0 ;
15715 PyObject
* obj1
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "self",(char *) "info", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15727 if (!SWIG_IsOK(res2
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15733 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_Py_Void();
15747 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
= 0;
15749 wxFont
*arg1
= (wxFont
*) 0 ;
15750 wxString
*arg2
= 0 ;
15754 bool temp2
= false ;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 char * kwnames
[] = {
15758 (char *) "self",(char *) "info", NULL
15761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15763 if (!SWIG_IsOK(res1
)) {
15764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15766 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15768 arg2
= wxString_in_helper(obj1
);
15769 if (arg2
== NULL
) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
= 0;
15797 wxFont
*arg1
= (wxFont
*) 0 ;
15798 wxString
*arg2
= 0 ;
15802 bool temp2
= false ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 char * kwnames
[] = {
15806 (char *) "self",(char *) "info", NULL
15809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15814 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15816 arg2
= wxString_in_helper(obj1
);
15817 if (arg2
== NULL
) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxFont
*arg1
= (wxFont
*) 0 ;
15849 PyObject
*swig_obj
[1] ;
15851 if (!args
) SWIG_fail
;
15852 swig_obj
[0] = args
;
15853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15854 if (!SWIG_IsOK(res1
)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15857 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15877 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxFont
*arg1
= (wxFont
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15891 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= ((wxFont
const *)arg1
)->GetStyleString();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15911 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15912 PyObject
*resultobj
= 0;
15913 wxFont
*arg1
= (wxFont
*) 0 ;
15917 PyObject
*swig_obj
[1] ;
15919 if (!args
) SWIG_fail
;
15920 swig_obj
[0] = args
;
15921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15925 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= ((wxFont
const *)arg1
)->GetWeightString();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15945 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxFont
*arg1
= (wxFont
*) 0 ;
15948 bool arg2
= (bool) true ;
15953 PyObject
* obj0
= 0 ;
15954 PyObject
* obj1
= 0 ;
15955 char * kwnames
[] = {
15956 (char *) "self",(char *) "no", NULL
15959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15966 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15967 if (!SWIG_IsOK(ecode2
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15970 arg2
= static_cast< bool >(val2
);
15973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15974 (arg1
)->SetNoAntiAliasing(arg2
);
15975 wxPyEndAllowThreads(__tstate
);
15976 if (PyErr_Occurred()) SWIG_fail
;
15978 resultobj
= SWIG_Py_Void();
15985 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 PyObject
*resultobj
= 0;
15987 wxFont
*arg1
= (wxFont
*) 0 ;
15991 PyObject
*swig_obj
[1] ;
15993 if (!args
) SWIG_fail
;
15994 swig_obj
[0] = args
;
15995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15996 if (!SWIG_IsOK(res1
)) {
15997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15999 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16015 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16016 PyObject
*resultobj
= 0;
16017 wxFontEncoding result
;
16019 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16021 if (!wxPyCheckForApp()) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= SWIG_From_int(static_cast< int >(result
));
16034 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
= 0;
16036 wxFontEncoding arg1
;
16039 PyObject
* obj0
= 0 ;
16040 char * kwnames
[] = {
16041 (char *) "encoding", NULL
16044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16045 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16046 if (!SWIG_IsOK(ecode1
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16049 arg1
= static_cast< wxFontEncoding
>(val1
);
16051 if (!wxPyCheckForApp()) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 wxFont::SetDefaultEncoding(arg1
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_Py_Void();
16064 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16067 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16068 return SWIG_Py_Void();
16071 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16072 return SWIG_Python_InitShadowInstance(args
);
16075 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16076 PyObject
*resultobj
= 0;
16077 wxPyFontEnumerator
*result
= 0 ;
16079 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16081 if (!wxPyCheckForApp()) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16094 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16099 PyObject
*swig_obj
[1] ;
16101 if (!args
) SWIG_fail
;
16102 swig_obj
[0] = args
;
16103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16104 if (!SWIG_IsOK(res1
)) {
16105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16107 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_Py_Void();
16122 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16125 PyObject
*arg2
= (PyObject
*) 0 ;
16126 PyObject
*arg3
= (PyObject
*) 0 ;
16127 int arg4
= (int) 0 ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 PyObject
* obj2
= 0 ;
16135 PyObject
* obj3
= 0 ;
16136 char * kwnames
[] = {
16137 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16145 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16150 if (!SWIG_IsOK(ecode4
)) {
16151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16153 arg4
= static_cast< int >(val4
);
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_Py_Void();
16168 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
= 0;
16170 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16171 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16172 bool arg3
= (bool) false ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 PyObject
* obj2
= 0 ;
16183 char * kwnames
[] = {
16184 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16189 if (!SWIG_IsOK(res1
)) {
16190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16192 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16195 if (!SWIG_IsOK(ecode2
)) {
16196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16198 arg2
= static_cast< wxFontEncoding
>(val2
);
16201 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16202 if (!SWIG_IsOK(ecode3
)) {
16203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16205 arg3
= static_cast< bool >(val3
);
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16222 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
= 0;
16224 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16225 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16226 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16230 bool temp2
= false ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 char * kwnames
[] = {
16234 (char *) "self",(char *) "facename", NULL
16237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16242 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16245 arg2
= wxString_in_helper(obj1
);
16246 if (arg2
== NULL
) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16274 PyObject
*resultobj
= 0;
16275 PyObject
*result
= 0 ;
16277 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
;
16291 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 PyObject
*result
= 0 ;
16295 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= result
;
16309 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= 0;
16311 wxString
*arg1
= 0 ;
16313 bool temp1
= false ;
16314 PyObject
* obj0
= 0 ;
16315 char * kwnames
[] = {
16316 (char *) "str", NULL
16319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16321 arg1
= wxString_in_helper(obj0
);
16322 if (arg1
== NULL
) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16348 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16352 return SWIG_Py_Void();
16355 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 return SWIG_Python_InitShadowInstance(args
);
16359 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16360 PyObject
*resultobj
= 0;
16361 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16367 PyObject
*swig_obj
[2] ;
16369 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16371 if (!SWIG_IsOK(res1
)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16374 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16375 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16376 if (!SWIG_IsOK(ecode2
)) {
16377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16379 arg2
= static_cast< int >(val2
);
16380 if (arg1
) (arg1
)->Language
= arg2
;
16382 resultobj
= SWIG_Py_Void();
16389 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16390 PyObject
*resultobj
= 0;
16391 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16395 PyObject
*swig_obj
[1] ;
16397 if (!args
) SWIG_fail
;
16398 swig_obj
[0] = args
;
16399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16400 if (!SWIG_IsOK(res1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16403 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16404 result
= (int) ((arg1
)->Language
);
16405 resultobj
= SWIG_From_int(static_cast< int >(result
));
16412 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16413 PyObject
*resultobj
= 0;
16414 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16415 wxString
*arg2
= (wxString
*) 0 ;
16418 bool temp2
= false ;
16419 PyObject
*swig_obj
[2] ;
16421 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16423 if (!SWIG_IsOK(res1
)) {
16424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16426 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16428 arg2
= wxString_in_helper(swig_obj
[1]);
16429 if (arg2
== NULL
) SWIG_fail
;
16432 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16434 resultobj
= SWIG_Py_Void();
16449 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16450 PyObject
*resultobj
= 0;
16451 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16452 wxString
*result
= 0 ;
16455 PyObject
*swig_obj
[1] ;
16457 if (!args
) SWIG_fail
;
16458 swig_obj
[0] = args
;
16459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16463 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16464 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16467 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16469 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16478 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16481 wxString
*arg2
= (wxString
*) 0 ;
16484 bool temp2
= false ;
16485 PyObject
*swig_obj
[2] ;
16487 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16492 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16494 arg2
= wxString_in_helper(swig_obj
[1]);
16495 if (arg2
== NULL
) SWIG_fail
;
16498 if (arg1
) (arg1
)->Description
= *arg2
;
16500 resultobj
= SWIG_Py_Void();
16515 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16516 PyObject
*resultobj
= 0;
16517 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16518 wxString
*result
= 0 ;
16521 PyObject
*swig_obj
[1] ;
16523 if (!args
) SWIG_fail
;
16524 swig_obj
[0] = args
;
16525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16529 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16530 result
= (wxString
*)& ((arg1
)->Description
);
16533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16544 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16547 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16548 return SWIG_Py_Void();
16551 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
= 0;
16553 int arg1
= (int) -1 ;
16554 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16555 wxLocale
*result
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "language",(char *) "flags", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16569 if (!SWIG_IsOK(ecode1
)) {
16570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16572 arg1
= static_cast< int >(val1
);
16575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16576 if (!SWIG_IsOK(ecode2
)) {
16577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16579 arg2
= static_cast< int >(val2
);
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16594 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16595 PyObject
*resultobj
= 0;
16596 wxLocale
*arg1
= (wxLocale
*) 0 ;
16599 PyObject
*swig_obj
[1] ;
16601 if (!args
) SWIG_fail
;
16602 swig_obj
[0] = args
;
16603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16604 if (!SWIG_IsOK(res1
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16607 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_Py_Void();
16622 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxLocale
*arg1
= (wxLocale
*) 0 ;
16625 wxString
*arg2
= 0 ;
16626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16630 bool arg5
= (bool) true ;
16631 bool arg6
= (bool) false ;
16635 bool temp2
= false ;
16636 bool temp3
= false ;
16637 bool temp4
= false ;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 PyObject
* obj2
= 0 ;
16645 PyObject
* obj3
= 0 ;
16646 PyObject
* obj4
= 0 ;
16647 PyObject
* obj5
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16657 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16659 arg2
= wxString_in_helper(obj1
);
16660 if (arg2
== NULL
) SWIG_fail
;
16665 arg3
= wxString_in_helper(obj2
);
16666 if (arg3
== NULL
) SWIG_fail
;
16672 arg4
= wxString_in_helper(obj3
);
16673 if (arg4
== NULL
) SWIG_fail
;
16678 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16679 if (!SWIG_IsOK(ecode5
)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16682 arg5
= static_cast< bool >(val5
);
16685 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16686 if (!SWIG_IsOK(ecode6
)) {
16687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16689 arg6
= static_cast< bool >(val6
);
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16694 wxPyEndAllowThreads(__tstate
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
= 0;
16732 wxLocale
*arg1
= (wxLocale
*) 0 ;
16733 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16734 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 PyObject
* obj2
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "language",(char *) "flags", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16754 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16757 if (!SWIG_IsOK(ecode2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16760 arg2
= static_cast< int >(val2
);
16763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16764 if (!SWIG_IsOK(ecode3
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16767 arg3
= static_cast< int >(val3
);
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16784 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16785 PyObject
*resultobj
= 0;
16788 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (int)wxLocale::GetSystemLanguage();
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= SWIG_From_int(static_cast< int >(result
));
16802 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16803 PyObject
*resultobj
= 0;
16804 wxFontEncoding result
;
16806 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_From_int(static_cast< int >(result
));
16820 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16821 PyObject
*resultobj
= 0;
16824 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= wxLocale::GetSystemEncodingName();
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16844 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16845 PyObject
*resultobj
= 0;
16846 wxLocale
*arg1
= (wxLocale
*) 0 ;
16850 PyObject
*swig_obj
[1] ;
16852 if (!args
) SWIG_fail
;
16853 swig_obj
[0] = args
;
16854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16858 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16874 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16875 PyObject
*resultobj
= 0;
16876 wxLocale
*arg1
= (wxLocale
*) 0 ;
16880 PyObject
*swig_obj
[1] ;
16882 if (!args
) SWIG_fail
;
16883 swig_obj
[0] = args
;
16884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16888 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= ((wxLocale
const *)arg1
)->GetLocale();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16908 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16909 PyObject
*resultobj
= 0;
16910 wxLocale
*arg1
= (wxLocale
*) 0 ;
16914 PyObject
*swig_obj
[1] ;
16916 if (!args
) SWIG_fail
;
16917 swig_obj
[0] = args
;
16918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16919 if (!SWIG_IsOK(res1
)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16922 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_From_int(static_cast< int >(result
));
16936 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16937 PyObject
*resultobj
= 0;
16938 wxLocale
*arg1
= (wxLocale
*) 0 ;
16942 PyObject
*swig_obj
[1] ;
16944 if (!args
) SWIG_fail
;
16945 swig_obj
[0] = args
;
16946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16947 if (!SWIG_IsOK(res1
)) {
16948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16950 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= ((wxLocale
const *)arg1
)->GetSysName();
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16970 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxLocale
*arg1
= (wxLocale
*) 0 ;
16976 PyObject
*swig_obj
[1] ;
16978 if (!args
) SWIG_fail
;
16979 swig_obj
[0] = args
;
16980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16981 if (!SWIG_IsOK(res1
)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16984 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17004 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
= 0;
17006 wxString
*arg1
= 0 ;
17007 bool temp1
= false ;
17008 PyObject
* obj0
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "prefix", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17015 arg1
= wxString_in_helper(obj0
);
17016 if (arg1
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_Py_Void();
17040 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
= 0;
17042 wxLocale
*arg1
= (wxLocale
*) 0 ;
17043 wxString
*arg2
= 0 ;
17047 bool temp2
= false ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "self",(char *) "domain", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17059 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
= 0;
17094 PyObject
* obj0
= 0 ;
17095 char * kwnames
[] = {
17096 (char *) "lang", NULL
17099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17101 if (!SWIG_IsOK(ecode1
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17104 arg1
= static_cast< int >(val1
);
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (bool)wxLocale::IsAvailable(arg1
);
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17120 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxLocale
*arg1
= (wxLocale
*) 0 ;
17123 wxString
*arg2
= 0 ;
17127 bool temp2
= false ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 char * kwnames
[] = {
17131 (char *) "self",(char *) "domain", NULL
17134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17136 if (!SWIG_IsOK(res1
)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17139 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17141 arg2
= wxString_in_helper(obj1
);
17142 if (arg2
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17168 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17171 wxLanguageInfo
*result
= 0 ;
17174 PyObject
* obj0
= 0 ;
17175 char * kwnames
[] = {
17176 (char *) "lang", NULL
17179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17181 if (!SWIG_IsOK(ecode1
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17184 arg1
= static_cast< int >(val1
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17198 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= 0;
17204 PyObject
* obj0
= 0 ;
17205 char * kwnames
[] = {
17206 (char *) "lang", NULL
17209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17211 if (!SWIG_IsOK(ecode1
)) {
17212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17214 arg1
= static_cast< int >(val1
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= wxLocale::GetLanguageName(arg1
);
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17234 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
= 0;
17236 wxString
*arg1
= 0 ;
17237 wxLanguageInfo
*result
= 0 ;
17238 bool temp1
= false ;
17239 PyObject
* obj0
= 0 ;
17240 char * kwnames
[] = {
17241 (char *) "locale", NULL
17244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17246 arg1
= wxString_in_helper(obj0
);
17247 if (arg1
== NULL
) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17271 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
= 0;
17273 wxLanguageInfo
*arg1
= 0 ;
17276 PyObject
* obj0
= 0 ;
17277 char * kwnames
[] = {
17278 (char *) "info", NULL
17281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17283 if (!SWIG_IsOK(res1
)) {
17284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17289 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxLocale
*arg1
= (wxLocale
*) 0 ;
17306 wxString
*arg2
= 0 ;
17307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17312 bool temp2
= false ;
17313 bool temp3
= false ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 PyObject
* obj2
= 0 ;
17317 char * kwnames
[] = {
17318 (char *) "self",(char *) "origString",(char *) "domain", NULL
17321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17326 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17328 arg2
= wxString_in_helper(obj1
);
17329 if (arg2
== NULL
) SWIG_fail
;
17334 arg3
= wxString_in_helper(obj2
);
17335 if (arg3
== NULL
) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17374 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 PyObject
*resultobj
= 0;
17376 wxLocale
*arg1
= (wxLocale
*) 0 ;
17377 wxString
*result
= 0 ;
17380 PyObject
*swig_obj
[1] ;
17382 if (!args
) SWIG_fail
;
17383 swig_obj
[0] = args
;
17384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17388 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17393 result
= (wxString
*) &_result_ref
;
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17402 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17411 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17414 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17415 return SWIG_Py_Void();
17418 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17419 return SWIG_Python_InitShadowInstance(args
);
17422 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17423 PyObject
*resultobj
= 0;
17424 int arg1
= (int) -1 ;
17425 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17426 wxPyLocale
*result
= 0 ;
17431 PyObject
* obj0
= 0 ;
17432 PyObject
* obj1
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "language",(char *) "flags", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17440 if (!SWIG_IsOK(ecode1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17443 arg1
= static_cast< int >(val1
);
17446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17447 if (!SWIG_IsOK(ecode2
)) {
17448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17450 arg2
= static_cast< int >(val2
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17465 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17466 PyObject
*resultobj
= 0;
17467 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17470 PyObject
*swig_obj
[1] ;
17472 if (!args
) SWIG_fail
;
17473 swig_obj
[0] = args
;
17474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17475 if (!SWIG_IsOK(res1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17478 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= SWIG_Py_Void();
17493 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17496 PyObject
*arg2
= (PyObject
*) 0 ;
17497 PyObject
*arg3
= (PyObject
*) 0 ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 char * kwnames
[] = {
17504 (char *) "self",(char *) "self",(char *) "_class", NULL
17507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17509 if (!SWIG_IsOK(res1
)) {
17510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17512 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_Py_Void();
17528 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= 0;
17530 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17531 wxString
*arg2
= 0 ;
17532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17534 wxString
*result
= 0 ;
17537 bool temp2
= false ;
17538 bool temp3
= false ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 PyObject
* obj2
= 0 ;
17542 char * kwnames
[] = {
17543 (char *) "self",(char *) "origString",(char *) "domain", NULL
17546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17551 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17553 arg2
= wxString_in_helper(obj1
);
17554 if (arg2
== NULL
) SWIG_fail
;
17559 arg3
= wxString_in_helper(obj2
);
17560 if (arg3
== NULL
) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17568 result
= (wxString
*) &_result_ref
;
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17577 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17602 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
= 0;
17604 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17605 wxString
*arg2
= 0 ;
17606 wxString
*arg3
= 0 ;
17608 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17609 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17610 wxString
*result
= 0 ;
17613 bool temp2
= false ;
17614 bool temp3
= false ;
17617 bool temp5
= false ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 PyObject
* obj3
= 0 ;
17622 PyObject
* obj4
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17632 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17634 arg2
= wxString_in_helper(obj1
);
17635 if (arg2
== NULL
) SWIG_fail
;
17639 arg3
= wxString_in_helper(obj2
);
17640 if (arg3
== NULL
) SWIG_fail
;
17643 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17644 if (!SWIG_IsOK(ecode4
)) {
17645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17647 arg4
= static_cast< size_t >(val4
);
17650 arg5
= wxString_in_helper(obj4
);
17651 if (arg5
== NULL
) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17659 result
= (wxString
*) &_result_ref
;
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17701 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17705 return SWIG_Py_Void();
17708 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17709 return SWIG_Python_InitShadowInstance(args
);
17712 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17713 PyObject
*resultobj
= 0;
17714 wxLocale
*result
= 0 ;
17716 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (wxLocale
*)wxGetLocale();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17730 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17731 PyObject
*resultobj
= 0;
17732 wxString
*arg1
= 0 ;
17734 bool temp1
= false ;
17736 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17738 arg1
= wxString_in_helper(swig_obj
[0]);
17739 if (arg1
== NULL
) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= wxGetTranslation((wxString
const &)*arg1
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17769 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17770 PyObject
*resultobj
= 0;
17771 wxString
*arg1
= 0 ;
17772 wxString
*arg2
= 0 ;
17774 bool temp1
= false ;
17775 bool temp2
= false ;
17777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17779 arg1
= wxString_in_helper(swig_obj
[0]);
17780 if (arg1
== NULL
) SWIG_fail
;
17784 arg2
= wxString_in_helper(swig_obj
[1]);
17785 if (arg2
== NULL
) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17823 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17824 PyObject
*resultobj
= 0;
17825 wxString
*arg1
= 0 ;
17826 wxString
*arg2
= 0 ;
17829 bool temp1
= false ;
17830 bool temp2
= false ;
17834 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17836 arg1
= wxString_in_helper(swig_obj
[0]);
17837 if (arg1
== NULL
) SWIG_fail
;
17841 arg2
= wxString_in_helper(swig_obj
[1]);
17842 if (arg2
== NULL
) SWIG_fail
;
17845 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17846 if (!SWIG_IsOK(ecode3
)) {
17847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17849 arg3
= static_cast< size_t >(val3
);
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17885 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17886 PyObject
*resultobj
= 0;
17887 wxString
*arg1
= 0 ;
17888 wxString
*arg2
= 0 ;
17890 wxString
*arg4
= 0 ;
17892 bool temp1
= false ;
17893 bool temp2
= false ;
17896 bool temp4
= false ;
17898 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17900 arg1
= wxString_in_helper(swig_obj
[0]);
17901 if (arg1
== NULL
) SWIG_fail
;
17905 arg2
= wxString_in_helper(swig_obj
[1]);
17906 if (arg2
== NULL
) SWIG_fail
;
17909 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17910 if (!SWIG_IsOK(ecode3
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17913 arg3
= static_cast< size_t >(val3
);
17915 arg4
= wxString_in_helper(swig_obj
[3]);
17916 if (arg4
== NULL
) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17962 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17966 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17969 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17972 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17975 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17978 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17982 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17987 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17988 PyObject
*resultobj
= 0;
17989 wxEncodingConverter
*result
= 0 ;
17991 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
18005 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18006 PyObject
*resultobj
= 0;
18007 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18010 PyObject
*swig_obj
[1] ;
18012 if (!args
) SWIG_fail
;
18013 swig_obj
[0] = args
;
18014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
18015 if (!SWIG_IsOK(res1
)) {
18016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18018 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_Py_Void();
18033 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18036 wxFontEncoding arg2
;
18037 wxFontEncoding arg3
;
18038 int arg4
= (int) wxCONVERT_STRICT
;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 PyObject
* obj2
= 0 ;
18051 PyObject
* obj3
= 0 ;
18052 char * kwnames
[] = {
18053 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18058 if (!SWIG_IsOK(res1
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18061 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18063 if (!SWIG_IsOK(ecode2
)) {
18064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18066 arg2
= static_cast< wxFontEncoding
>(val2
);
18067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18068 if (!SWIG_IsOK(ecode3
)) {
18069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18071 arg3
= static_cast< wxFontEncoding
>(val3
);
18073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18074 if (!SWIG_IsOK(ecode4
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18077 arg4
= static_cast< int >(val4
);
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18094 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= 0;
18096 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18097 wxString
*arg2
= 0 ;
18101 bool temp2
= false ;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 char * kwnames
[] = {
18105 (char *) "self",(char *) "input", NULL
18108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18113 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18115 arg2
= wxString_in_helper(obj1
);
18116 if (arg2
== NULL
) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18146 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
= 0;
18148 wxFontEncoding arg1
;
18149 int arg2
= (int) wxPLATFORM_CURRENT
;
18150 wxFontEncodingArray result
;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char * kwnames
[] = {
18158 (char *) "enc",(char *) "platform", NULL
18161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18162 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18163 if (!SWIG_IsOK(ecode1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18166 arg1
= static_cast< wxFontEncoding
>(val1
);
18168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18169 if (!SWIG_IsOK(ecode2
)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18172 arg2
= static_cast< int >(val2
);
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= PyList_New(0);
18182 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18183 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18184 PyList_Append(resultobj
, number
);
18194 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxFontEncoding arg1
;
18197 wxFontEncodingArray result
;
18200 PyObject
* obj0
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "enc", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18207 if (!SWIG_IsOK(ecode1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18210 arg1
= static_cast< wxFontEncoding
>(val1
);
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= PyList_New(0);
18219 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18220 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18221 PyList_Append(resultobj
, number
);
18231 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= 0;
18233 wxFontEncoding arg1
;
18234 wxFontEncoding arg2
;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char * kwnames
[] = {
18243 (char *) "encIn",(char *) "encOut", NULL
18246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18248 if (!SWIG_IsOK(ecode1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18251 arg1
= static_cast< wxFontEncoding
>(val1
);
18252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18253 if (!SWIG_IsOK(ecode2
)) {
18254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18256 arg2
= static_cast< wxFontEncoding
>(val2
);
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18272 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18275 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18276 return SWIG_Py_Void();
18279 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18280 return SWIG_Python_InitShadowInstance(args
);
18283 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18284 PyObject
*resultobj
= 0;
18285 wxDC
*arg1
= (wxDC
*) 0 ;
18288 PyObject
*swig_obj
[1] ;
18290 if (!args
) SWIG_fail
;
18291 swig_obj
[0] = args
;
18292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_Py_Void();
18311 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
= 0;
18313 wxDC
*arg1
= (wxDC
*) 0 ;
18316 wxColour
*arg4
= 0 ;
18317 int arg5
= (int) wxFLOOD_SURFACE
;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 PyObject
* obj2
= 0 ;
18331 PyObject
* obj3
= 0 ;
18332 PyObject
* obj4
= 0 ;
18333 char * kwnames
[] = {
18334 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18339 if (!SWIG_IsOK(res1
)) {
18340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18344 if (!SWIG_IsOK(ecode2
)) {
18345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18347 arg2
= static_cast< int >(val2
);
18348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18349 if (!SWIG_IsOK(ecode3
)) {
18350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18352 arg3
= static_cast< int >(val3
);
18355 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18359 if (!SWIG_IsOK(ecode5
)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18362 arg5
= static_cast< int >(val5
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18379 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
= 0;
18381 wxDC
*arg1
= (wxDC
*) 0 ;
18382 wxPoint
*arg2
= 0 ;
18383 wxColour
*arg3
= 0 ;
18384 int arg4
= (int) wxFLOOD_SURFACE
;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 char * kwnames
[] = {
18397 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18402 if (!SWIG_IsOK(res1
)) {
18403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18416 if (!SWIG_IsOK(ecode4
)) {
18417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18419 arg4
= static_cast< int >(val4
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
= 0;
18438 wxDC
*arg1
= (wxDC
*) 0 ;
18440 wxColour
*arg3
= 0 ;
18441 wxColour
*arg4
= 0 ;
18442 wxPoint
*arg5
= 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 PyObject
* obj4
= 0 ;
18454 char * kwnames
[] = {
18455 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18474 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18478 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_Py_Void();
18493 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxDC
*arg1
= (wxDC
*) 0 ;
18497 wxColour
*arg3
= 0 ;
18498 wxColour
*arg4
= 0 ;
18499 wxDirection arg5
= (wxDirection
) wxEAST
;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 PyObject
* obj2
= 0 ;
18510 PyObject
* obj3
= 0 ;
18511 PyObject
* obj4
= 0 ;
18512 char * kwnames
[] = {
18513 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18518 if (!SWIG_IsOK(res1
)) {
18519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18524 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18528 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18532 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18535 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18536 if (!SWIG_IsOK(ecode5
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18539 arg5
= static_cast< wxDirection
>(val5
);
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_Py_Void();
18554 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
= 0;
18556 wxDC
*arg1
= (wxDC
*) 0 ;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 PyObject
* obj2
= 0 ;
18569 char * kwnames
[] = {
18570 (char *) "self",(char *) "x",(char *) "y", NULL
18573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18575 if (!SWIG_IsOK(res1
)) {
18576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18580 if (!SWIG_IsOK(ecode2
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18583 arg2
= static_cast< int >(val2
);
18584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18585 if (!SWIG_IsOK(ecode3
)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18588 arg3
= static_cast< int >(val3
);
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18592 wxPyEndAllowThreads(__tstate
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18602 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
= 0;
18604 wxDC
*arg1
= (wxDC
*) 0 ;
18605 wxPoint
*arg2
= 0 ;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char * kwnames
[] = {
18613 (char *) "self",(char *) "pt", NULL
18616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18618 if (!SWIG_IsOK(res1
)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18639 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
= 0;
18641 wxDC
*arg1
= (wxDC
*) 0 ;
18656 PyObject
* obj0
= 0 ;
18657 PyObject
* obj1
= 0 ;
18658 PyObject
* obj2
= 0 ;
18659 PyObject
* obj3
= 0 ;
18660 PyObject
* obj4
= 0 ;
18661 char * kwnames
[] = {
18662 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18667 if (!SWIG_IsOK(res1
)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18672 if (!SWIG_IsOK(ecode2
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18675 arg2
= static_cast< int >(val2
);
18676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18677 if (!SWIG_IsOK(ecode3
)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18680 arg3
= static_cast< int >(val3
);
18681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18682 if (!SWIG_IsOK(ecode4
)) {
18683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18685 arg4
= static_cast< int >(val4
);
18686 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18687 if (!SWIG_IsOK(ecode5
)) {
18688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18690 arg5
= static_cast< int >(val5
);
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18704 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
= 0;
18706 wxDC
*arg1
= (wxDC
*) 0 ;
18707 wxPoint
*arg2
= 0 ;
18708 wxPoint
*arg3
= 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 PyObject
* obj2
= 0 ;
18716 char * kwnames
[] = {
18717 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18722 if (!SWIG_IsOK(res1
)) {
18723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= SWIG_Py_Void();
18747 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxDC
*arg1
= (wxDC
*) 0 ;
18758 PyObject
* obj0
= 0 ;
18759 PyObject
* obj1
= 0 ;
18760 PyObject
* obj2
= 0 ;
18761 char * kwnames
[] = {
18762 (char *) "self",(char *) "x",(char *) "y", NULL
18765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18772 if (!SWIG_IsOK(ecode2
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18775 arg2
= static_cast< int >(val2
);
18776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18777 if (!SWIG_IsOK(ecode3
)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18780 arg3
= static_cast< int >(val3
);
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 (arg1
)->CrossHair(arg2
,arg3
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= SWIG_Py_Void();
18794 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= 0;
18796 wxDC
*arg1
= (wxDC
*) 0 ;
18797 wxPoint
*arg2
= 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char * kwnames
[] = {
18804 (char *) "self",(char *) "pt", NULL
18807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_Py_Void();
18830 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= 0;
18832 wxDC
*arg1
= (wxDC
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 PyObject
* obj2
= 0 ;
18856 PyObject
* obj3
= 0 ;
18857 PyObject
* obj4
= 0 ;
18858 PyObject
* obj5
= 0 ;
18859 PyObject
* obj6
= 0 ;
18860 char * kwnames
[] = {
18861 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18866 if (!SWIG_IsOK(res1
)) {
18867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18871 if (!SWIG_IsOK(ecode2
)) {
18872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18874 arg2
= static_cast< int >(val2
);
18875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18876 if (!SWIG_IsOK(ecode3
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18879 arg3
= static_cast< int >(val3
);
18880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18881 if (!SWIG_IsOK(ecode4
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18884 arg4
= static_cast< int >(val4
);
18885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18886 if (!SWIG_IsOK(ecode5
)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18889 arg5
= static_cast< int >(val5
);
18890 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18891 if (!SWIG_IsOK(ecode6
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18894 arg6
= static_cast< int >(val6
);
18895 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18896 if (!SWIG_IsOK(ecode7
)) {
18897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18899 arg7
= static_cast< int >(val7
);
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_Py_Void();
18913 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
= 0;
18915 wxDC
*arg1
= (wxDC
*) 0 ;
18916 wxPoint
*arg2
= 0 ;
18917 wxPoint
*arg3
= 0 ;
18918 wxPoint
*arg4
= 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 PyObject
* obj2
= 0 ;
18927 PyObject
* obj3
= 0 ;
18928 char * kwnames
[] = {
18929 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18934 if (!SWIG_IsOK(res1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18944 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_Py_Void();
18963 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
= 0;
18965 wxDC
*arg1
= (wxDC
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 PyObject
* obj3
= 0 ;
18984 PyObject
* obj4
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18991 if (!SWIG_IsOK(res1
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18996 if (!SWIG_IsOK(ecode2
)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18999 arg2
= static_cast< int >(val2
);
19000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19001 if (!SWIG_IsOK(ecode3
)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
19004 arg3
= static_cast< int >(val3
);
19005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19006 if (!SWIG_IsOK(ecode4
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
19009 arg4
= static_cast< int >(val4
);
19010 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19011 if (!SWIG_IsOK(ecode5
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
19014 arg5
= static_cast< int >(val5
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_Py_Void();
19028 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxDC
*arg1
= (wxDC
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "rect", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
19046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19064 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxDC
*arg1
= (wxDC
*) 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 PyObject
* obj3
= 0 ;
19091 PyObject
* obj4
= 0 ;
19092 PyObject
* obj5
= 0 ;
19093 PyObject
* obj6
= 0 ;
19094 char * kwnames
[] = {
19095 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19105 if (!SWIG_IsOK(ecode2
)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19108 arg2
= static_cast< int >(val2
);
19109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19110 if (!SWIG_IsOK(ecode3
)) {
19111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19113 arg3
= static_cast< int >(val3
);
19114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19115 if (!SWIG_IsOK(ecode4
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19118 arg4
= static_cast< int >(val4
);
19119 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19120 if (!SWIG_IsOK(ecode5
)) {
19121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19123 arg5
= static_cast< int >(val5
);
19124 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19125 if (!SWIG_IsOK(ecode6
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19128 arg6
= static_cast< double >(val6
);
19129 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19130 if (!SWIG_IsOK(ecode7
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19133 arg7
= static_cast< double >(val7
);
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_Py_Void();
19147 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
= 0;
19149 wxDC
*arg1
= (wxDC
*) 0 ;
19150 wxPoint
*arg2
= 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 PyObject
* obj3
= 0 ;
19166 PyObject
* obj4
= 0 ;
19167 char * kwnames
[] = {
19168 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19183 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19185 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19186 if (!SWIG_IsOK(ecode4
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19189 arg4
= static_cast< double >(val4
);
19190 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19191 if (!SWIG_IsOK(ecode5
)) {
19192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19194 arg5
= static_cast< double >(val5
);
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_Py_Void();
19208 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= 0;
19210 wxDC
*arg1
= (wxDC
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 PyObject
* obj2
= 0 ;
19222 char * kwnames
[] = {
19223 (char *) "self",(char *) "x",(char *) "y", NULL
19226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19228 if (!SWIG_IsOK(res1
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19233 if (!SWIG_IsOK(ecode2
)) {
19234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19236 arg2
= static_cast< int >(val2
);
19237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19238 if (!SWIG_IsOK(ecode3
)) {
19239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19241 arg3
= static_cast< int >(val3
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->DrawPoint(arg2
,arg3
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19258 wxPoint
*arg2
= 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char * kwnames
[] = {
19265 (char *) "self",(char *) "pt", NULL
19268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19270 if (!SWIG_IsOK(res1
)) {
19271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= SWIG_Py_Void();
19291 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxDC
*arg1
= (wxDC
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 PyObject
* obj2
= 0 ;
19311 PyObject
* obj3
= 0 ;
19312 PyObject
* obj4
= 0 ;
19313 char * kwnames
[] = {
19314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19319 if (!SWIG_IsOK(res1
)) {
19320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19324 if (!SWIG_IsOK(ecode2
)) {
19325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19327 arg2
= static_cast< int >(val2
);
19328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19329 if (!SWIG_IsOK(ecode3
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19332 arg3
= static_cast< int >(val3
);
19333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19334 if (!SWIG_IsOK(ecode4
)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19337 arg4
= static_cast< int >(val4
);
19338 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19339 if (!SWIG_IsOK(ecode5
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19342 arg5
= static_cast< int >(val5
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_Py_Void();
19356 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
= 0;
19358 wxDC
*arg1
= (wxDC
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char * kwnames
[] = {
19366 (char *) "self",(char *) "rect", NULL
19369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19371 if (!SWIG_IsOK(res1
)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_Py_Void();
19392 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxDC
*arg1
= (wxDC
*) 0 ;
19395 wxPoint
*arg2
= 0 ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 PyObject
* obj2
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "pt",(char *) "sz", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19420 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_Py_Void();
19435 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
= 0;
19437 wxDC
*arg1
= (wxDC
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 PyObject
* obj2
= 0 ;
19458 PyObject
* obj3
= 0 ;
19459 PyObject
* obj4
= 0 ;
19460 PyObject
* obj5
= 0 ;
19461 char * kwnames
[] = {
19462 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19472 if (!SWIG_IsOK(ecode2
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19475 arg2
= static_cast< int >(val2
);
19476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19477 if (!SWIG_IsOK(ecode3
)) {
19478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19480 arg3
= static_cast< int >(val3
);
19481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19482 if (!SWIG_IsOK(ecode4
)) {
19483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19485 arg4
= static_cast< int >(val4
);
19486 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19487 if (!SWIG_IsOK(ecode5
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19490 arg5
= static_cast< int >(val5
);
19491 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19492 if (!SWIG_IsOK(ecode6
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19495 arg6
= static_cast< double >(val6
);
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_Py_Void();
19509 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= 0;
19511 wxDC
*arg1
= (wxDC
*) 0 ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 char * kwnames
[] = {
19523 (char *) "self",(char *) "r",(char *) "radius", NULL
19526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19536 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19537 if (!SWIG_IsOK(ecode3
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19540 arg3
= static_cast< double >(val3
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19554 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
= 0;
19556 wxDC
*arg1
= (wxDC
*) 0 ;
19557 wxPoint
*arg2
= 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 PyObject
* obj3
= 0 ;
19570 char * kwnames
[] = {
19571 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19576 if (!SWIG_IsOK(res1
)) {
19577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19586 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19588 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19592 arg4
= static_cast< double >(val4
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19606 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxDC
*arg1
= (wxDC
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 PyObject
* obj1
= 0 ;
19622 PyObject
* obj2
= 0 ;
19623 PyObject
* obj3
= 0 ;
19624 char * kwnames
[] = {
19625 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19630 if (!SWIG_IsOK(res1
)) {
19631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19635 if (!SWIG_IsOK(ecode2
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19638 arg2
= static_cast< int >(val2
);
19639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19640 if (!SWIG_IsOK(ecode3
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19643 arg3
= static_cast< int >(val3
);
19644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19645 if (!SWIG_IsOK(ecode4
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19648 arg4
= static_cast< int >(val4
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_Py_Void();
19662 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
= 0;
19664 wxDC
*arg1
= (wxDC
*) 0 ;
19665 wxPoint
*arg2
= 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 PyObject
* obj2
= 0 ;
19675 char * kwnames
[] = {
19676 (char *) "self",(char *) "pt",(char *) "radius", NULL
19679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19690 if (!SWIG_IsOK(ecode3
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19693 arg3
= static_cast< int >(val3
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_Py_Void();
19707 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
= 0;
19709 wxDC
*arg1
= (wxDC
*) 0 ;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 PyObject
* obj2
= 0 ;
19727 PyObject
* obj3
= 0 ;
19728 PyObject
* obj4
= 0 ;
19729 char * kwnames
[] = {
19730 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19735 if (!SWIG_IsOK(res1
)) {
19736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19740 if (!SWIG_IsOK(ecode2
)) {
19741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19743 arg2
= static_cast< int >(val2
);
19744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19745 if (!SWIG_IsOK(ecode3
)) {
19746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19748 arg3
= static_cast< int >(val3
);
19749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19750 if (!SWIG_IsOK(ecode4
)) {
19751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19753 arg4
= static_cast< int >(val4
);
19754 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19755 if (!SWIG_IsOK(ecode5
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19758 arg5
= static_cast< int >(val5
);
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19772 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
= 0;
19774 wxDC
*arg1
= (wxDC
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char * kwnames
[] = {
19782 (char *) "self",(char *) "rect", NULL
19785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_Py_Void();
19808 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
= 0;
19810 wxDC
*arg1
= (wxDC
*) 0 ;
19811 wxPoint
*arg2
= 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 PyObject
* obj2
= 0 ;
19820 char * kwnames
[] = {
19821 (char *) "self",(char *) "pt",(char *) "sz", NULL
19824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19836 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_Py_Void();
19851 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxDC
*arg1
= (wxDC
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 PyObject
* obj2
= 0 ;
19868 PyObject
* obj3
= 0 ;
19869 char * kwnames
[] = {
19870 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19875 if (!SWIG_IsOK(res1
)) {
19876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19880 if (!SWIG_IsOK(res2
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19886 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19888 if (!SWIG_IsOK(ecode3
)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19891 arg3
= static_cast< int >(val3
);
19892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19893 if (!SWIG_IsOK(ecode4
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19896 arg4
= static_cast< int >(val4
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_Py_Void();
19910 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
= 0;
19912 wxDC
*arg1
= (wxDC
*) 0 ;
19914 wxPoint
*arg3
= 0 ;
19920 PyObject
* obj0
= 0 ;
19921 PyObject
* obj1
= 0 ;
19922 PyObject
* obj2
= 0 ;
19923 char * kwnames
[] = {
19924 (char *) "self",(char *) "icon",(char *) "pt", NULL
19927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19929 if (!SWIG_IsOK(res1
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19934 if (!SWIG_IsOK(res2
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19940 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19943 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= SWIG_Py_Void();
19958 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19961 wxBitmap
*arg2
= 0 ;
19964 bool arg5
= (bool) false ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 PyObject
* obj2
= 0 ;
19978 PyObject
* obj3
= 0 ;
19979 PyObject
* obj4
= 0 ;
19980 char * kwnames
[] = {
19981 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19986 if (!SWIG_IsOK(res1
)) {
19987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19991 if (!SWIG_IsOK(res2
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19997 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19999 if (!SWIG_IsOK(ecode3
)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
20002 arg3
= static_cast< int >(val3
);
20003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20004 if (!SWIG_IsOK(ecode4
)) {
20005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
20007 arg4
= static_cast< int >(val4
);
20009 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20010 if (!SWIG_IsOK(ecode5
)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
20013 arg5
= static_cast< bool >(val5
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20031 wxBitmap
*arg2
= 0 ;
20032 wxPoint
*arg3
= 0 ;
20033 bool arg4
= (bool) false ;
20041 PyObject
* obj0
= 0 ;
20042 PyObject
* obj1
= 0 ;
20043 PyObject
* obj2
= 0 ;
20044 PyObject
* obj3
= 0 ;
20045 char * kwnames
[] = {
20046 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20056 if (!SWIG_IsOK(res2
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20062 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20068 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20072 arg4
= static_cast< bool >(val4
);
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_Py_Void();
20087 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
= 0;
20089 wxDC
*arg1
= (wxDC
*) 0 ;
20090 wxString
*arg2
= 0 ;
20095 bool temp2
= false ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 PyObject
* obj2
= 0 ;
20103 PyObject
* obj3
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20115 arg2
= wxString_in_helper(obj1
);
20116 if (arg2
== NULL
) SWIG_fail
;
20119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20120 if (!SWIG_IsOK(ecode3
)) {
20121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20123 arg3
= static_cast< int >(val3
);
20124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20125 if (!SWIG_IsOK(ecode4
)) {
20126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20128 arg4
= static_cast< int >(val4
);
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_Py_Void();
20150 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxDC
*arg1
= (wxDC
*) 0 ;
20153 wxString
*arg2
= 0 ;
20154 wxPoint
*arg3
= 0 ;
20157 bool temp2
= false ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 PyObject
* obj2
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "text",(char *) "pt", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 arg2
= wxString_in_helper(obj1
);
20174 if (arg2
== NULL
) SWIG_fail
;
20179 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20202 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
= 0;
20204 wxDC
*arg1
= (wxDC
*) 0 ;
20205 wxString
*arg2
= 0 ;
20211 bool temp2
= false ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 PyObject
* obj2
= 0 ;
20221 PyObject
* obj3
= 0 ;
20222 PyObject
* obj4
= 0 ;
20223 char * kwnames
[] = {
20224 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20229 if (!SWIG_IsOK(res1
)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20234 arg2
= wxString_in_helper(obj1
);
20235 if (arg2
== NULL
) SWIG_fail
;
20238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20239 if (!SWIG_IsOK(ecode3
)) {
20240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20242 arg3
= static_cast< int >(val3
);
20243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20244 if (!SWIG_IsOK(ecode4
)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20247 arg4
= static_cast< int >(val4
);
20248 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20249 if (!SWIG_IsOK(ecode5
)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20252 arg5
= static_cast< double >(val5
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 resultobj
= SWIG_Py_Void();
20274 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxDC
*arg1
= (wxDC
*) 0 ;
20277 wxString
*arg2
= 0 ;
20278 wxPoint
*arg3
= 0 ;
20282 bool temp2
= false ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 PyObject
* obj2
= 0 ;
20289 PyObject
* obj3
= 0 ;
20290 char * kwnames
[] = {
20291 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20301 arg2
= wxString_in_helper(obj1
);
20302 if (arg2
== NULL
) SWIG_fail
;
20307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20309 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20310 if (!SWIG_IsOK(ecode4
)) {
20311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20313 arg4
= static_cast< double >(val4
);
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= SWIG_Py_Void();
20335 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
= 0;
20337 wxDC
*arg1
= (wxDC
*) 0 ;
20342 wxDC
*arg6
= (wxDC
*) 0 ;
20345 int arg9
= (int) wxCOPY
;
20346 bool arg10
= (bool) false ;
20347 int arg11
= (int) -1 ;
20348 int arg12
= (int) -1 ;
20374 PyObject
* obj0
= 0 ;
20375 PyObject
* obj1
= 0 ;
20376 PyObject
* obj2
= 0 ;
20377 PyObject
* obj3
= 0 ;
20378 PyObject
* obj4
= 0 ;
20379 PyObject
* obj5
= 0 ;
20380 PyObject
* obj6
= 0 ;
20381 PyObject
* obj7
= 0 ;
20382 PyObject
* obj8
= 0 ;
20383 PyObject
* obj9
= 0 ;
20384 PyObject
* obj10
= 0 ;
20385 PyObject
* obj11
= 0 ;
20386 char * kwnames
[] = {
20387 (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
20390 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
;
20391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20392 if (!SWIG_IsOK(res1
)) {
20393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20397 if (!SWIG_IsOK(ecode2
)) {
20398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20400 arg2
= static_cast< int >(val2
);
20401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20402 if (!SWIG_IsOK(ecode3
)) {
20403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20405 arg3
= static_cast< int >(val3
);
20406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20407 if (!SWIG_IsOK(ecode4
)) {
20408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20410 arg4
= static_cast< int >(val4
);
20411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20412 if (!SWIG_IsOK(ecode5
)) {
20413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20415 arg5
= static_cast< int >(val5
);
20416 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20417 if (!SWIG_IsOK(res6
)) {
20418 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20420 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20421 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20422 if (!SWIG_IsOK(ecode7
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20425 arg7
= static_cast< int >(val7
);
20426 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20427 if (!SWIG_IsOK(ecode8
)) {
20428 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20430 arg8
= static_cast< int >(val8
);
20432 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20433 if (!SWIG_IsOK(ecode9
)) {
20434 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20436 arg9
= static_cast< int >(val9
);
20439 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20440 if (!SWIG_IsOK(ecode10
)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20443 arg10
= static_cast< bool >(val10
);
20446 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20447 if (!SWIG_IsOK(ecode11
)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20450 arg11
= static_cast< int >(val11
);
20453 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20454 if (!SWIG_IsOK(ecode12
)) {
20455 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20457 arg12
= static_cast< int >(val12
);
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20474 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
= 0;
20476 wxDC
*arg1
= (wxDC
*) 0 ;
20477 wxPoint
*arg2
= 0 ;
20479 wxDC
*arg4
= (wxDC
*) 0 ;
20480 wxPoint
*arg5
= 0 ;
20481 int arg6
= (int) wxCOPY
;
20482 bool arg7
= (bool) false ;
20483 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20484 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 PyObject
* obj2
= 0 ;
20501 PyObject
* obj3
= 0 ;
20502 PyObject
* obj4
= 0 ;
20503 PyObject
* obj5
= 0 ;
20504 PyObject
* obj6
= 0 ;
20505 PyObject
* obj7
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20522 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20524 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20525 if (!SWIG_IsOK(res4
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20528 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20531 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20534 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20535 if (!SWIG_IsOK(ecode6
)) {
20536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20538 arg6
= static_cast< int >(val6
);
20541 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20542 if (!SWIG_IsOK(ecode7
)) {
20543 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20545 arg7
= static_cast< bool >(val7
);
20550 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20568 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
= 0;
20570 wxDC
*arg1
= (wxDC
*) 0 ;
20575 wxDC
*arg6
= (wxDC
*) 0 ;
20580 int arg11
= (int) wxCOPY
;
20581 bool arg12
= (bool) false ;
20582 int arg13
= (int) wxDefaultCoord
;
20583 int arg14
= (int) wxDefaultCoord
;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 PyObject
* obj2
= 0 ;
20616 PyObject
* obj3
= 0 ;
20617 PyObject
* obj4
= 0 ;
20618 PyObject
* obj5
= 0 ;
20619 PyObject
* obj6
= 0 ;
20620 PyObject
* obj7
= 0 ;
20621 PyObject
* obj8
= 0 ;
20622 PyObject
* obj9
= 0 ;
20623 PyObject
* obj10
= 0 ;
20624 PyObject
* obj11
= 0 ;
20625 PyObject
* obj12
= 0 ;
20626 PyObject
* obj13
= 0 ;
20627 char * kwnames
[] = {
20628 (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
20631 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
;
20632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20633 if (!SWIG_IsOK(res1
)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20638 if (!SWIG_IsOK(ecode2
)) {
20639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20641 arg2
= static_cast< int >(val2
);
20642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20643 if (!SWIG_IsOK(ecode3
)) {
20644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20646 arg3
= static_cast< int >(val3
);
20647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20648 if (!SWIG_IsOK(ecode4
)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20651 arg4
= static_cast< int >(val4
);
20652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20653 if (!SWIG_IsOK(ecode5
)) {
20654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20656 arg5
= static_cast< int >(val5
);
20657 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20658 if (!SWIG_IsOK(res6
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20661 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20662 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20663 if (!SWIG_IsOK(ecode7
)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20666 arg7
= static_cast< int >(val7
);
20667 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20668 if (!SWIG_IsOK(ecode8
)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20671 arg8
= static_cast< int >(val8
);
20672 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20673 if (!SWIG_IsOK(ecode9
)) {
20674 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20676 arg9
= static_cast< int >(val9
);
20677 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20678 if (!SWIG_IsOK(ecode10
)) {
20679 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20681 arg10
= static_cast< int >(val10
);
20683 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20684 if (!SWIG_IsOK(ecode11
)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20687 arg11
= static_cast< int >(val11
);
20690 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20691 if (!SWIG_IsOK(ecode12
)) {
20692 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20694 arg12
= static_cast< bool >(val12
);
20697 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20698 if (!SWIG_IsOK(ecode13
)) {
20699 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20701 arg13
= static_cast< int >(val13
);
20704 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20705 if (!SWIG_IsOK(ecode14
)) {
20706 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20708 arg14
= static_cast< int >(val14
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20725 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
= 0;
20727 wxDC
*arg1
= (wxDC
*) 0 ;
20728 wxPoint
*arg2
= 0 ;
20730 wxDC
*arg4
= (wxDC
*) 0 ;
20731 wxPoint
*arg5
= 0 ;
20733 int arg7
= (int) wxCOPY
;
20734 bool arg8
= (bool) false ;
20735 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20736 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 PyObject
* obj4
= 0 ;
20756 PyObject
* obj5
= 0 ;
20757 PyObject
* obj6
= 0 ;
20758 PyObject
* obj7
= 0 ;
20759 PyObject
* obj8
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20766 if (!SWIG_IsOK(res1
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20776 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20778 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20779 if (!SWIG_IsOK(res4
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20782 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20789 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20792 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20793 if (!SWIG_IsOK(ecode7
)) {
20794 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20796 arg7
= static_cast< int >(val7
);
20799 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20800 if (!SWIG_IsOK(ecode8
)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20803 arg8
= static_cast< bool >(val8
);
20808 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20826 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxDC
*arg1
= (wxDC
*) 0 ;
20829 wxRect
*arg2
= (wxRect
*) NULL
;
20830 SwigValueWrapper
<wxBitmap
> result
;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 char * kwnames
[] = {
20838 (char *) "self",(char *) "subrect", NULL
20841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20843 if (!SWIG_IsOK(res1
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20849 if (!SWIG_IsOK(res2
)) {
20850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20852 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20867 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
= 0;
20869 wxDC
*arg1
= (wxDC
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 PyObject
* obj3
= 0 ;
20888 PyObject
* obj4
= 0 ;
20889 char * kwnames
[] = {
20890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20900 if (!SWIG_IsOK(ecode2
)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20903 arg2
= static_cast< int >(val2
);
20904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20905 if (!SWIG_IsOK(ecode3
)) {
20906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20908 arg3
= static_cast< int >(val3
);
20909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20910 if (!SWIG_IsOK(ecode4
)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20913 arg4
= static_cast< int >(val4
);
20914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20915 if (!SWIG_IsOK(ecode5
)) {
20916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20918 arg5
= static_cast< int >(val5
);
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_Py_Void();
20932 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
= 0;
20934 wxDC
*arg1
= (wxDC
*) 0 ;
20935 wxPoint
*arg2
= 0 ;
20941 PyObject
* obj0
= 0 ;
20942 PyObject
* obj1
= 0 ;
20943 PyObject
* obj2
= 0 ;
20944 char * kwnames
[] = {
20945 (char *) "self",(char *) "pt",(char *) "sz", NULL
20948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20950 if (!SWIG_IsOK(res1
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20960 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_Py_Void();
20975 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= 0;
20977 wxDC
*arg1
= (wxDC
*) 0 ;
20978 wxRegion
*arg2
= 0 ;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 char * kwnames
[] = {
20986 (char *) "self",(char *) "region", NULL
20989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20991 if (!SWIG_IsOK(res1
)) {
20992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20996 if (!SWIG_IsOK(res2
)) {
20997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
21002 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= SWIG_Py_Void();
21016 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
= 0;
21018 wxDC
*arg1
= (wxDC
*) 0 ;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "self",(char *) "rect", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21037 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 resultobj
= SWIG_Py_Void();
21052 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
= 0;
21054 wxDC
*arg1
= (wxDC
*) 0 ;
21056 wxPoint
*arg3
= (wxPoint
*) 0 ;
21057 int arg4
= (int) 0 ;
21058 int arg5
= (int) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 PyObject
* obj2
= 0 ;
21068 PyObject
* obj3
= 0 ;
21069 char * kwnames
[] = {
21070 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
21073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
21078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21080 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21081 if (arg3
== NULL
) SWIG_fail
;
21084 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21085 if (!SWIG_IsOK(ecode4
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
21088 arg4
= static_cast< int >(val4
);
21091 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21092 if (!SWIG_IsOK(ecode5
)) {
21093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
21095 arg5
= static_cast< int >(val5
);
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_Py_Void();
21105 if (arg3
) delete [] arg3
;
21110 if (arg3
) delete [] arg3
;
21116 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxDC
*arg1
= (wxDC
*) 0 ;
21120 wxPoint
*arg3
= (wxPoint
*) 0 ;
21121 int arg4
= (int) 0 ;
21122 int arg5
= (int) 0 ;
21123 int arg6
= (int) wxODDEVEN_RULE
;
21132 PyObject
* obj0
= 0 ;
21133 PyObject
* obj1
= 0 ;
21134 PyObject
* obj2
= 0 ;
21135 PyObject
* obj3
= 0 ;
21136 PyObject
* obj4
= 0 ;
21137 char * kwnames
[] = {
21138 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
21141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
21146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21148 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21149 if (arg3
== NULL
) SWIG_fail
;
21152 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
21153 if (!SWIG_IsOK(ecode4
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
21156 arg4
= static_cast< int >(val4
);
21159 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
21160 if (!SWIG_IsOK(ecode5
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
21163 arg5
= static_cast< int >(val5
);
21166 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
21167 if (!SWIG_IsOK(ecode6
)) {
21168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
21170 arg6
= static_cast< int >(val6
);
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_Py_Void();
21180 if (arg3
) delete [] arg3
;
21185 if (arg3
) delete [] arg3
;
21191 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
= 0;
21193 wxDC
*arg1
= (wxDC
*) 0 ;
21194 wxString
*arg2
= 0 ;
21196 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21197 int arg5
= (int) -1 ;
21200 bool temp2
= false ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 PyObject
* obj3
= 0 ;
21210 PyObject
* obj4
= 0 ;
21211 char * kwnames
[] = {
21212 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21217 if (!SWIG_IsOK(res1
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21222 arg2
= wxString_in_helper(obj1
);
21223 if (arg2
== NULL
) SWIG_fail
;
21228 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
21231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21232 if (!SWIG_IsOK(ecode4
)) {
21233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
21235 arg4
= static_cast< int >(val4
);
21238 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21239 if (!SWIG_IsOK(ecode5
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
21242 arg5
= static_cast< int >(val5
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_Py_Void();
21265 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
= 0;
21267 wxDC
*arg1
= (wxDC
*) 0 ;
21268 wxString
*arg2
= 0 ;
21269 wxBitmap
*arg3
= 0 ;
21271 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
21272 int arg6
= (int) -1 ;
21276 bool temp2
= false ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 PyObject
* obj2
= 0 ;
21287 PyObject
* obj3
= 0 ;
21288 PyObject
* obj4
= 0 ;
21289 PyObject
* obj5
= 0 ;
21290 char * kwnames
[] = {
21291 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
21294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
21299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21301 arg2
= wxString_in_helper(obj1
);
21302 if (arg2
== NULL
) SWIG_fail
;
21305 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21306 if (!SWIG_IsOK(res3
)) {
21307 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21312 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21315 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21318 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21319 if (!SWIG_IsOK(ecode5
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21322 arg5
= static_cast< int >(val5
);
21325 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21326 if (!SWIG_IsOK(ecode6
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21329 arg6
= static_cast< int >(val6
);
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21352 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
= 0;
21354 wxDC
*arg1
= (wxDC
*) 0 ;
21356 wxPoint
*arg3
= (wxPoint
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 char * kwnames
[] = {
21362 (char *) "self",(char *) "points", NULL
21365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21367 if (!SWIG_IsOK(res1
)) {
21368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21372 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21373 if (arg3
== NULL
) SWIG_fail
;
21376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 (arg1
)->DrawSpline(arg2
,arg3
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= SWIG_Py_Void();
21383 if (arg3
) delete [] arg3
;
21388 if (arg3
) delete [] arg3
;
21394 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21395 PyObject
*resultobj
= 0;
21396 wxDC
*arg1
= (wxDC
*) 0 ;
21399 PyObject
*swig_obj
[1] ;
21401 if (!args
) SWIG_fail
;
21402 swig_obj
[0] = args
;
21403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21404 if (!SWIG_IsOK(res1
)) {
21405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_Py_Void();
21421 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
= 0;
21423 wxDC
*arg1
= (wxDC
*) 0 ;
21424 wxString
*arg2
= 0 ;
21428 bool temp2
= false ;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 char * kwnames
[] = {
21432 (char *) "self",(char *) "message", NULL
21435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21437 if (!SWIG_IsOK(res1
)) {
21438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21442 arg2
= wxString_in_helper(obj1
);
21443 if (arg2
== NULL
) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 PyObject
*resultobj
= 0;
21471 wxDC
*arg1
= (wxDC
*) 0 ;
21474 PyObject
*swig_obj
[1] ;
21476 if (!args
) SWIG_fail
;
21477 swig_obj
[0] = args
;
21478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21479 if (!SWIG_IsOK(res1
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_Py_Void();
21496 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 PyObject
*resultobj
= 0;
21498 wxDC
*arg1
= (wxDC
*) 0 ;
21501 PyObject
*swig_obj
[1] ;
21503 if (!args
) SWIG_fail
;
21504 swig_obj
[0] = args
;
21505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 (arg1
)->StartPage();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_Py_Void();
21523 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 PyObject
*resultobj
= 0;
21525 wxDC
*arg1
= (wxDC
*) 0 ;
21528 PyObject
*swig_obj
[1] ;
21530 if (!args
) SWIG_fail
;
21531 swig_obj
[0] = args
;
21532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_Py_Void();
21550 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= 0;
21552 wxDC
*arg1
= (wxDC
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 char * kwnames
[] = {
21561 (char *) "self",(char *) "font", NULL
21564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21566 if (!SWIG_IsOK(res1
)) {
21567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21571 if (!SWIG_IsOK(res2
)) {
21572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21577 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->SetFont((wxFont
const &)*arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= SWIG_Py_Void();
21591 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
= 0;
21593 wxDC
*arg1
= (wxDC
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char * kwnames
[] = {
21602 (char *) "self",(char *) "pen", NULL
21605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21612 if (!SWIG_IsOK(res2
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21618 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->SetPen((wxPen
const &)*arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= SWIG_Py_Void();
21632 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
= 0;
21634 wxDC
*arg1
= (wxDC
*) 0 ;
21635 wxBrush
*arg2
= 0 ;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 char * kwnames
[] = {
21643 (char *) "self",(char *) "brush", NULL
21646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21648 if (!SWIG_IsOK(res1
)) {
21649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21653 if (!SWIG_IsOK(res2
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21659 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_Py_Void();
21673 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxDC
*arg1
= (wxDC
*) 0 ;
21676 wxBrush
*arg2
= 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char * kwnames
[] = {
21684 (char *) "self",(char *) "brush", NULL
21687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21694 if (!SWIG_IsOK(res2
)) {
21695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21700 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_Py_Void();
21714 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
= 0;
21716 wxDC
*arg1
= (wxDC
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char * kwnames
[] = {
21725 (char *) "self",(char *) "mode", NULL
21728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21735 if (!SWIG_IsOK(ecode2
)) {
21736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21738 arg2
= static_cast< int >(val2
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->SetBackgroundMode(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_Py_Void();
21752 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
= 0;
21754 wxDC
*arg1
= (wxDC
*) 0 ;
21755 wxPalette
*arg2
= 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 char * kwnames
[] = {
21763 (char *) "self",(char *) "palette", NULL
21766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21773 if (!SWIG_IsOK(res2
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21779 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_Py_Void();
21793 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21794 PyObject
*resultobj
= 0;
21795 wxDC
*arg1
= (wxDC
*) 0 ;
21798 PyObject
*swig_obj
[1] ;
21800 if (!args
) SWIG_fail
;
21801 swig_obj
[0] = args
;
21802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21803 if (!SWIG_IsOK(res1
)) {
21804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->DestroyClippingRegion();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= SWIG_Py_Void();
21820 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 PyObject
*resultobj
= 0;
21822 wxDC
*arg1
= (wxDC
*) 0 ;
21823 int *arg2
= (int *) 0 ;
21824 int *arg3
= (int *) 0 ;
21825 int *arg4
= (int *) 0 ;
21826 int *arg5
= (int *) 0 ;
21830 int res2
= SWIG_TMPOBJ
;
21832 int res3
= SWIG_TMPOBJ
;
21834 int res4
= SWIG_TMPOBJ
;
21836 int res5
= SWIG_TMPOBJ
;
21837 PyObject
*swig_obj
[1] ;
21843 if (!args
) SWIG_fail
;
21844 swig_obj
[0] = args
;
21845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_Py_Void();
21857 if (SWIG_IsTmpObj(res2
)) {
21858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21863 if (SWIG_IsTmpObj(res3
)) {
21864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21869 if (SWIG_IsTmpObj(res4
)) {
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21872 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21875 if (SWIG_IsTmpObj(res5
)) {
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21878 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21887 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21888 PyObject
*resultobj
= 0;
21889 wxDC
*arg1
= (wxDC
*) 0 ;
21893 PyObject
*swig_obj
[1] ;
21895 if (!args
) SWIG_fail
;
21896 swig_obj
[0] = args
;
21897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= wxDC_GetClippingRect(arg1
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21915 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21916 PyObject
*resultobj
= 0;
21917 wxDC
*arg1
= (wxDC
*) 0 ;
21921 PyObject
*swig_obj
[1] ;
21923 if (!args
) SWIG_fail
;
21924 swig_obj
[0] = args
;
21925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= SWIG_From_int(static_cast< int >(result
));
21943 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21944 PyObject
*resultobj
= 0;
21945 wxDC
*arg1
= (wxDC
*) 0 ;
21949 PyObject
*swig_obj
[1] ;
21951 if (!args
) SWIG_fail
;
21952 swig_obj
[0] = args
;
21953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21954 if (!SWIG_IsOK(res1
)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_From_int(static_cast< int >(result
));
21971 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
= 0;
21973 wxDC
*arg1
= (wxDC
*) 0 ;
21974 wxString
*arg2
= 0 ;
21975 int *arg3
= (int *) 0 ;
21976 int *arg4
= (int *) 0 ;
21979 bool temp2
= false ;
21981 int res3
= SWIG_TMPOBJ
;
21983 int res4
= SWIG_TMPOBJ
;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char * kwnames
[] = {
21987 (char *) "self",(char *) "string", NULL
21992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21994 if (!SWIG_IsOK(res1
)) {
21995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21999 arg2
= wxString_in_helper(obj1
);
22000 if (arg2
== NULL
) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_Py_Void();
22010 if (SWIG_IsTmpObj(res3
)) {
22011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22016 if (SWIG_IsTmpObj(res4
)) {
22017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22019 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22036 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
= 0;
22038 wxDC
*arg1
= (wxDC
*) 0 ;
22039 wxString
*arg2
= 0 ;
22040 int *arg3
= (int *) 0 ;
22041 int *arg4
= (int *) 0 ;
22042 int *arg5
= (int *) 0 ;
22043 int *arg6
= (int *) 0 ;
22044 wxFont
*arg7
= (wxFont
*) NULL
;
22047 bool temp2
= false ;
22049 int res3
= SWIG_TMPOBJ
;
22051 int res4
= SWIG_TMPOBJ
;
22053 int res5
= SWIG_TMPOBJ
;
22055 int res6
= SWIG_TMPOBJ
;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 PyObject
* obj2
= 0 ;
22061 char * kwnames
[] = {
22062 (char *) "self",(char *) "string",(char *) "font", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22076 arg2
= wxString_in_helper(obj1
);
22077 if (arg2
== NULL
) SWIG_fail
;
22081 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
22082 if (!SWIG_IsOK(res7
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
22085 arg7
= reinterpret_cast< wxFont
* >(argp7
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_Py_Void();
22094 if (SWIG_IsTmpObj(res3
)) {
22095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22097 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22100 if (SWIG_IsTmpObj(res4
)) {
22101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22103 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22106 if (SWIG_IsTmpObj(res5
)) {
22107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22109 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22112 if (SWIG_IsTmpObj(res6
)) {
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
22115 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
22132 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
= 0;
22134 wxDC
*arg1
= (wxDC
*) 0 ;
22135 wxString
*arg2
= 0 ;
22136 int *arg3
= (int *) 0 ;
22137 int *arg4
= (int *) 0 ;
22138 int *arg5
= (int *) 0 ;
22139 wxFont
*arg6
= (wxFont
*) NULL
;
22142 bool temp2
= false ;
22144 int res3
= SWIG_TMPOBJ
;
22146 int res4
= SWIG_TMPOBJ
;
22148 int res5
= SWIG_TMPOBJ
;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 PyObject
* obj2
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "self",(char *) "text",(char *) "font", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
22166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22168 arg2
= wxString_in_helper(obj1
);
22169 if (arg2
== NULL
) SWIG_fail
;
22173 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
22174 if (!SWIG_IsOK(res6
)) {
22175 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
22177 arg6
= reinterpret_cast< wxFont
* >(argp6
);
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_Py_Void();
22186 if (SWIG_IsTmpObj(res3
)) {
22187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22189 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22192 if (SWIG_IsTmpObj(res4
)) {
22193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22195 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22198 if (SWIG_IsTmpObj(res5
)) {
22199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22201 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22218 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22221 wxString
*arg2
= 0 ;
22225 bool temp2
= false ;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 char * kwnames
[] = {
22229 (char *) "self",(char *) "text", NULL
22232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
22237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22239 arg2
= wxString_in_helper(obj1
);
22240 if (arg2
== NULL
) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= wxArrayInt2PyList_helper(result
);
22266 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 PyObject
*resultobj
= 0;
22268 wxDC
*arg1
= (wxDC
*) 0 ;
22272 PyObject
*swig_obj
[1] ;
22274 if (!args
) SWIG_fail
;
22275 swig_obj
[0] = args
;
22276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
22280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (arg1
)->GetSize();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22294 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22295 PyObject
*resultobj
= 0;
22296 wxDC
*arg1
= (wxDC
*) 0 ;
22297 int *arg2
= (int *) 0 ;
22298 int *arg3
= (int *) 0 ;
22302 int res2
= SWIG_TMPOBJ
;
22304 int res3
= SWIG_TMPOBJ
;
22305 PyObject
*swig_obj
[1] ;
22309 if (!args
) SWIG_fail
;
22310 swig_obj
[0] = args
;
22311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22312 if (!SWIG_IsOK(res1
)) {
22313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 (arg1
)->GetSize(arg2
,arg3
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_Py_Void();
22323 if (SWIG_IsTmpObj(res2
)) {
22324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22326 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22329 if (SWIG_IsTmpObj(res3
)) {
22330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22332 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22341 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22342 PyObject
*resultobj
= 0;
22343 wxDC
*arg1
= (wxDC
*) 0 ;
22347 PyObject
*swig_obj
[1] ;
22349 if (!args
) SWIG_fail
;
22350 swig_obj
[0] = args
;
22351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22352 if (!SWIG_IsOK(res1
)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22369 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22370 PyObject
*resultobj
= 0;
22371 wxDC
*arg1
= (wxDC
*) 0 ;
22372 int *arg2
= (int *) 0 ;
22373 int *arg3
= (int *) 0 ;
22377 int res2
= SWIG_TMPOBJ
;
22379 int res3
= SWIG_TMPOBJ
;
22380 PyObject
*swig_obj
[1] ;
22384 if (!args
) SWIG_fail
;
22385 swig_obj
[0] = args
;
22386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_Py_Void();
22398 if (SWIG_IsTmpObj(res2
)) {
22399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22404 if (SWIG_IsTmpObj(res3
)) {
22405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22416 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
= 0;
22418 wxDC
*arg1
= (wxDC
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 PyObject
* obj1
= 0 ;
22427 char * kwnames
[] = {
22428 (char *) "self",(char *) "x", NULL
22431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22433 if (!SWIG_IsOK(res1
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22438 if (!SWIG_IsOK(ecode2
)) {
22439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22441 arg2
= static_cast< int >(val2
);
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_From_int(static_cast< int >(result
));
22455 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
= 0;
22457 wxDC
*arg1
= (wxDC
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char * kwnames
[] = {
22467 (char *) "self",(char *) "y", NULL
22470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22472 if (!SWIG_IsOK(res1
)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22477 if (!SWIG_IsOK(ecode2
)) {
22478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22480 arg2
= static_cast< int >(val2
);
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= SWIG_From_int(static_cast< int >(result
));
22494 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
= 0;
22496 wxDC
*arg1
= (wxDC
*) 0 ;
22503 PyObject
* obj0
= 0 ;
22504 PyObject
* obj1
= 0 ;
22505 char * kwnames
[] = {
22506 (char *) "self",(char *) "x", NULL
22509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22511 if (!SWIG_IsOK(res1
)) {
22512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22516 if (!SWIG_IsOK(ecode2
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22519 arg2
= static_cast< int >(val2
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_From_int(static_cast< int >(result
));
22533 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
= 0;
22535 wxDC
*arg1
= (wxDC
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char * kwnames
[] = {
22545 (char *) "self",(char *) "y", NULL
22548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22550 if (!SWIG_IsOK(res1
)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22555 if (!SWIG_IsOK(ecode2
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22558 arg2
= static_cast< int >(val2
);
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_From_int(static_cast< int >(result
));
22572 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 char * kwnames
[] = {
22584 (char *) "self",(char *) "x", NULL
22587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22589 if (!SWIG_IsOK(res1
)) {
22590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22594 if (!SWIG_IsOK(ecode2
)) {
22595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22597 arg2
= static_cast< int >(val2
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_From_int(static_cast< int >(result
));
22611 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
= 0;
22613 wxDC
*arg1
= (wxDC
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char * kwnames
[] = {
22623 (char *) "self",(char *) "y", NULL
22626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22628 if (!SWIG_IsOK(res1
)) {
22629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22633 if (!SWIG_IsOK(ecode2
)) {
22634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22636 arg2
= static_cast< int >(val2
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_From_int(static_cast< int >(result
));
22650 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= 0;
22652 wxDC
*arg1
= (wxDC
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char * kwnames
[] = {
22662 (char *) "self",(char *) "x", NULL
22665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22672 if (!SWIG_IsOK(ecode2
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22675 arg2
= static_cast< int >(val2
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_From_int(static_cast< int >(result
));
22689 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxDC
*arg1
= (wxDC
*) 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char * kwnames
[] = {
22701 (char *) "self",(char *) "y", NULL
22704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22706 if (!SWIG_IsOK(res1
)) {
22707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22711 if (!SWIG_IsOK(ecode2
)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22714 arg2
= static_cast< int >(val2
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_From_int(static_cast< int >(result
));
22728 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22729 PyObject
*resultobj
= 0;
22730 wxDC
*arg1
= (wxDC
*) 0 ;
22734 PyObject
*swig_obj
[1] ;
22736 if (!args
) SWIG_fail
;
22737 swig_obj
[0] = args
;
22738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22739 if (!SWIG_IsOK(res1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22758 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22759 PyObject
*resultobj
= 0;
22760 wxDC
*arg1
= (wxDC
*) 0 ;
22764 PyObject
*swig_obj
[1] ;
22766 if (!args
) SWIG_fail
;
22767 swig_obj
[0] = args
;
22768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22769 if (!SWIG_IsOK(res1
)) {
22770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22788 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22789 PyObject
*resultobj
= 0;
22790 wxDC
*arg1
= (wxDC
*) 0 ;
22794 PyObject
*swig_obj
[1] ;
22796 if (!args
) SWIG_fail
;
22797 swig_obj
[0] = args
;
22798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_From_int(static_cast< int >(result
));
22816 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxDC
*arg1
= (wxDC
*) 0 ;
22822 PyObject
*swig_obj
[1] ;
22824 if (!args
) SWIG_fail
;
22825 swig_obj
[0] = args
;
22826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22827 if (!SWIG_IsOK(res1
)) {
22828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= ((wxDC
const *)arg1
)->GetPPI();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22844 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22850 PyObject
*swig_obj
[1] ;
22852 if (!args
) SWIG_fail
;
22853 swig_obj
[0] = args
;
22854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22855 if (!SWIG_IsOK(res1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22874 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22875 PyObject
*resultobj
= 0;
22876 wxDC
*arg1
= (wxDC
*) 0 ;
22880 PyObject
*swig_obj
[1] ;
22882 if (!args
) SWIG_fail
;
22883 swig_obj
[0] = args
;
22884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22885 if (!SWIG_IsOK(res1
)) {
22886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_From_int(static_cast< int >(result
));
22902 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22903 PyObject
*resultobj
= 0;
22904 wxDC
*arg1
= (wxDC
*) 0 ;
22905 wxBrush
*result
= 0 ;
22908 PyObject
*swig_obj
[1] ;
22910 if (!args
) SWIG_fail
;
22911 swig_obj
[0] = args
;
22912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22921 result
= (wxBrush
*) &_result_ref
;
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 wxBrush
* resultptr
= new wxBrush(*result
);
22928 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22936 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22937 PyObject
*resultobj
= 0;
22938 wxDC
*arg1
= (wxDC
*) 0 ;
22939 wxBrush
*result
= 0 ;
22942 PyObject
*swig_obj
[1] ;
22944 if (!args
) SWIG_fail
;
22945 swig_obj
[0] = args
;
22946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22947 if (!SWIG_IsOK(res1
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22955 result
= (wxBrush
*) &_result_ref
;
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22961 wxBrush
* resultptr
= new wxBrush(*result
);
22962 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22970 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 PyObject
*resultobj
= 0;
22972 wxDC
*arg1
= (wxDC
*) 0 ;
22973 wxFont
*result
= 0 ;
22976 PyObject
*swig_obj
[1] ;
22978 if (!args
) SWIG_fail
;
22979 swig_obj
[0] = args
;
22980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22981 if (!SWIG_IsOK(res1
)) {
22982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22989 result
= (wxFont
*) &_result_ref
;
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22995 wxFont
* resultptr
= new wxFont(*result
);
22996 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
23004 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23007 wxPen
*result
= 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
23018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
23023 result
= (wxPen
*) &_result_ref
;
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 wxPen
* resultptr
= new wxPen(*result
);
23030 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
23038 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23039 PyObject
*resultobj
= 0;
23040 wxDC
*arg1
= (wxDC
*) 0 ;
23041 wxColour
*result
= 0 ;
23044 PyObject
*swig_obj
[1] ;
23046 if (!args
) SWIG_fail
;
23047 swig_obj
[0] = args
;
23048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23049 if (!SWIG_IsOK(res1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
23052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
23057 result
= (wxColour
*) &_result_ref
;
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23069 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxDC
*arg1
= (wxDC
*) 0 ;
23072 wxColour
*result
= 0 ;
23075 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
23083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
23088 result
= (wxColour
*) &_result_ref
;
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23100 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
= 0;
23102 wxDC
*arg1
= (wxDC
*) 0 ;
23103 wxColour
*arg2
= 0 ;
23107 PyObject
* obj0
= 0 ;
23108 PyObject
* obj1
= 0 ;
23109 char * kwnames
[] = {
23110 (char *) "self",(char *) "colour", NULL
23113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23115 if (!SWIG_IsOK(res1
)) {
23116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
23118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_Py_Void();
23136 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23137 PyObject
*resultobj
= 0;
23138 wxDC
*arg1
= (wxDC
*) 0 ;
23139 wxColour
*arg2
= 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char * kwnames
[] = {
23146 (char *) "self",(char *) "colour", NULL
23149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_Py_Void();
23172 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 PyObject
*resultobj
= 0;
23174 wxDC
*arg1
= (wxDC
*) 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_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
23186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_From_int(static_cast< int >(result
));
23200 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
= 0;
23202 wxDC
*arg1
= (wxDC
*) 0 ;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char * kwnames
[] = {
23211 (char *) "self",(char *) "mode", NULL
23214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23216 if (!SWIG_IsOK(res1
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
23219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23221 if (!SWIG_IsOK(ecode2
)) {
23222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
23224 arg2
= static_cast< int >(val2
);
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 (arg1
)->SetMapMode(arg2
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_Py_Void();
23238 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23239 PyObject
*resultobj
= 0;
23240 wxDC
*arg1
= (wxDC
*) 0 ;
23241 double *arg2
= (double *) 0 ;
23242 double *arg3
= (double *) 0 ;
23246 int res2
= SWIG_TMPOBJ
;
23248 int res3
= SWIG_TMPOBJ
;
23249 PyObject
*swig_obj
[1] ;
23253 if (!args
) SWIG_fail
;
23254 swig_obj
[0] = args
;
23255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23256 if (!SWIG_IsOK(res1
)) {
23257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
23259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_Py_Void();
23267 if (SWIG_IsTmpObj(res2
)) {
23268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23273 if (SWIG_IsTmpObj(res3
)) {
23274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23285 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
= 0;
23287 wxDC
*arg1
= (wxDC
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 char * kwnames
[] = {
23300 (char *) "self",(char *) "x",(char *) "y", NULL
23303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
23308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23310 if (!SWIG_IsOK(ecode2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
23313 arg2
= static_cast< double >(val2
);
23314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23315 if (!SWIG_IsOK(ecode3
)) {
23316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23318 arg3
= static_cast< double >(val3
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 (arg1
)->SetUserScale(arg2
,arg3
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23332 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 PyObject
*resultobj
= 0;
23334 wxDC
*arg1
= (wxDC
*) 0 ;
23335 double *arg2
= (double *) 0 ;
23336 double *arg3
= (double *) 0 ;
23340 int res2
= SWIG_TMPOBJ
;
23342 int res3
= SWIG_TMPOBJ
;
23343 PyObject
*swig_obj
[1] ;
23347 if (!args
) SWIG_fail
;
23348 swig_obj
[0] = args
;
23349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23350 if (!SWIG_IsOK(res1
)) {
23351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->GetLogicalScale(arg2
,arg3
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23361 if (SWIG_IsTmpObj(res2
)) {
23362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23364 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23367 if (SWIG_IsTmpObj(res3
)) {
23368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23379 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
= 0;
23381 wxDC
*arg1
= (wxDC
*) 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 PyObject
* obj2
= 0 ;
23393 char * kwnames
[] = {
23394 (char *) "self",(char *) "x",(char *) "y", NULL
23397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23399 if (!SWIG_IsOK(res1
)) {
23400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23403 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23404 if (!SWIG_IsOK(ecode2
)) {
23405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23407 arg2
= static_cast< double >(val2
);
23408 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23409 if (!SWIG_IsOK(ecode3
)) {
23410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23412 arg3
= static_cast< double >(val3
);
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 (arg1
)->SetLogicalScale(arg2
,arg3
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_Py_Void();
23426 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 PyObject
*resultobj
= 0;
23428 wxDC
*arg1
= (wxDC
*) 0 ;
23432 PyObject
*swig_obj
[1] ;
23434 if (!args
) SWIG_fail
;
23435 swig_obj
[0] = args
;
23436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23437 if (!SWIG_IsOK(res1
)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23454 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23455 PyObject
*resultobj
= 0;
23456 wxDC
*arg1
= (wxDC
*) 0 ;
23457 int *arg2
= (int *) 0 ;
23458 int *arg3
= (int *) 0 ;
23462 int res2
= SWIG_TMPOBJ
;
23464 int res3
= SWIG_TMPOBJ
;
23465 PyObject
*swig_obj
[1] ;
23469 if (!args
) SWIG_fail
;
23470 swig_obj
[0] = args
;
23471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23472 if (!SWIG_IsOK(res1
)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_Py_Void();
23483 if (SWIG_IsTmpObj(res2
)) {
23484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23486 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23489 if (SWIG_IsTmpObj(res3
)) {
23490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23501 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= 0;
23503 wxDC
*arg1
= (wxDC
*) 0 ;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 PyObject
* obj2
= 0 ;
23515 char * kwnames
[] = {
23516 (char *) "self",(char *) "x",(char *) "y", NULL
23519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23521 if (!SWIG_IsOK(res1
)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23526 if (!SWIG_IsOK(ecode2
)) {
23527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23529 arg2
= static_cast< int >(val2
);
23530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23531 if (!SWIG_IsOK(ecode3
)) {
23532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23534 arg3
= static_cast< int >(val3
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_Py_Void();
23548 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
= 0;
23550 wxDC
*arg1
= (wxDC
*) 0 ;
23551 wxPoint
*arg2
= 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 char * kwnames
[] = {
23558 (char *) "self",(char *) "point", NULL
23561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23563 if (!SWIG_IsOK(res1
)) {
23564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= SWIG_Py_Void();
23584 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23585 PyObject
*resultobj
= 0;
23586 wxDC
*arg1
= (wxDC
*) 0 ;
23590 PyObject
*swig_obj
[1] ;
23592 if (!args
) SWIG_fail
;
23593 swig_obj
[0] = args
;
23594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23595 if (!SWIG_IsOK(res1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23612 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23613 PyObject
*resultobj
= 0;
23614 wxDC
*arg1
= (wxDC
*) 0 ;
23615 int *arg2
= (int *) 0 ;
23616 int *arg3
= (int *) 0 ;
23620 int res2
= SWIG_TMPOBJ
;
23622 int res3
= SWIG_TMPOBJ
;
23623 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_Py_Void();
23641 if (SWIG_IsTmpObj(res2
)) {
23642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23644 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23647 if (SWIG_IsTmpObj(res3
)) {
23648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23650 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23659 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
= 0;
23661 wxDC
*arg1
= (wxDC
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 PyObject
* obj2
= 0 ;
23673 char * kwnames
[] = {
23674 (char *) "self",(char *) "x",(char *) "y", NULL
23677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23679 if (!SWIG_IsOK(res1
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23684 if (!SWIG_IsOK(ecode2
)) {
23685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23687 arg2
= static_cast< int >(val2
);
23688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23689 if (!SWIG_IsOK(ecode3
)) {
23690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23692 arg3
= static_cast< int >(val3
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_Py_Void();
23706 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
= 0;
23708 wxDC
*arg1
= (wxDC
*) 0 ;
23709 wxPoint
*arg2
= 0 ;
23713 PyObject
* obj0
= 0 ;
23714 PyObject
* obj1
= 0 ;
23715 char * kwnames
[] = {
23716 (char *) "self",(char *) "point", NULL
23719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23721 if (!SWIG_IsOK(res1
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_Py_Void();
23742 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxDC
*arg1
= (wxDC
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 PyObject
* obj2
= 0 ;
23756 char * kwnames
[] = {
23757 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23766 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23767 if (!SWIG_IsOK(ecode2
)) {
23768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23770 arg2
= static_cast< bool >(val2
);
23771 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23772 if (!SWIG_IsOK(ecode3
)) {
23773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23775 arg3
= static_cast< bool >(val3
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_Py_Void();
23789 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxDC
*arg1
= (wxDC
*) 0 ;
23795 PyObject
*swig_obj
[1] ;
23797 if (!args
) SWIG_fail
;
23798 swig_obj
[0] = args
;
23799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_From_int(static_cast< int >(result
));
23817 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= 0;
23819 wxDC
*arg1
= (wxDC
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char * kwnames
[] = {
23828 (char *) "self",(char *) "function", NULL
23831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23838 if (!SWIG_IsOK(ecode2
)) {
23839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23841 arg2
= static_cast< int >(val2
);
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 (arg1
)->SetLogicalFunction(arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_Py_Void();
23855 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23856 PyObject
*resultobj
= 0;
23857 wxDC
*arg1
= (wxDC
*) 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23868 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 (arg1
)->ComputeScaleAndOrigin();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_Py_Void();
23882 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxDC
*arg1
= (wxDC
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 PyObject
* obj2
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "self",(char *) "x",(char *) "y", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23907 if (!SWIG_IsOK(ecode2
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23910 arg2
= static_cast< int >(val2
);
23911 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23912 if (!SWIG_IsOK(ecode3
)) {
23913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23915 arg3
= static_cast< int >(val3
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= SWIG_Py_Void();
23929 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxDC
*arg1
= (wxDC
*) 0 ;
23932 wxPoint
*arg2
= 0 ;
23936 PyObject
* obj0
= 0 ;
23937 PyObject
* obj1
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "self",(char *) "point", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= SWIG_Py_Void();
23965 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23966 PyObject
*resultobj
= 0;
23967 wxDC
*arg1
= (wxDC
*) 0 ;
23970 PyObject
*swig_obj
[1] ;
23972 if (!args
) SWIG_fail
;
23973 swig_obj
[0] = args
;
23974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 (arg1
)->ResetBoundingBox();
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_Py_Void();
23992 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 PyObject
*resultobj
= 0;
23994 wxDC
*arg1
= (wxDC
*) 0 ;
23998 PyObject
*swig_obj
[1] ;
24000 if (!args
) SWIG_fail
;
24001 swig_obj
[0] = args
;
24002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
24006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (int)((wxDC
const *)arg1
)->MinX();
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_From_int(static_cast< int >(result
));
24020 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24021 PyObject
*resultobj
= 0;
24022 wxDC
*arg1
= (wxDC
*) 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
24034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 result
= (int)((wxDC
const *)arg1
)->MaxX();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= SWIG_From_int(static_cast< int >(result
));
24048 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 PyObject
*resultobj
= 0;
24050 wxDC
*arg1
= (wxDC
*) 0 ;
24054 PyObject
*swig_obj
[1] ;
24056 if (!args
) SWIG_fail
;
24057 swig_obj
[0] = args
;
24058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
24062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (int)((wxDC
const *)arg1
)->MinY();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_From_int(static_cast< int >(result
));
24076 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 PyObject
*resultobj
= 0;
24078 wxDC
*arg1
= (wxDC
*) 0 ;
24082 PyObject
*swig_obj
[1] ;
24084 if (!args
) SWIG_fail
;
24085 swig_obj
[0] = args
;
24086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
24090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (int)((wxDC
const *)arg1
)->MaxY();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_From_int(static_cast< int >(result
));
24104 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 PyObject
*resultobj
= 0;
24106 wxDC
*arg1
= (wxDC
*) 0 ;
24107 int *arg2
= (int *) 0 ;
24108 int *arg3
= (int *) 0 ;
24109 int *arg4
= (int *) 0 ;
24110 int *arg5
= (int *) 0 ;
24114 int res2
= SWIG_TMPOBJ
;
24116 int res3
= SWIG_TMPOBJ
;
24118 int res4
= SWIG_TMPOBJ
;
24120 int res5
= SWIG_TMPOBJ
;
24121 PyObject
*swig_obj
[1] ;
24127 if (!args
) SWIG_fail
;
24128 swig_obj
[0] = args
;
24129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24130 if (!SWIG_IsOK(res1
)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
24133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_Py_Void();
24141 if (SWIG_IsTmpObj(res2
)) {
24142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
24144 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
24147 if (SWIG_IsTmpObj(res3
)) {
24148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24150 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24153 if (SWIG_IsTmpObj(res4
)) {
24154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24156 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24159 if (SWIG_IsTmpObj(res5
)) {
24160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
24162 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
24171 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24172 PyObject
*resultobj
= 0;
24173 wxDC
*arg1
= (wxDC
*) 0 ;
24174 wxLayoutDirection result
;
24177 PyObject
*swig_obj
[1] ;
24179 if (!args
) SWIG_fail
;
24180 swig_obj
[0] = args
;
24181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
24185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= SWIG_From_int(static_cast< int >(result
));
24199 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
= 0;
24201 wxDC
*arg1
= (wxDC
*) 0 ;
24202 wxLayoutDirection arg2
;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char * kwnames
[] = {
24210 (char *) "self",(char *) "dir", NULL
24213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
24218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24220 if (!SWIG_IsOK(ecode2
)) {
24221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
24223 arg2
= static_cast< wxLayoutDirection
>(val2
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->SetLayoutDirection(arg2
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_Py_Void();
24237 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24238 PyObject
*resultobj
= 0;
24239 wxDC
*arg1
= (wxDC
*) 0 ;
24243 PyObject
*swig_obj
[1] ;
24245 if (!args
) SWIG_fail
;
24246 swig_obj
[0] = args
;
24247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
24251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 result
= (long)(arg1
)->GetHDC();
24255 wxPyEndAllowThreads(__tstate
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= SWIG_From_long(static_cast< long >(result
));
24265 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
= 0;
24267 wxDC
*arg1
= (wxDC
*) 0 ;
24268 PyObject
*arg2
= (PyObject
*) 0 ;
24269 PyObject
*arg3
= (PyObject
*) 0 ;
24270 PyObject
*arg4
= (PyObject
*) 0 ;
24271 PyObject
*result
= 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 PyObject
* obj2
= 0 ;
24277 PyObject
* obj3
= 0 ;
24278 char * kwnames
[] = {
24279 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
24287 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= result
;
24304 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
= 0;
24306 wxDC
*arg1
= (wxDC
*) 0 ;
24307 PyObject
*arg2
= (PyObject
*) 0 ;
24308 PyObject
*arg3
= (PyObject
*) 0 ;
24309 PyObject
*arg4
= (PyObject
*) 0 ;
24310 PyObject
*result
= 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 PyObject
* obj2
= 0 ;
24316 PyObject
* obj3
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= result
;
24343 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
= 0;
24345 wxDC
*arg1
= (wxDC
*) 0 ;
24346 PyObject
*arg2
= (PyObject
*) 0 ;
24347 PyObject
*arg3
= (PyObject
*) 0 ;
24348 PyObject
*arg4
= (PyObject
*) 0 ;
24349 PyObject
*result
= 0 ;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 PyObject
* obj3
= 0 ;
24356 char * kwnames
[] = {
24357 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= result
;
24382 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
= 0;
24384 wxDC
*arg1
= (wxDC
*) 0 ;
24385 PyObject
*arg2
= (PyObject
*) 0 ;
24386 PyObject
*arg3
= (PyObject
*) 0 ;
24387 PyObject
*arg4
= (PyObject
*) 0 ;
24388 PyObject
*result
= 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24394 PyObject
* obj3
= 0 ;
24395 char * kwnames
[] = {
24396 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24401 if (!SWIG_IsOK(res1
)) {
24402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= result
;
24421 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
= 0;
24423 wxDC
*arg1
= (wxDC
*) 0 ;
24424 PyObject
*arg2
= (PyObject
*) 0 ;
24425 PyObject
*arg3
= (PyObject
*) 0 ;
24426 PyObject
*arg4
= (PyObject
*) 0 ;
24427 PyObject
*result
= 0 ;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 PyObject
* obj2
= 0 ;
24433 PyObject
* obj3
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= result
;
24460 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
= 0;
24462 wxDC
*arg1
= (wxDC
*) 0 ;
24463 PyObject
*arg2
= (PyObject
*) 0 ;
24464 PyObject
*arg3
= (PyObject
*) 0 ;
24465 PyObject
*arg4
= (PyObject
*) 0 ;
24466 PyObject
*arg5
= (PyObject
*) 0 ;
24467 PyObject
*result
= 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 PyObject
* obj2
= 0 ;
24473 PyObject
* obj3
= 0 ;
24474 PyObject
* obj4
= 0 ;
24475 char * kwnames
[] = {
24476 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= result
;
24502 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24505 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24506 return SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24512 wxColour
*arg2
= 0 ;
24513 wxDCTextColourChanger
*result
= 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char * kwnames
[] = {
24520 (char *) "dc",(char *) "col", NULL
24523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24549 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24550 PyObject
*resultobj
= 0;
24551 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24554 PyObject
*swig_obj
[1] ;
24556 if (!args
) SWIG_fail
;
24557 swig_obj
[0] = args
;
24558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24559 if (!SWIG_IsOK(res1
)) {
24560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24562 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_Py_Void();
24577 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24580 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24581 return SWIG_Py_Void();
24584 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24585 return SWIG_Python_InitShadowInstance(args
);
24588 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
= 0;
24592 wxDCPenChanger
*result
= 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 char * kwnames
[] = {
24600 (char *) "dc",(char *) "pen", NULL
24603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24604 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24613 if (!SWIG_IsOK(res2
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24619 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24633 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24634 PyObject
*resultobj
= 0;
24635 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24638 PyObject
*swig_obj
[1] ;
24640 if (!args
) SWIG_fail
;
24641 swig_obj
[0] = args
;
24642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24643 if (!SWIG_IsOK(res1
)) {
24644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24646 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_Py_Void();
24661 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24664 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24665 return SWIG_Py_Void();
24668 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24669 return SWIG_Python_InitShadowInstance(args
);
24672 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24673 PyObject
*resultobj
= 0;
24675 wxBrush
*arg2
= 0 ;
24676 wxDCBrushChanger
*result
= 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char * kwnames
[] = {
24684 (char *) "dc",(char *) "brush", NULL
24687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24688 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24697 if (!SWIG_IsOK(res2
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24703 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24717 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 PyObject
*resultobj
= 0;
24719 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 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_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24730 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_Py_Void();
24745 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24748 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24749 return SWIG_Py_Void();
24752 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24753 return SWIG_Python_InitShadowInstance(args
);
24756 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24757 PyObject
*resultobj
= 0;
24759 wxRegion
*arg2
= 0 ;
24760 wxDCClipper
*result
= 0 ;
24766 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24768 if (!SWIG_IsOK(res1
)) {
24769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24775 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24776 if (!SWIG_IsOK(res2
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24782 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24785 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24796 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24797 PyObject
*resultobj
= 0;
24800 wxDCClipper
*result
= 0 ;
24805 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24816 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24831 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24832 PyObject
*resultobj
= 0;
24838 wxDCClipper
*result
= 0 ;
24850 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24852 if (!SWIG_IsOK(res1
)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24859 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24860 if (!SWIG_IsOK(ecode2
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24863 arg2
= static_cast< int >(val2
);
24864 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24865 if (!SWIG_IsOK(ecode3
)) {
24866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24868 arg3
= static_cast< int >(val3
);
24869 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24870 if (!SWIG_IsOK(ecode4
)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24873 arg4
= static_cast< int >(val4
);
24874 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24875 if (!SWIG_IsOK(ecode5
)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24878 arg5
= static_cast< int >(val5
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24892 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24896 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24901 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24902 _v
= SWIG_CheckState(res
);
24904 if (!_v
) goto check_1
;
24905 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24910 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24913 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24917 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24922 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24923 PyObject
*resultobj
= 0;
24924 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24927 PyObject
*swig_obj
[1] ;
24929 if (!args
) SWIG_fail
;
24930 swig_obj
[0] = args
;
24931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24935 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24953 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24954 return SWIG_Py_Void();
24957 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24958 return SWIG_Python_InitShadowInstance(args
);
24961 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24963 wxScreenDC
*result
= 0 ;
24965 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24967 if (!wxPyCheckForApp()) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (wxScreenDC
*)new wxScreenDC();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24980 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
= 0;
24982 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24983 wxWindow
*arg2
= (wxWindow
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 PyObject
* obj1
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "self",(char *) "window", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25000 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25002 if (!SWIG_IsOK(res2
)) {
25003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
25005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25008 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25021 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25022 PyObject
*resultobj
= 0;
25023 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25024 wxRect
*arg2
= (wxRect
*) NULL
;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char * kwnames
[] = {
25033 (char *) "self",(char *) "rect", NULL
25036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25041 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
25044 if (!SWIG_IsOK(res2
)) {
25045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
25047 arg2
= reinterpret_cast< wxRect
* >(argp2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25064 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
25078 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (bool)(arg1
)->EndDrawingOnTop();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25094 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25097 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
25098 return SWIG_Py_Void();
25101 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25102 return SWIG_Python_InitShadowInstance(args
);
25105 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxWindow
*arg1
= (wxWindow
*) 0 ;
25108 wxWindowDC
*result
= 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "win", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25121 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25123 if (!wxPyCheckForApp()) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
25136 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25139 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
25140 return SWIG_Py_Void();
25143 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 return SWIG_Python_InitShadowInstance(args
);
25147 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
= 0;
25149 wxWindow
*arg1
= (wxWindow
*) 0 ;
25150 wxClientDC
*result
= 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "win", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25163 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25165 if (!wxPyCheckForApp()) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (wxClientDC
*)new wxClientDC(arg1
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
25178 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25181 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
25182 return SWIG_Py_Void();
25185 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25186 return SWIG_Python_InitShadowInstance(args
);
25189 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
= 0;
25191 wxWindow
*arg1
= (wxWindow
*) 0 ;
25192 wxPaintDC
*result
= 0 ;
25195 PyObject
* obj0
= 0 ;
25196 char * kwnames
[] = {
25197 (char *) "win", NULL
25200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
25201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25207 if (!wxPyCheckForApp()) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
25210 wxPyEndAllowThreads(__tstate
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
25220 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25223 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
25224 return SWIG_Py_Void();
25227 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 return SWIG_Python_InitShadowInstance(args
);
25231 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
25234 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25235 wxMemoryDC
*result
= 0 ;
25238 PyObject
* obj0
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "bitmap", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
25252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
25255 if (!wxPyCheckForApp()) SWIG_fail
;
25256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
25268 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
= 0;
25270 wxDC
*arg1
= (wxDC
*) 0 ;
25271 wxMemoryDC
*result
= 0 ;
25274 PyObject
* obj0
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "oldDC", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
25284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25286 if (!wxPyCheckForApp()) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
25299 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= 0;
25301 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25302 wxBitmap
*arg2
= 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "bitmap", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25318 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25320 if (!SWIG_IsOK(res2
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25326 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25329 (arg1
)->SelectObject(*arg2
);
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_Py_Void();
25340 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
= 0;
25342 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25343 wxBitmap
*arg2
= 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "bmp", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25359 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25361 if (!SWIG_IsOK(res2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25367 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_Py_Void();
25381 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25384 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25385 return SWIG_Py_Void();
25388 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25389 return SWIG_Python_InitShadowInstance(args
);
25392 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25393 PyObject
*resultobj
= 0;
25394 wxDC
*arg1
= (wxDC
*) 0 ;
25395 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25396 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25397 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25398 wxBufferedDC
*result
= 0 ;
25406 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25408 if (!SWIG_IsOK(res1
)) {
25409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25413 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25414 if (!SWIG_IsOK(res2
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25420 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25423 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25424 if (!SWIG_IsOK(ecode3
)) {
25425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25427 arg3
= static_cast< int >(val3
);
25430 if (!wxPyCheckForApp()) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25443 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25444 PyObject
*resultobj
= 0;
25445 wxDC
*arg1
= (wxDC
*) 0 ;
25447 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25448 wxBufferedDC
*result
= 0 ;
25455 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25463 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25466 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25467 if (!SWIG_IsOK(ecode3
)) {
25468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25470 arg3
= static_cast< int >(val3
);
25473 if (!wxPyCheckForApp()) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25486 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25490 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25492 if ((argc
>= 1) && (argc
<= 3)) {
25497 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25498 _v
= SWIG_CheckState(res
);
25500 if (!_v
) goto check_1
;
25502 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25506 if ((argc
>= 2) && (argc
<= 3)) {
25507 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25511 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25516 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25521 PyObject
*swig_obj
[1] ;
25523 if (!args
) SWIG_fail
;
25524 swig_obj
[0] = args
;
25525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25529 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_Py_Void();
25544 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25545 PyObject
*resultobj
= 0;
25546 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25549 PyObject
*swig_obj
[1] ;
25551 if (!args
) SWIG_fail
;
25552 swig_obj
[0] = args
;
25553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25554 if (!SWIG_IsOK(res1
)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25557 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_Py_Void();
25571 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
= 0;
25573 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "self",(char *) "style", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25590 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25592 if (!SWIG_IsOK(ecode2
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25595 arg2
= static_cast< int >(val2
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 (arg1
)->SetStyle(arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_Py_Void();
25609 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25623 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_From_int(static_cast< int >(result
));
25637 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25640 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25641 return SWIG_Py_Void();
25644 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 return SWIG_Python_InitShadowInstance(args
);
25648 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
= 0;
25650 wxWindow
*arg1
= (wxWindow
*) 0 ;
25651 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25652 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25653 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25654 wxBufferedPaintDC
*result
= 0 ;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 PyObject
* obj2
= 0 ;
25664 char * kwnames
[] = {
25665 (char *) "window",(char *) "buffer",(char *) "style", NULL
25668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25676 if (!SWIG_IsOK(res2
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25682 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25686 if (!SWIG_IsOK(ecode3
)) {
25687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25689 arg3
= static_cast< int >(val3
);
25692 if (!wxPyCheckForApp()) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25705 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25708 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25709 return SWIG_Py_Void();
25712 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25713 return SWIG_Python_InitShadowInstance(args
);
25716 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
= 0;
25718 wxWindow
*arg1
= (wxWindow
*) 0 ;
25719 wxAutoBufferedPaintDC
*result
= 0 ;
25722 PyObject
* obj0
= 0 ;
25723 char * kwnames
[] = {
25724 (char *) "win", NULL
25727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25729 if (!SWIG_IsOK(res1
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25746 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25749 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25750 return SWIG_Py_Void();
25753 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25754 return SWIG_Python_InitShadowInstance(args
);
25757 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxWindow
*arg1
= (wxWindow
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 char * kwnames
[] = {
25765 (char *) "window", NULL
25768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25789 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25793 wxMirrorDC
*result
= 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "dc",(char *) "mirror", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25813 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25814 if (!SWIG_IsOK(ecode2
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25817 arg2
= static_cast< bool >(val2
);
25819 if (!wxPyCheckForApp()) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25832 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25836 return SWIG_Py_Void();
25839 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 return SWIG_Python_InitShadowInstance(args
);
25843 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
= 0;
25845 wxPrintData
*arg1
= 0 ;
25846 wxPostScriptDC
*result
= 0 ;
25849 PyObject
* obj0
= 0 ;
25850 char * kwnames
[] = {
25851 (char *) "printData", NULL
25854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25855 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25862 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25864 if (!wxPyCheckForApp()) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25877 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25878 PyObject
*resultobj
= 0;
25879 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25880 wxPrintData
*result
= 0 ;
25883 PyObject
*swig_obj
[1] ;
25885 if (!args
) SWIG_fail
;
25886 swig_obj
[0] = args
;
25887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25888 if (!SWIG_IsOK(res1
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25891 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25896 result
= (wxPrintData
*) &_result_ref
;
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25908 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
= 0;
25910 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25911 wxPrintData
*arg2
= 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 char * kwnames
[] = {
25919 (char *) "self",(char *) "data", NULL
25922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25927 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25929 if (!SWIG_IsOK(res2
)) {
25930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25935 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= SWIG_Py_Void();
25949 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25950 PyObject
*resultobj
= 0;
25954 PyObject
* obj0
= 0 ;
25955 char * kwnames
[] = {
25956 (char *) "ppi", NULL
25959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25960 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25961 if (!SWIG_IsOK(ecode1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25964 arg1
= static_cast< int >(val1
);
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 wxPostScriptDC::SetResolution(arg1
);
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 resultobj
= SWIG_Py_Void();
25978 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 PyObject
*resultobj
= 0;
25982 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (int)wxPostScriptDC::GetResolution();
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= SWIG_From_int(static_cast< int >(result
));
25996 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
26000 return SWIG_Py_Void();
26003 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26004 return SWIG_Python_InitShadowInstance(args
);
26007 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
= 0;
26009 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26010 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26011 wxMetaFile
*result
= 0 ;
26012 bool temp1
= false ;
26013 PyObject
* obj0
= 0 ;
26014 char * kwnames
[] = {
26015 (char *) "filename", NULL
26018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
26021 arg1
= wxString_in_helper(obj0
);
26022 if (arg1
== NULL
) SWIG_fail
;
26027 if (!wxPyCheckForApp()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
26048 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26053 PyObject
*swig_obj
[1] ;
26055 if (!args
) SWIG_fail
;
26056 swig_obj
[0] = args
;
26057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26061 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26077 PyObject
*resultobj
= 0;
26078 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26082 PyObject
*swig_obj
[1] ;
26084 if (!args
) SWIG_fail
;
26085 swig_obj
[0] = args
;
26086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26087 if (!SWIG_IsOK(res1
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26090 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (bool)(arg1
)->IsOk();
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26106 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= 0;
26108 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26109 int arg2
= (int) 0 ;
26110 int arg3
= (int) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 PyObject
* obj2
= 0 ;
26121 char * kwnames
[] = {
26122 (char *) "self",(char *) "width",(char *) "height", NULL
26125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26130 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26133 if (!SWIG_IsOK(ecode2
)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
26136 arg2
= static_cast< int >(val2
);
26139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26140 if (!SWIG_IsOK(ecode3
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
26143 arg3
= static_cast< int >(val3
);
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26160 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26161 PyObject
*resultobj
= 0;
26162 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26166 PyObject
*swig_obj
[1] ;
26168 if (!args
) SWIG_fail
;
26169 swig_obj
[0] = args
;
26170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26171 if (!SWIG_IsOK(res1
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26174 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (arg1
)->GetSize();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
26188 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26189 PyObject
*resultobj
= 0;
26190 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26194 PyObject
*swig_obj
[1] ;
26196 if (!args
) SWIG_fail
;
26197 swig_obj
[0] = args
;
26198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26202 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (int)(arg1
)->GetWidth();
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= SWIG_From_int(static_cast< int >(result
));
26216 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26217 PyObject
*resultobj
= 0;
26218 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26222 PyObject
*swig_obj
[1] ;
26224 if (!args
) SWIG_fail
;
26225 swig_obj
[0] = args
;
26226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26227 if (!SWIG_IsOK(res1
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
26230 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= (int)(arg1
)->GetHeight();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_From_int(static_cast< int >(result
));
26244 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26245 PyObject
*resultobj
= 0;
26246 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
26247 wxString
*result
= 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_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
26258 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
26263 result
= (wxString
*) &_result_ref
;
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26281 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26284 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
26285 return SWIG_Py_Void();
26288 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 return SWIG_Python_InitShadowInstance(args
);
26292 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
= 0;
26294 wxString
const &arg1_defvalue
= wxPyEmptyString
;
26295 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
26296 int arg2
= (int) 0 ;
26297 int arg3
= (int) 0 ;
26298 wxString
const &arg4_defvalue
= wxPyEmptyString
;
26299 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26300 wxMetaFileDC
*result
= 0 ;
26301 bool temp1
= false ;
26306 bool temp4
= false ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 PyObject
* obj2
= 0 ;
26310 PyObject
* obj3
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26318 arg1
= wxString_in_helper(obj0
);
26319 if (arg1
== NULL
) SWIG_fail
;
26324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26325 if (!SWIG_IsOK(ecode2
)) {
26326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26328 arg2
= static_cast< int >(val2
);
26331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26332 if (!SWIG_IsOK(ecode3
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26335 arg3
= static_cast< int >(val3
);
26339 arg4
= wxString_in_helper(obj3
);
26340 if (arg4
== NULL
) SWIG_fail
;
26345 if (!wxPyCheckForApp()) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26374 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26375 PyObject
*resultobj
= 0;
26376 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26377 wxMetaFile
*result
= 0 ;
26380 PyObject
*swig_obj
[1] ;
26382 if (!args
) SWIG_fail
;
26383 swig_obj
[0] = args
;
26384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26388 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (wxMetaFile
*)(arg1
)->Close();
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26402 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26405 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26406 return SWIG_Py_Void();
26409 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26410 return SWIG_Python_InitShadowInstance(args
);
26413 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
= 0;
26415 wxPrintData
*arg1
= 0 ;
26416 wxPrinterDC
*result
= 0 ;
26419 PyObject
* obj0
= 0 ;
26420 char * kwnames
[] = {
26421 (char *) "printData", NULL
26424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26425 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26432 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26434 if (!wxPyCheckForApp()) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26447 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26451 return SWIG_Py_Void();
26454 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26455 return SWIG_Python_InitShadowInstance(args
);
26458 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26459 PyObject
*resultobj
= 0;
26460 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26461 wxGraphicsObject
*result
= 0 ;
26464 PyObject
* obj0
= 0 ;
26465 char * kwnames
[] = {
26466 (char *) "renderer", NULL
26469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26475 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26478 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26488 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26489 PyObject
*resultobj
= 0;
26490 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26493 PyObject
*swig_obj
[1] ;
26495 if (!args
) SWIG_fail
;
26496 swig_obj
[0] = args
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26501 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26505 if (PyErr_Occurred()) SWIG_fail
;
26507 resultobj
= SWIG_Py_Void();
26514 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26515 PyObject
*resultobj
= 0;
26516 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26520 PyObject
*swig_obj
[1] ;
26522 if (!args
) SWIG_fail
;
26523 swig_obj
[0] = args
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26528 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26530 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26531 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26542 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26543 PyObject
*resultobj
= 0;
26544 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26545 wxGraphicsRenderer
*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_wxGraphicsObject
, 0 | 0 );
26553 if (!SWIG_IsOK(res1
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26556 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26558 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26568 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26571 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26572 return SWIG_Py_Void();
26575 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26576 return SWIG_Python_InitShadowInstance(args
);
26579 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26580 PyObject
*resultobj
= 0;
26581 wxGraphicsPen
*result
= 0 ;
26583 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26585 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26595 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26608 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_Py_Void();
26621 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26624 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26625 return SWIG_Py_Void();
26628 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26629 return SWIG_Python_InitShadowInstance(args
);
26632 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxGraphicsBrush
*result
= 0 ;
26636 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26638 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26648 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26649 PyObject
*resultobj
= 0;
26650 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26653 PyObject
*swig_obj
[1] ;
26655 if (!args
) SWIG_fail
;
26656 swig_obj
[0] = args
;
26657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26661 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_Py_Void();
26674 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26677 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26678 return SWIG_Py_Void();
26681 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26682 return SWIG_Python_InitShadowInstance(args
);
26685 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26686 PyObject
*resultobj
= 0;
26687 wxGraphicsFont
*result
= 0 ;
26689 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26691 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26701 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 PyObject
*resultobj
= 0;
26703 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26706 PyObject
*swig_obj
[1] ;
26708 if (!args
) SWIG_fail
;
26709 swig_obj
[0] = args
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26714 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= SWIG_Py_Void();
26727 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26730 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26731 return SWIG_Py_Void();
26734 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26735 return SWIG_Python_InitShadowInstance(args
);
26738 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26739 PyObject
*resultobj
= 0;
26740 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26743 PyObject
*swig_obj
[1] ;
26745 if (!args
) SWIG_fail
;
26746 swig_obj
[0] = args
;
26747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26748 if (!SWIG_IsOK(res1
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26751 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_Py_Void();
26764 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
= 0;
26766 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26767 wxGraphicsMatrix
*arg2
= 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char * kwnames
[] = {
26775 (char *) "self",(char *) "t", NULL
26778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26783 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26785 if (!SWIG_IsOK(res2
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26791 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26793 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26794 if (PyErr_Occurred()) SWIG_fail
;
26796 resultobj
= SWIG_Py_Void();
26803 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= 0;
26805 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26806 wxDouble arg2
= (wxDouble
) 1.0 ;
26807 wxDouble arg3
= (wxDouble
) 0.0 ;
26808 wxDouble arg4
= (wxDouble
) 0.0 ;
26809 wxDouble arg5
= (wxDouble
) 1.0 ;
26810 wxDouble arg6
= (wxDouble
) 0.0 ;
26811 wxDouble arg7
= (wxDouble
) 0.0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 PyObject
* obj3
= 0 ;
26830 PyObject
* obj4
= 0 ;
26831 PyObject
* obj5
= 0 ;
26832 PyObject
* obj6
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26842 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26844 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26845 if (!SWIG_IsOK(ecode2
)) {
26846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26848 arg2
= static_cast< wxDouble
>(val2
);
26851 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26852 if (!SWIG_IsOK(ecode3
)) {
26853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26855 arg3
= static_cast< wxDouble
>(val3
);
26858 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26859 if (!SWIG_IsOK(ecode4
)) {
26860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26862 arg4
= static_cast< wxDouble
>(val4
);
26865 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26866 if (!SWIG_IsOK(ecode5
)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26869 arg5
= static_cast< wxDouble
>(val5
);
26872 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26873 if (!SWIG_IsOK(ecode6
)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26876 arg6
= static_cast< wxDouble
>(val6
);
26879 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26880 if (!SWIG_IsOK(ecode7
)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26883 arg7
= static_cast< wxDouble
>(val7
);
26886 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26896 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 PyObject
*resultobj
= 0;
26898 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26899 wxDouble
*arg2
= (wxDouble
*) 0 ;
26900 wxDouble
*arg3
= (wxDouble
*) 0 ;
26901 wxDouble
*arg4
= (wxDouble
*) 0 ;
26902 wxDouble
*arg5
= (wxDouble
*) 0 ;
26903 wxDouble
*arg6
= (wxDouble
*) 0 ;
26904 wxDouble
*arg7
= (wxDouble
*) 0 ;
26908 int res2
= SWIG_TMPOBJ
;
26910 int res3
= SWIG_TMPOBJ
;
26912 int res4
= SWIG_TMPOBJ
;
26914 int res5
= SWIG_TMPOBJ
;
26916 int res6
= SWIG_TMPOBJ
;
26918 int res7
= SWIG_TMPOBJ
;
26919 PyObject
*swig_obj
[1] ;
26927 if (!args
) SWIG_fail
;
26928 swig_obj
[0] = args
;
26929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26930 if (!SWIG_IsOK(res1
)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26933 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26935 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_Py_Void();
26939 if (SWIG_IsTmpObj(res2
)) {
26940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26942 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26945 if (SWIG_IsTmpObj(res3
)) {
26946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26951 if (SWIG_IsTmpObj(res4
)) {
26952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26954 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26957 if (SWIG_IsTmpObj(res5
)) {
26958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26960 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26963 if (SWIG_IsTmpObj(res6
)) {
26964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26966 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26969 if (SWIG_IsTmpObj(res7
)) {
26970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26972 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26981 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26982 PyObject
*resultobj
= 0;
26983 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26986 PyObject
*swig_obj
[1] ;
26988 if (!args
) SWIG_fail
;
26989 swig_obj
[0] = args
;
26990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26994 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_Py_Void();
27006 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
= 0;
27008 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27009 wxGraphicsMatrix
*arg2
= 0 ;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 char * kwnames
[] = {
27018 (char *) "self",(char *) "t", NULL
27021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27023 if (!SWIG_IsOK(res1
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27026 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27028 if (!SWIG_IsOK(res2
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27034 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27036 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27048 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27049 PyObject
*resultobj
= 0;
27050 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27054 PyObject
*swig_obj
[1] ;
27056 if (!args
) SWIG_fail
;
27057 swig_obj
[0] = args
;
27058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27062 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27064 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27076 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27087 PyObject
* obj0
= 0 ;
27088 PyObject
* obj1
= 0 ;
27089 PyObject
* obj2
= 0 ;
27090 char * kwnames
[] = {
27091 (char *) "self",(char *) "dx",(char *) "dy", NULL
27094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27099 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27100 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27101 if (!SWIG_IsOK(ecode2
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27104 arg2
= static_cast< wxDouble
>(val2
);
27105 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27106 if (!SWIG_IsOK(ecode3
)) {
27107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27109 arg3
= static_cast< wxDouble
>(val3
);
27111 (arg1
)->Translate(arg2
,arg3
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_Py_Void();
27121 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= 0;
27123 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 PyObject
* obj2
= 0 ;
27135 char * kwnames
[] = {
27136 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27144 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27145 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27146 if (!SWIG_IsOK(ecode2
)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27149 arg2
= static_cast< wxDouble
>(val2
);
27150 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27151 if (!SWIG_IsOK(ecode3
)) {
27152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27154 arg3
= static_cast< wxDouble
>(val3
);
27156 (arg1
)->Scale(arg2
,arg3
);
27157 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= SWIG_Py_Void();
27166 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27167 PyObject
*resultobj
= 0;
27168 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char * kwnames
[] = {
27177 (char *) "self",(char *) "angle", NULL
27180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27185 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27186 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27187 if (!SWIG_IsOK(ecode2
)) {
27188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27190 arg2
= static_cast< wxDouble
>(val2
);
27192 (arg1
)->Rotate(arg2
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_Py_Void();
27202 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
= 0;
27204 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27205 wxDouble
*arg2
= (wxDouble
*) 0 ;
27206 wxDouble
*arg3
= (wxDouble
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 PyObject
* obj2
= 0 ;
27216 char * kwnames
[] = {
27217 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27225 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27226 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27228 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27229 if (!SWIG_IsOK(ecode
)) {
27230 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27232 temp2
= static_cast< wxDouble
>(val
);
27234 res2
= SWIG_AddTmpMask(ecode
);
27236 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27238 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27239 if (!SWIG_IsOK(ecode
)) {
27240 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27242 temp3
= static_cast< wxDouble
>(val
);
27244 res3
= SWIG_AddTmpMask(ecode
);
27247 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_Py_Void();
27251 if (SWIG_IsTmpObj(res2
)) {
27252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27254 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27257 if (SWIG_IsTmpObj(res3
)) {
27258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27269 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
= 0;
27271 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27272 wxDouble
*arg2
= (wxDouble
*) 0 ;
27273 wxDouble
*arg3
= (wxDouble
*) 0 ;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 char * kwnames
[] = {
27284 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27289 if (!SWIG_IsOK(res1
)) {
27290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27292 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27293 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27295 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27296 if (!SWIG_IsOK(ecode
)) {
27297 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27299 temp2
= static_cast< wxDouble
>(val
);
27301 res2
= SWIG_AddTmpMask(ecode
);
27303 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27305 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27306 if (!SWIG_IsOK(ecode
)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27309 temp3
= static_cast< wxDouble
>(val
);
27311 res3
= SWIG_AddTmpMask(ecode
);
27314 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_Py_Void();
27318 if (SWIG_IsTmpObj(res2
)) {
27319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27321 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27324 if (SWIG_IsTmpObj(res3
)) {
27325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27327 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27336 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27337 PyObject
*resultobj
= 0;
27338 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27342 PyObject
*swig_obj
[1] ;
27344 if (!args
) SWIG_fail
;
27345 swig_obj
[0] = args
;
27346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27347 if (!SWIG_IsOK(res1
)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27350 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27352 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27362 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27365 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27366 return SWIG_Py_Void();
27369 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27370 PyObject
*resultobj
= 0;
27371 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27374 PyObject
*swig_obj
[1] ;
27376 if (!args
) SWIG_fail
;
27377 swig_obj
[0] = args
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27382 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_Py_Void();
27395 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27396 PyObject
*resultobj
= 0;
27397 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27407 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27409 if (!SWIG_IsOK(res1
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27412 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27413 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27414 if (!SWIG_IsOK(ecode2
)) {
27415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27417 arg2
= static_cast< wxDouble
>(val2
);
27418 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27419 if (!SWIG_IsOK(ecode3
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27422 arg3
= static_cast< wxDouble
>(val3
);
27424 (arg1
)->MoveToPoint(arg2
,arg3
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_Py_Void();
27434 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27435 PyObject
*resultobj
= 0;
27436 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27437 wxPoint2D
*arg2
= 0 ;
27442 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27444 if (!SWIG_IsOK(res1
)) {
27445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27447 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27450 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27453 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_Py_Void();
27463 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27467 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27470 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27473 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27477 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27482 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27483 PyObject
*resultobj
= 0;
27484 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27494 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27499 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27500 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27501 if (!SWIG_IsOK(ecode2
)) {
27502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27504 arg2
= static_cast< wxDouble
>(val2
);
27505 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27506 if (!SWIG_IsOK(ecode3
)) {
27507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27509 arg3
= static_cast< wxDouble
>(val3
);
27511 (arg1
)->AddLineToPoint(arg2
,arg3
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_Py_Void();
27521 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27522 PyObject
*resultobj
= 0;
27523 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27524 wxPoint2D
*arg2
= 0 ;
27529 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27534 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27537 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27540 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27554 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27557 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27560 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27564 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27569 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27570 PyObject
*resultobj
= 0;
27571 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27593 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27595 if (!SWIG_IsOK(res1
)) {
27596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27598 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27599 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27600 if (!SWIG_IsOK(ecode2
)) {
27601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27603 arg2
= static_cast< wxDouble
>(val2
);
27604 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27605 if (!SWIG_IsOK(ecode3
)) {
27606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27608 arg3
= static_cast< wxDouble
>(val3
);
27609 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27610 if (!SWIG_IsOK(ecode4
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27613 arg4
= static_cast< wxDouble
>(val4
);
27614 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27615 if (!SWIG_IsOK(ecode5
)) {
27616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27618 arg5
= static_cast< wxDouble
>(val5
);
27619 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27620 if (!SWIG_IsOK(ecode6
)) {
27621 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27623 arg6
= static_cast< wxDouble
>(val6
);
27624 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27625 if (!SWIG_IsOK(ecode7
)) {
27626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27628 arg7
= static_cast< wxDouble
>(val7
);
27630 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= SWIG_Py_Void();
27640 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27641 PyObject
*resultobj
= 0;
27642 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27643 wxPoint2D
*arg2
= 0 ;
27644 wxPoint2D
*arg3
= 0 ;
27645 wxPoint2D
*arg4
= 0 ;
27652 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27654 if (!SWIG_IsOK(res1
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27657 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27660 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27664 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27668 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27671 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_Py_Void();
27681 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27685 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27688 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27691 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27695 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27700 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
= 0;
27702 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27703 wxGraphicsPath
*arg2
= 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "self",(char *) "path", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27719 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27721 if (!SWIG_IsOK(res2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27727 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27729 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= SWIG_Py_Void();
27739 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 PyObject
*resultobj
= 0;
27741 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27744 PyObject
*swig_obj
[1] ;
27746 if (!args
) SWIG_fail
;
27747 swig_obj
[0] = args
;
27748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27749 if (!SWIG_IsOK(res1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27752 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27754 (arg1
)->CloseSubpath();
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= SWIG_Py_Void();
27764 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27765 PyObject
*resultobj
= 0;
27766 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27770 PyObject
*swig_obj
[1] ;
27772 if (!args
) SWIG_fail
;
27773 swig_obj
[0] = args
;
27774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27775 if (!SWIG_IsOK(res1
)) {
27776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27778 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27780 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27781 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27790 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27791 PyObject
*resultobj
= 0;
27792 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27798 bool arg7
= (bool) true ;
27814 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27819 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27820 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27821 if (!SWIG_IsOK(ecode2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27824 arg2
= static_cast< wxDouble
>(val2
);
27825 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27826 if (!SWIG_IsOK(ecode3
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27829 arg3
= static_cast< wxDouble
>(val3
);
27830 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27831 if (!SWIG_IsOK(ecode4
)) {
27832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27834 arg4
= static_cast< wxDouble
>(val4
);
27835 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27836 if (!SWIG_IsOK(ecode5
)) {
27837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27839 arg5
= static_cast< wxDouble
>(val5
);
27840 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27841 if (!SWIG_IsOK(ecode6
)) {
27842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27844 arg6
= static_cast< wxDouble
>(val6
);
27846 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27847 if (!SWIG_IsOK(ecode7
)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27850 arg7
= static_cast< bool >(val7
);
27853 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_Py_Void();
27863 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27864 PyObject
*resultobj
= 0;
27865 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27866 wxPoint2D
*arg2
= 0 ;
27870 bool arg6
= (bool) true ;
27883 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27888 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27891 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27893 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27894 if (!SWIG_IsOK(ecode3
)) {
27895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27897 arg3
= static_cast< wxDouble
>(val3
);
27898 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27899 if (!SWIG_IsOK(ecode4
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27902 arg4
= static_cast< wxDouble
>(val4
);
27903 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27904 if (!SWIG_IsOK(ecode5
)) {
27905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27907 arg5
= static_cast< wxDouble
>(val5
);
27909 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27910 if (!SWIG_IsOK(ecode6
)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27913 arg6
= static_cast< bool >(val6
);
27916 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= SWIG_Py_Void();
27926 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27930 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27932 if ((argc
>= 5) && (argc
<= 6)) {
27936 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27939 if (!_v
) goto check_1
;
27943 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27944 _v
= SWIG_CheckState(res
);
27947 if (!_v
) goto check_1
;
27949 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27953 if ((argc
>= 6) && (argc
<= 7)) {
27954 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27958 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27963 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
= 0;
27965 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 PyObject
* obj1
= 0 ;
27982 PyObject
* obj2
= 0 ;
27983 PyObject
* obj3
= 0 ;
27984 PyObject
* obj4
= 0 ;
27985 char * kwnames
[] = {
27986 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27991 if (!SWIG_IsOK(res1
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27994 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27995 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27996 if (!SWIG_IsOK(ecode2
)) {
27997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27999 arg2
= static_cast< wxDouble
>(val2
);
28000 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28001 if (!SWIG_IsOK(ecode3
)) {
28002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28004 arg3
= static_cast< wxDouble
>(val3
);
28005 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28006 if (!SWIG_IsOK(ecode4
)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28009 arg4
= static_cast< wxDouble
>(val4
);
28010 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28011 if (!SWIG_IsOK(ecode5
)) {
28012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28014 arg5
= static_cast< wxDouble
>(val5
);
28016 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_Py_Void();
28026 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
= 0;
28028 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28043 PyObject
* obj0
= 0 ;
28044 PyObject
* obj1
= 0 ;
28045 PyObject
* obj2
= 0 ;
28046 PyObject
* obj3
= 0 ;
28047 PyObject
* obj4
= 0 ;
28048 char * kwnames
[] = {
28049 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28057 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28058 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28059 if (!SWIG_IsOK(ecode2
)) {
28060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28062 arg2
= static_cast< wxDouble
>(val2
);
28063 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28064 if (!SWIG_IsOK(ecode3
)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28067 arg3
= static_cast< wxDouble
>(val3
);
28068 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28069 if (!SWIG_IsOK(ecode4
)) {
28070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28072 arg4
= static_cast< wxDouble
>(val4
);
28073 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28074 if (!SWIG_IsOK(ecode5
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28077 arg5
= static_cast< wxDouble
>(val5
);
28079 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_Py_Void();
28089 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
= 0;
28091 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28103 PyObject
* obj0
= 0 ;
28104 PyObject
* obj1
= 0 ;
28105 PyObject
* obj2
= 0 ;
28106 PyObject
* obj3
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28116 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28117 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28118 if (!SWIG_IsOK(ecode2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
28121 arg2
= static_cast< wxDouble
>(val2
);
28122 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28123 if (!SWIG_IsOK(ecode3
)) {
28124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
28126 arg3
= static_cast< wxDouble
>(val3
);
28127 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28128 if (!SWIG_IsOK(ecode4
)) {
28129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
28131 arg4
= static_cast< wxDouble
>(val4
);
28133 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= SWIG_Py_Void();
28143 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
= 0;
28145 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 PyObject
* obj2
= 0 ;
28166 PyObject
* obj3
= 0 ;
28167 PyObject
* obj4
= 0 ;
28168 PyObject
* obj5
= 0 ;
28169 char * kwnames
[] = {
28170 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
28173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28178 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28179 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28180 if (!SWIG_IsOK(ecode2
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
28183 arg2
= static_cast< wxDouble
>(val2
);
28184 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28185 if (!SWIG_IsOK(ecode3
)) {
28186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
28188 arg3
= static_cast< wxDouble
>(val3
);
28189 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28190 if (!SWIG_IsOK(ecode4
)) {
28191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
28193 arg4
= static_cast< wxDouble
>(val4
);
28194 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28195 if (!SWIG_IsOK(ecode5
)) {
28196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
28198 arg5
= static_cast< wxDouble
>(val5
);
28199 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28200 if (!SWIG_IsOK(ecode6
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
28203 arg6
= static_cast< wxDouble
>(val6
);
28205 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_Py_Void();
28215 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
= 0;
28217 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 PyObject
* obj2
= 0 ;
28235 PyObject
* obj3
= 0 ;
28236 PyObject
* obj4
= 0 ;
28237 char * kwnames
[] = {
28238 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28246 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28247 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28248 if (!SWIG_IsOK(ecode2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
28251 arg2
= static_cast< wxDouble
>(val2
);
28252 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28253 if (!SWIG_IsOK(ecode3
)) {
28254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
28256 arg3
= static_cast< wxDouble
>(val3
);
28257 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28258 if (!SWIG_IsOK(ecode4
)) {
28259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
28261 arg4
= static_cast< wxDouble
>(val4
);
28262 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28263 if (!SWIG_IsOK(ecode5
)) {
28264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
28266 arg5
= static_cast< wxDouble
>(val5
);
28268 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_Py_Void();
28278 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
= 0;
28280 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 PyObject
* obj2
= 0 ;
28301 PyObject
* obj3
= 0 ;
28302 PyObject
* obj4
= 0 ;
28303 PyObject
* obj5
= 0 ;
28304 char * kwnames
[] = {
28305 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28310 if (!SWIG_IsOK(res1
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28313 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28314 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28315 if (!SWIG_IsOK(ecode2
)) {
28316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28318 arg2
= static_cast< wxDouble
>(val2
);
28319 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28320 if (!SWIG_IsOK(ecode3
)) {
28321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28323 arg3
= static_cast< wxDouble
>(val3
);
28324 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28325 if (!SWIG_IsOK(ecode4
)) {
28326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28328 arg4
= static_cast< wxDouble
>(val4
);
28329 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28330 if (!SWIG_IsOK(ecode5
)) {
28331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28333 arg5
= static_cast< wxDouble
>(val5
);
28334 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28335 if (!SWIG_IsOK(ecode6
)) {
28336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28338 arg6
= static_cast< wxDouble
>(val6
);
28340 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_Py_Void();
28350 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28356 PyObject
*swig_obj
[1] ;
28358 if (!args
) SWIG_fail
;
28359 swig_obj
[0] = args
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28364 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28366 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28376 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
= 0;
28378 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28379 void *arg2
= (void *) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char * kwnames
[] = {
28386 (char *) "self",(char *) "p", NULL
28389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28394 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28395 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28396 if (!SWIG_IsOK(res2
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28400 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_Py_Void();
28410 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
= 0;
28412 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28413 wxGraphicsMatrix
*arg2
= 0 ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 char * kwnames
[] = {
28421 (char *) "self",(char *) "matrix", NULL
28424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28429 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28431 if (!SWIG_IsOK(res2
)) {
28432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28437 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28439 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= SWIG_Py_Void();
28449 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 PyObject
*resultobj
= 0;
28451 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28455 PyObject
*swig_obj
[1] ;
28457 if (!args
) SWIG_fail
;
28458 swig_obj
[0] = args
;
28459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28463 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28465 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28475 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28476 PyObject
*resultobj
= 0;
28477 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28480 int arg4
= (int) wxODDEVEN_RULE
;
28491 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28493 if (!SWIG_IsOK(res1
)) {
28494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28496 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28497 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28498 if (!SWIG_IsOK(ecode2
)) {
28499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28501 arg2
= static_cast< wxDouble
>(val2
);
28502 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28503 if (!SWIG_IsOK(ecode3
)) {
28504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28506 arg3
= static_cast< wxDouble
>(val3
);
28508 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28509 if (!SWIG_IsOK(ecode4
)) {
28510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28512 arg4
= static_cast< int >(val4
);
28515 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28527 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28528 PyObject
*resultobj
= 0;
28529 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28530 wxPoint2D
*arg2
= 0 ;
28531 int arg3
= (int) wxODDEVEN_RULE
;
28539 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28541 if (!SWIG_IsOK(res1
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28544 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28547 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28550 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28551 if (!SWIG_IsOK(ecode3
)) {
28552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28554 arg3
= static_cast< int >(val3
);
28557 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28569 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28573 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28575 if ((argc
>= 2) && (argc
<= 3)) {
28579 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28582 if (!_v
) goto check_1
;
28586 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28587 _v
= SWIG_CheckState(res
);
28590 if (!_v
) goto check_1
;
28592 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28596 if ((argc
>= 3) && (argc
<= 4)) {
28597 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28601 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28606 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28609 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28610 return SWIG_Py_Void();
28613 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28614 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28619 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28620 PyObject
*pyobj
= 0;
28622 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28627 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28628 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28633 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28634 PyObject
*pyobj
= 0;
28636 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28641 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28642 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28647 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28648 PyObject
*pyobj
= 0;
28650 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28655 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28656 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28661 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28662 PyObject
*pyobj
= 0;
28664 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28669 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28670 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28675 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28676 PyObject
*pyobj
= 0;
28678 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28683 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28684 PyObject
*resultobj
= 0;
28685 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28688 PyObject
*swig_obj
[1] ;
28690 if (!args
) SWIG_fail
;
28691 swig_obj
[0] = args
;
28692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28696 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_Py_Void();
28709 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28710 PyObject
*resultobj
= 0;
28711 wxWindowDC
*arg1
= 0 ;
28712 wxGraphicsContext
*result
= 0 ;
28716 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28718 if (!SWIG_IsOK(res1
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28724 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28726 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28736 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28737 PyObject
*resultobj
= 0;
28738 wxWindow
*arg1
= (wxWindow
*) 0 ;
28739 wxGraphicsContext
*result
= 0 ;
28743 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28745 if (!SWIG_IsOK(res1
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28748 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28750 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28760 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28764 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28769 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28770 _v
= SWIG_CheckState(res
);
28772 if (!_v
) goto check_1
;
28773 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28778 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28782 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28787 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28788 PyObject
*resultobj
= 0;
28789 wxGraphicsContext
*result
= 0 ;
28791 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28793 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28803 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
= 0;
28805 void *arg1
= (void *) 0 ;
28806 wxGraphicsContext
*result
= 0 ;
28808 PyObject
* obj0
= 0 ;
28809 char * kwnames
[] = {
28810 (char *) "context", NULL
28813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28814 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28815 if (!SWIG_IsOK(res1
)) {
28816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28819 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28820 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28829 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28830 PyObject
*resultobj
= 0;
28831 void *arg1
= (void *) 0 ;
28832 wxGraphicsContext
*result
= 0 ;
28834 PyObject
* obj0
= 0 ;
28835 char * kwnames
[] = {
28836 (char *) "window", NULL
28839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28840 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28845 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28855 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28856 PyObject
*resultobj
= 0;
28857 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28858 wxGraphicsPath result
;
28861 PyObject
*swig_obj
[1] ;
28863 if (!args
) SWIG_fail
;
28864 swig_obj
[0] = args
;
28865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28866 if (!SWIG_IsOK(res1
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28869 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28871 result
= (arg1
)->CreatePath();
28872 if (PyErr_Occurred()) SWIG_fail
;
28874 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28881 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
= 0;
28883 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28885 wxGraphicsPen result
;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "pen", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28901 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28903 if (!SWIG_IsOK(res2
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28909 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28911 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28921 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
= 0;
28923 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28924 wxBrush
*arg2
= 0 ;
28925 wxGraphicsBrush result
;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 char * kwnames
[] = {
28933 (char *) "self",(char *) "brush", NULL
28936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28938 if (!SWIG_IsOK(res1
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28943 if (!SWIG_IsOK(res2
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28949 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28951 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28961 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
= 0;
28963 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28968 wxColour
*arg6
= 0 ;
28969 wxColour
*arg7
= 0 ;
28970 wxGraphicsBrush result
;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 PyObject
* obj3
= 0 ;
28987 PyObject
* obj4
= 0 ;
28988 PyObject
* obj5
= 0 ;
28989 PyObject
* obj6
= 0 ;
28990 char * kwnames
[] = {
28991 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28996 if (!SWIG_IsOK(res1
)) {
28997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28999 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29000 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29001 if (!SWIG_IsOK(ecode2
)) {
29002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29004 arg2
= static_cast< wxDouble
>(val2
);
29005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29006 if (!SWIG_IsOK(ecode3
)) {
29007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29009 arg3
= static_cast< wxDouble
>(val3
);
29010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29011 if (!SWIG_IsOK(ecode4
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29014 arg4
= static_cast< wxDouble
>(val4
);
29015 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29016 if (!SWIG_IsOK(ecode5
)) {
29017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29019 arg5
= static_cast< wxDouble
>(val5
);
29022 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29026 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29029 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29039 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
= 0;
29041 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29047 wxColour
*arg7
= 0 ;
29048 wxColour
*arg8
= 0 ;
29049 wxGraphicsBrush result
;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 PyObject
* obj2
= 0 ;
29067 PyObject
* obj3
= 0 ;
29068 PyObject
* obj4
= 0 ;
29069 PyObject
* obj5
= 0 ;
29070 PyObject
* obj6
= 0 ;
29071 PyObject
* obj7
= 0 ;
29072 char * kwnames
[] = {
29073 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
29076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29081 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29082 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29083 if (!SWIG_IsOK(ecode2
)) {
29084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
29086 arg2
= static_cast< wxDouble
>(val2
);
29087 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29088 if (!SWIG_IsOK(ecode3
)) {
29089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
29091 arg3
= static_cast< wxDouble
>(val3
);
29092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29093 if (!SWIG_IsOK(ecode4
)) {
29094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
29096 arg4
= static_cast< wxDouble
>(val4
);
29097 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29098 if (!SWIG_IsOK(ecode5
)) {
29099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
29101 arg5
= static_cast< wxDouble
>(val5
);
29102 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29103 if (!SWIG_IsOK(ecode6
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
29106 arg6
= static_cast< wxDouble
>(val6
);
29109 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
29113 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
29116 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
29126 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
= 0;
29128 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29130 wxColour
const &arg3_defvalue
= *wxBLACK
;
29131 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29132 wxGraphicsFont result
;
29138 PyObject
* obj0
= 0 ;
29139 PyObject
* obj1
= 0 ;
29140 PyObject
* obj2
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "self",(char *) "font",(char *) "col", NULL
29145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29150 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29152 if (!SWIG_IsOK(res2
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29166 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
29176 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
= 0;
29178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29179 wxDouble arg2
= (wxDouble
) 1.0 ;
29180 wxDouble arg3
= (wxDouble
) 0.0 ;
29181 wxDouble arg4
= (wxDouble
) 0.0 ;
29182 wxDouble arg5
= (wxDouble
) 1.0 ;
29183 wxDouble arg6
= (wxDouble
) 0.0 ;
29184 wxDouble arg7
= (wxDouble
) 0.0 ;
29185 wxGraphicsMatrix result
;
29200 PyObject
* obj0
= 0 ;
29201 PyObject
* obj1
= 0 ;
29202 PyObject
* obj2
= 0 ;
29203 PyObject
* obj3
= 0 ;
29204 PyObject
* obj4
= 0 ;
29205 PyObject
* obj5
= 0 ;
29206 PyObject
* obj6
= 0 ;
29207 char * kwnames
[] = {
29208 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29213 if (!SWIG_IsOK(res1
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29216 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29218 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29219 if (!SWIG_IsOK(ecode2
)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29222 arg2
= static_cast< wxDouble
>(val2
);
29225 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29226 if (!SWIG_IsOK(ecode3
)) {
29227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29229 arg3
= static_cast< wxDouble
>(val3
);
29232 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29233 if (!SWIG_IsOK(ecode4
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
29236 arg4
= static_cast< wxDouble
>(val4
);
29239 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29240 if (!SWIG_IsOK(ecode5
)) {
29241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
29243 arg5
= static_cast< wxDouble
>(val5
);
29246 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29247 if (!SWIG_IsOK(ecode6
)) {
29248 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
29250 arg6
= static_cast< wxDouble
>(val6
);
29253 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29254 if (!SWIG_IsOK(ecode7
)) {
29255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
29257 arg7
= static_cast< wxDouble
>(val7
);
29260 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29270 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29271 PyObject
*resultobj
= 0;
29272 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29275 PyObject
*swig_obj
[1] ;
29277 if (!args
) SWIG_fail
;
29278 swig_obj
[0] = args
;
29279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29280 if (!SWIG_IsOK(res1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29283 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29285 (arg1
)->PushState();
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 PyObject
*resultobj
= 0;
29297 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29300 PyObject
*swig_obj
[1] ;
29302 if (!args
) SWIG_fail
;
29303 swig_obj
[0] = args
;
29304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29305 if (!SWIG_IsOK(res1
)) {
29306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29308 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29310 (arg1
)->PopState();
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= SWIG_Py_Void();
29320 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
= 0;
29322 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29323 wxRegion
*arg2
= 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "region", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29341 if (!SWIG_IsOK(res2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29347 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29349 (arg1
)->Clip((wxRegion
const &)*arg2
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= SWIG_Py_Void();
29359 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
= 0;
29361 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 PyObject
* obj3
= 0 ;
29380 PyObject
* obj4
= 0 ;
29381 char * kwnames
[] = {
29382 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29390 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29391 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29392 if (!SWIG_IsOK(ecode2
)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29395 arg2
= static_cast< wxDouble
>(val2
);
29396 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29397 if (!SWIG_IsOK(ecode3
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29400 arg3
= static_cast< wxDouble
>(val3
);
29401 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29402 if (!SWIG_IsOK(ecode4
)) {
29403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29405 arg4
= static_cast< wxDouble
>(val4
);
29406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29407 if (!SWIG_IsOK(ecode5
)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29410 arg5
= static_cast< wxDouble
>(val5
);
29412 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= SWIG_Py_Void();
29422 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29423 PyObject
*resultobj
= 0;
29424 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29427 PyObject
*swig_obj
[1] ;
29429 if (!args
) SWIG_fail
;
29430 swig_obj
[0] = args
;
29431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29432 if (!SWIG_IsOK(res1
)) {
29433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29435 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29437 (arg1
)->ResetClip();
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_Py_Void();
29447 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29448 PyObject
*resultobj
= 0;
29449 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29453 PyObject
*swig_obj
[1] ;
29455 if (!args
) SWIG_fail
;
29456 swig_obj
[0] = args
;
29457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29463 result
= (void *)(arg1
)->GetNativeContext();
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29473 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29474 PyObject
*resultobj
= 0;
29475 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29479 PyObject
*swig_obj
[1] ;
29481 if (!args
) SWIG_fail
;
29482 swig_obj
[0] = args
;
29483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29487 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29489 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= SWIG_From_int(static_cast< int >(result
));
29499 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
= 0;
29501 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char * kwnames
[] = {
29511 (char *) "self",(char *) "function", NULL
29514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29516 if (!SWIG_IsOK(res1
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29519 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29521 if (!SWIG_IsOK(ecode2
)) {
29522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29524 arg2
= static_cast< int >(val2
);
29526 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
= 0;
29540 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 PyObject
* obj2
= 0 ;
29552 char * kwnames
[] = {
29553 (char *) "self",(char *) "dx",(char *) "dy", NULL
29556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29561 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29562 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29563 if (!SWIG_IsOK(ecode2
)) {
29564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29566 arg2
= static_cast< wxDouble
>(val2
);
29567 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29568 if (!SWIG_IsOK(ecode3
)) {
29569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29571 arg3
= static_cast< wxDouble
>(val3
);
29573 (arg1
)->Translate(arg2
,arg3
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= SWIG_Py_Void();
29583 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29584 PyObject
*resultobj
= 0;
29585 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29594 PyObject
* obj0
= 0 ;
29595 PyObject
* obj1
= 0 ;
29596 PyObject
* obj2
= 0 ;
29597 char * kwnames
[] = {
29598 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29607 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29608 if (!SWIG_IsOK(ecode2
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29611 arg2
= static_cast< wxDouble
>(val2
);
29612 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29613 if (!SWIG_IsOK(ecode3
)) {
29614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29616 arg3
= static_cast< wxDouble
>(val3
);
29618 (arg1
)->Scale(arg2
,arg3
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= SWIG_Py_Void();
29628 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= 0;
29630 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 char * kwnames
[] = {
29639 (char *) "self",(char *) "angle", NULL
29642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29647 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29648 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29649 if (!SWIG_IsOK(ecode2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29652 arg2
= static_cast< wxDouble
>(val2
);
29654 (arg1
)->Rotate(arg2
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_Py_Void();
29664 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= 0;
29666 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29667 wxGraphicsMatrix
*arg2
= 0 ;
29672 PyObject
* obj0
= 0 ;
29673 PyObject
* obj1
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "matrix", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29685 if (!SWIG_IsOK(res2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29691 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29693 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_Py_Void();
29703 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
= 0;
29705 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29706 wxGraphicsMatrix
*arg2
= 0 ;
29711 PyObject
* obj0
= 0 ;
29712 PyObject
* obj1
= 0 ;
29713 char * kwnames
[] = {
29714 (char *) "self",(char *) "matrix", NULL
29717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29719 if (!SWIG_IsOK(res1
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29722 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29724 if (!SWIG_IsOK(res2
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29730 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29732 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_Py_Void();
29742 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29743 PyObject
*resultobj
= 0;
29744 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29745 wxGraphicsMatrix result
;
29748 PyObject
*swig_obj
[1] ;
29750 if (!args
) SWIG_fail
;
29751 swig_obj
[0] = args
;
29752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29753 if (!SWIG_IsOK(res1
)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29756 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29758 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29768 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29769 PyObject
*resultobj
= 0;
29770 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29771 wxGraphicsPen
*arg2
= 0 ;
29777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29779 if (!SWIG_IsOK(res1
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29782 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29783 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29784 if (!SWIG_IsOK(res2
)) {
29785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29790 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29792 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_Py_Void();
29802 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29803 PyObject
*resultobj
= 0;
29804 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29811 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29816 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29817 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29818 if (!SWIG_IsOK(res2
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29824 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29826 (arg1
)->SetPen((wxPen
const &)*arg2
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_Py_Void();
29836 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29840 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29845 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29846 _v
= SWIG_CheckState(res
);
29848 if (!_v
) goto check_1
;
29849 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29854 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29858 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29863 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29864 PyObject
*resultobj
= 0;
29865 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29866 wxGraphicsBrush
*arg2
= 0 ;
29872 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29874 if (!SWIG_IsOK(res1
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29877 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29878 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29879 if (!SWIG_IsOK(res2
)) {
29880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29885 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29887 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29890 resultobj
= SWIG_Py_Void();
29897 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29898 PyObject
*resultobj
= 0;
29899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29900 wxBrush
*arg2
= 0 ;
29906 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29911 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29912 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29913 if (!SWIG_IsOK(res2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29919 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29921 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= SWIG_Py_Void();
29931 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29935 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29940 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29941 _v
= SWIG_CheckState(res
);
29943 if (!_v
) goto check_1
;
29944 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29949 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29953 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29958 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29959 PyObject
*resultobj
= 0;
29960 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29961 wxGraphicsFont
*arg2
= 0 ;
29967 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29969 if (!SWIG_IsOK(res1
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29972 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29973 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29974 if (!SWIG_IsOK(res2
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29980 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29982 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_Py_Void();
29992 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29993 PyObject
*resultobj
= 0;
29994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29996 wxColour
const &arg3_defvalue
= *wxBLACK
;
29997 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30004 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30009 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30010 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30011 if (!SWIG_IsOK(res2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30017 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30021 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
30025 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30028 resultobj
= SWIG_Py_Void();
30035 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
30039 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
30044 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
30045 _v
= SWIG_CheckState(res
);
30047 if (!_v
) goto check_1
;
30048 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
30052 if ((argc
>= 2) && (argc
<= 3)) {
30053 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
30057 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
30062 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30065 wxGraphicsPath
*arg2
= 0 ;
30070 PyObject
* obj0
= 0 ;
30071 PyObject
* obj1
= 0 ;
30072 char * kwnames
[] = {
30073 (char *) "self",(char *) "path", NULL
30076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30081 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30083 if (!SWIG_IsOK(res2
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30089 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30091 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_Py_Void();
30101 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
= 0;
30103 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30104 wxGraphicsPath
*arg2
= 0 ;
30105 int arg3
= (int) wxODDEVEN_RULE
;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 PyObject
* obj2
= 0 ;
30115 char * kwnames
[] = {
30116 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30124 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30126 if (!SWIG_IsOK(res2
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30132 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30135 if (!SWIG_IsOK(ecode3
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
30138 arg3
= static_cast< int >(val3
);
30141 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30144 resultobj
= SWIG_Py_Void();
30151 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
= 0;
30153 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30154 wxGraphicsPath
*arg2
= 0 ;
30155 int arg3
= (int) wxODDEVEN_RULE
;
30162 PyObject
* obj0
= 0 ;
30163 PyObject
* obj1
= 0 ;
30164 PyObject
* obj2
= 0 ;
30165 char * kwnames
[] = {
30166 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
30169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30171 if (!SWIG_IsOK(res1
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30174 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
30176 if (!SWIG_IsOK(res2
)) {
30177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
30182 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
30184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30185 if (!SWIG_IsOK(ecode3
)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
30188 arg3
= static_cast< int >(val3
);
30191 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
30192 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= SWIG_Py_Void();
30201 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30202 PyObject
*resultobj
= 0;
30203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30204 wxString
*arg2
= 0 ;
30207 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
30208 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
30211 bool temp2
= false ;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 PyObject
* obj2
= 0 ;
30221 PyObject
* obj3
= 0 ;
30222 PyObject
* obj4
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30232 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30234 arg2
= wxString_in_helper(obj1
);
30235 if (arg2
== NULL
) SWIG_fail
;
30238 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30239 if (!SWIG_IsOK(ecode3
)) {
30240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
30242 arg3
= static_cast< wxDouble
>(val3
);
30243 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30244 if (!SWIG_IsOK(ecode4
)) {
30245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
30247 arg4
= static_cast< wxDouble
>(val4
);
30249 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30250 if (!SWIG_IsOK(res5
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
30256 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
30259 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_Py_Void();
30277 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= 0;
30279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30280 wxString
*arg2
= 0 ;
30284 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30285 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30288 bool temp2
= false ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 PyObject
* obj2
= 0 ;
30300 PyObject
* obj3
= 0 ;
30301 PyObject
* obj4
= 0 ;
30302 PyObject
* obj5
= 0 ;
30303 char * kwnames
[] = {
30304 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30312 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30314 arg2
= wxString_in_helper(obj1
);
30315 if (arg2
== NULL
) SWIG_fail
;
30318 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30319 if (!SWIG_IsOK(ecode3
)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30322 arg3
= static_cast< wxDouble
>(val3
);
30323 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30324 if (!SWIG_IsOK(ecode4
)) {
30325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30327 arg4
= static_cast< wxDouble
>(val4
);
30328 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30329 if (!SWIG_IsOK(ecode5
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30332 arg5
= static_cast< wxDouble
>(val5
);
30334 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30335 if (!SWIG_IsOK(res6
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30341 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30344 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
= 0;
30364 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30365 wxString
*arg2
= 0 ;
30366 wxDouble
*arg3
= (wxDouble
*) 0 ;
30367 wxDouble
*arg4
= (wxDouble
*) 0 ;
30368 wxDouble
*arg5
= (wxDouble
*) 0 ;
30369 wxDouble
*arg6
= (wxDouble
*) 0 ;
30372 bool temp2
= false ;
30374 int res3
= SWIG_TMPOBJ
;
30376 int res4
= SWIG_TMPOBJ
;
30378 int res5
= SWIG_TMPOBJ
;
30380 int res6
= SWIG_TMPOBJ
;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "self",(char *) "text", NULL
30391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30396 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30398 arg2
= wxString_in_helper(obj1
);
30399 if (arg2
== NULL
) SWIG_fail
;
30403 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_Py_Void();
30407 if (SWIG_IsTmpObj(res3
)) {
30408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30410 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30413 if (SWIG_IsTmpObj(res4
)) {
30414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30416 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30419 if (SWIG_IsTmpObj(res5
)) {
30420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30422 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30425 if (SWIG_IsTmpObj(res6
)) {
30426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30428 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30445 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
= 0;
30447 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30448 wxString
*arg2
= 0 ;
30449 PyObject
*result
= 0 ;
30452 bool temp2
= false ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char * kwnames
[] = {
30456 (char *) "self",(char *) "text", NULL
30459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30461 if (!SWIG_IsOK(res1
)) {
30462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30464 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30466 arg2
= wxString_in_helper(obj1
);
30467 if (arg2
== NULL
) SWIG_fail
;
30471 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= result
;
30489 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= 0;
30491 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30492 wxString
*arg2
= 0 ;
30493 wxArrayDouble result
;
30496 bool temp2
= false ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 char * kwnames
[] = {
30500 (char *) "self",(char *) "text", NULL
30503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30508 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30510 arg2
= wxString_in_helper(obj1
);
30511 if (arg2
== NULL
) SWIG_fail
;
30515 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= wxArrayDouble2PyList_helper(result
);
30535 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
= 0;
30537 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30538 wxBitmap
*arg2
= 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 PyObject
* obj2
= 0 ;
30558 PyObject
* obj3
= 0 ;
30559 PyObject
* obj4
= 0 ;
30560 PyObject
* obj5
= 0 ;
30561 char * kwnames
[] = {
30562 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30567 if (!SWIG_IsOK(res1
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30572 if (!SWIG_IsOK(res2
)) {
30573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30578 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30579 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30580 if (!SWIG_IsOK(ecode3
)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30583 arg3
= static_cast< wxDouble
>(val3
);
30584 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30585 if (!SWIG_IsOK(ecode4
)) {
30586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30588 arg4
= static_cast< wxDouble
>(val4
);
30589 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30590 if (!SWIG_IsOK(ecode5
)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30593 arg5
= static_cast< wxDouble
>(val5
);
30594 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30595 if (!SWIG_IsOK(ecode6
)) {
30596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30598 arg6
= static_cast< wxDouble
>(val6
);
30600 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_Py_Void();
30610 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= 0;
30612 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30630 PyObject
* obj0
= 0 ;
30631 PyObject
* obj1
= 0 ;
30632 PyObject
* obj2
= 0 ;
30633 PyObject
* obj3
= 0 ;
30634 PyObject
* obj4
= 0 ;
30635 PyObject
* obj5
= 0 ;
30636 char * kwnames
[] = {
30637 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30642 if (!SWIG_IsOK(res1
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30645 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30647 if (!SWIG_IsOK(res2
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30653 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30654 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30655 if (!SWIG_IsOK(ecode3
)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30658 arg3
= static_cast< wxDouble
>(val3
);
30659 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30660 if (!SWIG_IsOK(ecode4
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30663 arg4
= static_cast< wxDouble
>(val4
);
30664 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30665 if (!SWIG_IsOK(ecode5
)) {
30666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30668 arg5
= static_cast< wxDouble
>(val5
);
30669 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30670 if (!SWIG_IsOK(ecode6
)) {
30671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30673 arg6
= static_cast< wxDouble
>(val6
);
30675 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 PyObject
* obj2
= 0 ;
30705 PyObject
* obj3
= 0 ;
30706 PyObject
* obj4
= 0 ;
30707 char * kwnames
[] = {
30708 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30716 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30717 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30718 if (!SWIG_IsOK(ecode2
)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30721 arg2
= static_cast< wxDouble
>(val2
);
30722 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30723 if (!SWIG_IsOK(ecode3
)) {
30724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30726 arg3
= static_cast< wxDouble
>(val3
);
30727 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30728 if (!SWIG_IsOK(ecode4
)) {
30729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30731 arg4
= static_cast< wxDouble
>(val4
);
30732 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30733 if (!SWIG_IsOK(ecode5
)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30736 arg5
= static_cast< wxDouble
>(val5
);
30738 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_Py_Void();
30748 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
= 0;
30750 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30752 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char * kwnames
[] = {
30758 (char *) "self",(char *) "points", NULL
30761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30766 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30768 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30769 if (arg3
== NULL
) SWIG_fail
;
30772 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_Py_Void();
30777 if (arg3
) delete [] arg3
;
30782 if (arg3
) delete [] arg3
;
30788 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30791 PyObject
*arg2
= (PyObject
*) 0 ;
30792 PyObject
*arg3
= (PyObject
*) 0 ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 PyObject
* obj2
= 0 ;
30798 char * kwnames
[] = {
30799 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30804 if (!SWIG_IsOK(res1
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30807 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30811 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= SWIG_Py_Void();
30821 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
= 0;
30823 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30825 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30826 int arg4
= (int) wxODDEVEN_RULE
;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 PyObject
* obj2
= 0 ;
30834 char * kwnames
[] = {
30835 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30840 if (!SWIG_IsOK(res1
)) {
30841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30843 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30845 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30846 if (arg3
== NULL
) SWIG_fail
;
30849 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30850 if (!SWIG_IsOK(ecode4
)) {
30851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30853 arg4
= static_cast< int >(val4
);
30856 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 resultobj
= SWIG_Py_Void();
30861 if (arg3
) delete [] arg3
;
30866 if (arg3
) delete [] arg3
;
30872 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
= 0;
30874 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 PyObject
* obj2
= 0 ;
30892 PyObject
* obj3
= 0 ;
30893 PyObject
* obj4
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30903 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30904 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30905 if (!SWIG_IsOK(ecode2
)) {
30906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30908 arg2
= static_cast< wxDouble
>(val2
);
30909 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30910 if (!SWIG_IsOK(ecode3
)) {
30911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30913 arg3
= static_cast< wxDouble
>(val3
);
30914 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30915 if (!SWIG_IsOK(ecode4
)) {
30916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30918 arg4
= static_cast< wxDouble
>(val4
);
30919 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30920 if (!SWIG_IsOK(ecode5
)) {
30921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30923 arg5
= static_cast< wxDouble
>(val5
);
30925 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_Py_Void();
30935 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 PyObject
* obj2
= 0 ;
30955 PyObject
* obj3
= 0 ;
30956 PyObject
* obj4
= 0 ;
30957 char * kwnames
[] = {
30958 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30963 if (!SWIG_IsOK(res1
)) {
30964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30967 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30968 if (!SWIG_IsOK(ecode2
)) {
30969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30971 arg2
= static_cast< wxDouble
>(val2
);
30972 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30973 if (!SWIG_IsOK(ecode3
)) {
30974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30976 arg3
= static_cast< wxDouble
>(val3
);
30977 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30978 if (!SWIG_IsOK(ecode4
)) {
30979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30981 arg4
= static_cast< wxDouble
>(val4
);
30982 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30983 if (!SWIG_IsOK(ecode5
)) {
30984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30986 arg5
= static_cast< wxDouble
>(val5
);
30988 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= SWIG_Py_Void();
30998 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
= 0;
31000 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 PyObject
* obj2
= 0 ;
31021 PyObject
* obj3
= 0 ;
31022 PyObject
* obj4
= 0 ;
31023 PyObject
* obj5
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
31033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31034 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31035 if (!SWIG_IsOK(ecode2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
31038 arg2
= static_cast< wxDouble
>(val2
);
31039 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31040 if (!SWIG_IsOK(ecode3
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
31043 arg3
= static_cast< wxDouble
>(val3
);
31044 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31045 if (!SWIG_IsOK(ecode4
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
31048 arg4
= static_cast< wxDouble
>(val4
);
31049 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31050 if (!SWIG_IsOK(ecode5
)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
31053 arg5
= static_cast< wxDouble
>(val5
);
31054 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31055 if (!SWIG_IsOK(ecode6
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
31058 arg6
= static_cast< wxDouble
>(val6
);
31060 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_Py_Void();
31070 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31071 PyObject
*resultobj
= 0;
31072 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
31076 PyObject
*swig_obj
[1] ;
31078 if (!args
) SWIG_fail
;
31079 swig_obj
[0] = args
;
31080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31081 if (!SWIG_IsOK(res1
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
31084 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
31086 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
31087 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31098 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31101 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
31102 return SWIG_Py_Void();
31105 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31106 PyObject
*resultobj
= 0;
31107 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31110 PyObject
*swig_obj
[1] ;
31112 if (!args
) SWIG_fail
;
31113 swig_obj
[0] = args
;
31114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
31115 if (!SWIG_IsOK(res1
)) {
31116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31118 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31124 resultobj
= SWIG_Py_Void();
31131 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31132 PyObject
*resultobj
= 0;
31133 wxGraphicsRenderer
*result
= 0 ;
31135 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
31137 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31147 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31148 PyObject
*resultobj
= 0;
31149 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31150 wxWindowDC
*arg2
= 0 ;
31151 wxGraphicsContext
*result
= 0 ;
31157 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31159 if (!SWIG_IsOK(res1
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31162 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31163 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31164 if (!SWIG_IsOK(res2
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
31170 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31172 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31182 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31183 PyObject
*resultobj
= 0;
31184 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31185 wxWindow
*arg2
= (wxWindow
*) 0 ;
31186 wxGraphicsContext
*result
= 0 ;
31192 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31194 if (!SWIG_IsOK(res1
)) {
31195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31197 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31198 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31199 if (!SWIG_IsOK(res2
)) {
31200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
31202 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31204 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31214 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
31218 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
31223 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
31224 _v
= SWIG_CheckState(res
);
31226 if (!_v
) goto check_1
;
31227 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
31232 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
31236 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
31241 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31242 PyObject
*resultobj
= 0;
31243 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31244 wxGraphicsContext
*result
= 0 ;
31247 PyObject
*swig_obj
[1] ;
31249 if (!args
) SWIG_fail
;
31250 swig_obj
[0] = args
;
31251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31252 if (!SWIG_IsOK(res1
)) {
31253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31255 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31257 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31267 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
= 0;
31269 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31270 void *arg2
= (void *) 0 ;
31271 wxGraphicsContext
*result
= 0 ;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 char * kwnames
[] = {
31278 (char *) "self",(char *) "context", NULL
31281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31283 if (!SWIG_IsOK(res1
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31286 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31287 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31288 if (!SWIG_IsOK(res2
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31292 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31302 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
= 0;
31304 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31305 void *arg2
= (void *) 0 ;
31306 wxGraphicsContext
*result
= 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 char * kwnames
[] = {
31313 (char *) "self",(char *) "window", NULL
31316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31318 if (!SWIG_IsOK(res1
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31321 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31322 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31323 if (!SWIG_IsOK(res2
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31327 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31337 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31338 PyObject
*resultobj
= 0;
31339 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31340 wxGraphicsPath result
;
31343 PyObject
*swig_obj
[1] ;
31345 if (!args
) SWIG_fail
;
31346 swig_obj
[0] = args
;
31347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31348 if (!SWIG_IsOK(res1
)) {
31349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31351 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31353 result
= (arg1
)->CreatePath();
31354 if (PyErr_Occurred()) SWIG_fail
;
31356 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31363 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31364 PyObject
*resultobj
= 0;
31365 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31366 wxDouble arg2
= (wxDouble
) 1.0 ;
31367 wxDouble arg3
= (wxDouble
) 0.0 ;
31368 wxDouble arg4
= (wxDouble
) 0.0 ;
31369 wxDouble arg5
= (wxDouble
) 1.0 ;
31370 wxDouble arg6
= (wxDouble
) 0.0 ;
31371 wxDouble arg7
= (wxDouble
) 0.0 ;
31372 wxGraphicsMatrix result
;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 PyObject
* obj2
= 0 ;
31390 PyObject
* obj3
= 0 ;
31391 PyObject
* obj4
= 0 ;
31392 PyObject
* obj5
= 0 ;
31393 PyObject
* obj6
= 0 ;
31394 char * kwnames
[] = {
31395 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31403 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31405 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31406 if (!SWIG_IsOK(ecode2
)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31409 arg2
= static_cast< wxDouble
>(val2
);
31412 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31413 if (!SWIG_IsOK(ecode3
)) {
31414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31416 arg3
= static_cast< wxDouble
>(val3
);
31419 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31420 if (!SWIG_IsOK(ecode4
)) {
31421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31423 arg4
= static_cast< wxDouble
>(val4
);
31426 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31427 if (!SWIG_IsOK(ecode5
)) {
31428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31430 arg5
= static_cast< wxDouble
>(val5
);
31433 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31434 if (!SWIG_IsOK(ecode6
)) {
31435 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31437 arg6
= static_cast< wxDouble
>(val6
);
31440 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31441 if (!SWIG_IsOK(ecode7
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31444 arg7
= static_cast< wxDouble
>(val7
);
31447 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31457 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31458 PyObject
*resultobj
= 0;
31459 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31461 wxGraphicsPen result
;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 char * kwnames
[] = {
31469 (char *) "self",(char *) "pen", NULL
31472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31477 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31479 if (!SWIG_IsOK(res2
)) {
31480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31485 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31487 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31497 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31498 PyObject
*resultobj
= 0;
31499 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31500 wxBrush
*arg2
= 0 ;
31501 wxGraphicsBrush result
;
31506 PyObject
* obj0
= 0 ;
31507 PyObject
* obj1
= 0 ;
31508 char * kwnames
[] = {
31509 (char *) "self",(char *) "brush", NULL
31512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31514 if (!SWIG_IsOK(res1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31517 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31519 if (!SWIG_IsOK(res2
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31525 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31527 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31537 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
= 0;
31539 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31544 wxColour
*arg6
= 0 ;
31545 wxColour
*arg7
= 0 ;
31546 wxGraphicsBrush result
;
31559 PyObject
* obj0
= 0 ;
31560 PyObject
* obj1
= 0 ;
31561 PyObject
* obj2
= 0 ;
31562 PyObject
* obj3
= 0 ;
31563 PyObject
* obj4
= 0 ;
31564 PyObject
* obj5
= 0 ;
31565 PyObject
* obj6
= 0 ;
31566 char * kwnames
[] = {
31567 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31572 if (!SWIG_IsOK(res1
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31575 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31576 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31577 if (!SWIG_IsOK(ecode2
)) {
31578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31580 arg2
= static_cast< wxDouble
>(val2
);
31581 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31582 if (!SWIG_IsOK(ecode3
)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31585 arg3
= static_cast< wxDouble
>(val3
);
31586 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31587 if (!SWIG_IsOK(ecode4
)) {
31588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31590 arg4
= static_cast< wxDouble
>(val4
);
31591 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31592 if (!SWIG_IsOK(ecode5
)) {
31593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31595 arg5
= static_cast< wxDouble
>(val5
);
31598 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31602 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31605 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31615 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31623 wxColour
*arg7
= 0 ;
31624 wxColour
*arg8
= 0 ;
31625 wxGraphicsBrush result
;
31640 PyObject
* obj0
= 0 ;
31641 PyObject
* obj1
= 0 ;
31642 PyObject
* obj2
= 0 ;
31643 PyObject
* obj3
= 0 ;
31644 PyObject
* obj4
= 0 ;
31645 PyObject
* obj5
= 0 ;
31646 PyObject
* obj6
= 0 ;
31647 PyObject
* obj7
= 0 ;
31648 char * kwnames
[] = {
31649 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31654 if (!SWIG_IsOK(res1
)) {
31655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31657 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31658 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31659 if (!SWIG_IsOK(ecode2
)) {
31660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31662 arg2
= static_cast< wxDouble
>(val2
);
31663 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31664 if (!SWIG_IsOK(ecode3
)) {
31665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31667 arg3
= static_cast< wxDouble
>(val3
);
31668 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31669 if (!SWIG_IsOK(ecode4
)) {
31670 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31672 arg4
= static_cast< wxDouble
>(val4
);
31673 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31674 if (!SWIG_IsOK(ecode5
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31677 arg5
= static_cast< wxDouble
>(val5
);
31678 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31679 if (!SWIG_IsOK(ecode6
)) {
31680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31682 arg6
= static_cast< wxDouble
>(val6
);
31685 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31689 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31692 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31695 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31702 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31703 PyObject
*resultobj
= 0;
31704 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31706 wxColour
const &arg3_defvalue
= *wxBLACK
;
31707 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31708 wxGraphicsFont result
;
31714 PyObject
* obj0
= 0 ;
31715 PyObject
* obj1
= 0 ;
31716 PyObject
* obj2
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "font",(char *) "col", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31726 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31728 if (!SWIG_IsOK(res2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31734 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31738 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31742 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31752 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31755 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31756 return SWIG_Py_Void();
31759 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31760 PyObject
*resultobj
= 0;
31761 wxWindowDC
*arg1
= 0 ;
31762 wxGCDC
*result
= 0 ;
31766 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31774 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31776 if (!wxPyCheckForApp()) SWIG_fail
;
31777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31778 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31789 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31790 PyObject
*resultobj
= 0;
31791 wxWindow
*arg1
= (wxWindow
*) 0 ;
31792 wxGCDC
*result
= 0 ;
31796 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31803 if (!wxPyCheckForApp()) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (wxGCDC
*)new wxGCDC(arg1
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31816 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31820 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31825 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31826 _v
= SWIG_CheckState(res
);
31828 if (!_v
) goto check_1
;
31829 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31834 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31838 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31843 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31844 PyObject
*resultobj
= 0;
31845 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31848 PyObject
*swig_obj
[1] ;
31850 if (!args
) SWIG_fail
;
31851 swig_obj
[0] = args
;
31852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31853 if (!SWIG_IsOK(res1
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31856 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_Py_Void();
31869 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31870 PyObject
*resultobj
= 0;
31871 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31872 wxGraphicsContext
*result
= 0 ;
31875 PyObject
*swig_obj
[1] ;
31877 if (!args
) SWIG_fail
;
31878 swig_obj
[0] = args
;
31879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31880 if (!SWIG_IsOK(res1
)) {
31881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31883 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31885 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31886 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31895 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31896 PyObject
*resultobj
= 0;
31897 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31898 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31903 PyObject
* obj0
= 0 ;
31904 PyObject
* obj1
= 0 ;
31905 char * kwnames
[] = {
31906 (char *) "self",(char *) "ctx", NULL
31909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31911 if (!SWIG_IsOK(res1
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31914 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31916 if (!SWIG_IsOK(res2
)) {
31917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31919 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31921 (arg1
)->SetGraphicsContext(arg2
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= SWIG_Py_Void();
31931 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31934 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31935 return SWIG_Py_Void();
31938 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31939 return SWIG_Python_InitShadowInstance(args
);
31942 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxOverlay
*result
= 0 ;
31946 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31949 result
= (wxOverlay
*)new wxOverlay();
31950 wxPyEndAllowThreads(__tstate
);
31951 if (PyErr_Occurred()) SWIG_fail
;
31953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31960 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31961 PyObject
*resultobj
= 0;
31962 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31965 PyObject
*swig_obj
[1] ;
31967 if (!args
) SWIG_fail
;
31968 swig_obj
[0] = args
;
31969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31970 if (!SWIG_IsOK(res1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31973 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 wxPyEndAllowThreads(__tstate
);
31979 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= SWIG_Py_Void();
31988 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31989 PyObject
*resultobj
= 0;
31990 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31993 PyObject
*swig_obj
[1] ;
31995 if (!args
) SWIG_fail
;
31996 swig_obj
[0] = args
;
31997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31998 if (!SWIG_IsOK(res1
)) {
31999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
32001 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 resultobj
= SWIG_Py_Void();
32015 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32018 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
32019 return SWIG_Py_Void();
32022 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32023 return SWIG_Python_InitShadowInstance(args
);
32026 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32027 PyObject
*resultobj
= 0;
32028 wxOverlay
*arg1
= 0 ;
32029 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32034 wxDCOverlay
*result
= 0 ;
32048 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32056 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32057 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32058 if (!SWIG_IsOK(res2
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32061 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32062 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
32063 if (!SWIG_IsOK(ecode3
)) {
32064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
32066 arg3
= static_cast< int >(val3
);
32067 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
32068 if (!SWIG_IsOK(ecode4
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
32071 arg4
= static_cast< int >(val4
);
32072 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
32073 if (!SWIG_IsOK(ecode5
)) {
32074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
32076 arg5
= static_cast< int >(val5
);
32077 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
32078 if (!SWIG_IsOK(ecode6
)) {
32079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
32081 arg6
= static_cast< int >(val6
);
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32095 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32096 PyObject
*resultobj
= 0;
32097 wxOverlay
*arg1
= 0 ;
32098 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
32099 wxDCOverlay
*result
= 0 ;
32105 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
32106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
32107 if (!SWIG_IsOK(res1
)) {
32108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
32113 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
32114 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
32115 if (!SWIG_IsOK(res2
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
32118 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
32120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32121 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
32132 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
32136 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
32139 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
32142 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
32146 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
32151 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32152 PyObject
*resultobj
= 0;
32153 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32156 PyObject
*swig_obj
[1] ;
32158 if (!args
) SWIG_fail
;
32159 swig_obj
[0] = args
;
32160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
32161 if (!SWIG_IsOK(res1
)) {
32162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32164 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= SWIG_Py_Void();
32179 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32180 PyObject
*resultobj
= 0;
32181 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
32184 PyObject
*swig_obj
[1] ;
32186 if (!args
) SWIG_fail
;
32187 swig_obj
[0] = args
;
32188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
32189 if (!SWIG_IsOK(res1
)) {
32190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
32192 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_Py_Void();
32206 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32209 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
32210 return SWIG_Py_Void();
32213 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32214 return SWIG_Python_InitShadowInstance(args
);
32217 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
= 0;
32221 int arg3
= (int) true ;
32222 int arg4
= (int) 1 ;
32223 wxImageList
*result
= 0 ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 PyObject
* obj2
= 0 ;
32235 PyObject
* obj3
= 0 ;
32236 char * kwnames
[] = {
32237 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
32240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32242 if (!SWIG_IsOK(ecode1
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
32245 arg1
= static_cast< int >(val1
);
32246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32247 if (!SWIG_IsOK(ecode2
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
32250 arg2
= static_cast< int >(val2
);
32252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32253 if (!SWIG_IsOK(ecode3
)) {
32254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
32256 arg3
= static_cast< int >(val3
);
32259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32260 if (!SWIG_IsOK(ecode4
)) {
32261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
32263 arg4
= static_cast< int >(val4
);
32266 if (!wxPyCheckForApp()) SWIG_fail
;
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32268 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32279 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32280 PyObject
*resultobj
= 0;
32281 wxImageList
*arg1
= (wxImageList
*) 0 ;
32284 PyObject
*swig_obj
[1] ;
32286 if (!args
) SWIG_fail
;
32287 swig_obj
[0] = args
;
32288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32289 if (!SWIG_IsOK(res1
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32292 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_Py_Void();
32307 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxImageList
*arg1
= (wxImageList
*) 0 ;
32310 wxBitmap
*arg2
= 0 ;
32311 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32312 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 PyObject
* obj2
= 0 ;
32323 char * kwnames
[] = {
32324 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32329 if (!SWIG_IsOK(res1
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32332 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32334 if (!SWIG_IsOK(res2
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32340 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32342 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32343 if (!SWIG_IsOK(res3
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32349 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= SWIG_From_int(static_cast< int >(result
));
32364 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32365 PyObject
*resultobj
= 0;
32366 wxImageList
*arg1
= (wxImageList
*) 0 ;
32367 wxBitmap
*arg2
= 0 ;
32368 wxColour
*arg3
= 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 PyObject
* obj2
= 0 ;
32378 char * kwnames
[] = {
32379 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32384 if (!SWIG_IsOK(res1
)) {
32385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32387 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32389 if (!SWIG_IsOK(res2
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32395 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32398 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_From_int(static_cast< int >(result
));
32413 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxImageList
*arg1
= (wxImageList
*) 0 ;
32422 PyObject
* obj0
= 0 ;
32423 PyObject
* obj1
= 0 ;
32424 char * kwnames
[] = {
32425 (char *) "self",(char *) "icon", NULL
32428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32430 if (!SWIG_IsOK(res1
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32433 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32435 if (!SWIG_IsOK(res2
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32441 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_From_int(static_cast< int >(result
));
32455 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32456 PyObject
*resultobj
= 0;
32457 wxImageList
*arg1
= (wxImageList
*) 0 ;
32459 SwigValueWrapper
<wxBitmap
> result
;
32464 PyObject
* obj0
= 0 ;
32465 PyObject
* obj1
= 0 ;
32466 char * kwnames
[] = {
32467 (char *) "self",(char *) "index", NULL
32470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32472 if (!SWIG_IsOK(res1
)) {
32473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32475 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32477 if (!SWIG_IsOK(ecode2
)) {
32478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32480 arg2
= static_cast< int >(val2
);
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32494 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32495 PyObject
*resultobj
= 0;
32496 wxImageList
*arg1
= (wxImageList
*) 0 ;
32503 PyObject
* obj0
= 0 ;
32504 PyObject
* obj1
= 0 ;
32505 char * kwnames
[] = {
32506 (char *) "self",(char *) "index", NULL
32509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32511 if (!SWIG_IsOK(res1
)) {
32512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32514 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32516 if (!SWIG_IsOK(ecode2
)) {
32517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32519 arg2
= static_cast< int >(val2
);
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32533 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32534 PyObject
*resultobj
= 0;
32535 wxImageList
*arg1
= (wxImageList
*) 0 ;
32537 wxBitmap
*arg3
= 0 ;
32538 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32539 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 PyObject
* obj2
= 0 ;
32552 PyObject
* obj3
= 0 ;
32553 char * kwnames
[] = {
32554 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32562 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32564 if (!SWIG_IsOK(ecode2
)) {
32565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32567 arg2
= static_cast< int >(val2
);
32568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32569 if (!SWIG_IsOK(res3
)) {
32570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32575 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32577 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32578 if (!SWIG_IsOK(res4
)) {
32579 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32584 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32601 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxImageList
*arg1
= (wxImageList
*) 0 ;
32608 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32609 bool arg7
= (bool) (bool)false ;
32625 PyObject
* obj0
= 0 ;
32626 PyObject
* obj1
= 0 ;
32627 PyObject
* obj2
= 0 ;
32628 PyObject
* obj3
= 0 ;
32629 PyObject
* obj4
= 0 ;
32630 PyObject
* obj5
= 0 ;
32631 PyObject
* obj6
= 0 ;
32632 char * kwnames
[] = {
32633 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32638 if (!SWIG_IsOK(res1
)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32641 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32643 if (!SWIG_IsOK(ecode2
)) {
32644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32646 arg2
= static_cast< int >(val2
);
32647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32648 if (!SWIG_IsOK(res3
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32654 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32656 if (!SWIG_IsOK(ecode4
)) {
32657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32659 arg4
= static_cast< int >(val4
);
32660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32661 if (!SWIG_IsOK(ecode5
)) {
32662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32664 arg5
= static_cast< int >(val5
);
32666 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32667 if (!SWIG_IsOK(ecode6
)) {
32668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32670 arg6
= static_cast< int >(val6
);
32673 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32674 if (!SWIG_IsOK(ecode7
)) {
32675 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32677 arg7
= static_cast< bool >(val7
);
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32694 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32695 PyObject
*resultobj
= 0;
32696 wxImageList
*arg1
= (wxImageList
*) 0 ;
32700 PyObject
*swig_obj
[1] ;
32702 if (!args
) SWIG_fail
;
32703 swig_obj
[0] = args
;
32704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32708 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 result
= (int)(arg1
)->GetImageCount();
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32715 resultobj
= SWIG_From_int(static_cast< int >(result
));
32722 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32723 PyObject
*resultobj
= 0;
32724 wxImageList
*arg1
= (wxImageList
*) 0 ;
32731 PyObject
* obj0
= 0 ;
32732 PyObject
* obj1
= 0 ;
32733 char * kwnames
[] = {
32734 (char *) "self",(char *) "index", NULL
32737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32739 if (!SWIG_IsOK(res1
)) {
32740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32742 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32744 if (!SWIG_IsOK(ecode2
)) {
32745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32747 arg2
= static_cast< int >(val2
);
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 result
= (bool)(arg1
)->Remove(arg2
);
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32763 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 PyObject
*resultobj
= 0;
32765 wxImageList
*arg1
= (wxImageList
*) 0 ;
32769 PyObject
*swig_obj
[1] ;
32771 if (!args
) SWIG_fail
;
32772 swig_obj
[0] = args
;
32773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32777 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (bool)(arg1
)->RemoveAll();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32793 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
= 0;
32795 wxImageList
*arg1
= (wxImageList
*) 0 ;
32804 int res3
= SWIG_TMPOBJ
;
32806 int res4
= SWIG_TMPOBJ
;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 char * kwnames
[] = {
32810 (char *) "self",(char *) "index", NULL
32815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32817 if (!SWIG_IsOK(res1
)) {
32818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32820 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32822 if (!SWIG_IsOK(ecode2
)) {
32823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32825 arg2
= static_cast< int >(val2
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_Py_Void();
32833 if (SWIG_IsTmpObj(res3
)) {
32834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32839 if (SWIG_IsTmpObj(res4
)) {
32840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32842 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32851 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32854 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32855 return SWIG_Py_Void();
32858 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32859 return SWIG_Python_InitShadowInstance(args
);
32862 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32863 PyObject
*resultobj
= 0;
32864 wxStockGDI
*result
= 0 ;
32866 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32869 result
= (wxStockGDI
*)new wxStockGDI();
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32880 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32881 PyObject
*resultobj
= 0;
32882 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32885 PyObject
*swig_obj
[1] ;
32887 if (!args
) SWIG_fail
;
32888 swig_obj
[0] = args
;
32889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32890 if (!SWIG_IsOK(res1
)) {
32891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32893 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 resultobj
= SWIG_Py_Void();
32908 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32909 PyObject
*resultobj
= 0;
32911 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32914 wxStockGDI::DeleteAll();
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= SWIG_Py_Void();
32925 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32926 PyObject
*resultobj
= 0;
32927 wxStockGDI
*result
= 0 ;
32929 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32934 result
= (wxStockGDI
*) &_result_ref
;
32936 wxPyEndAllowThreads(__tstate
);
32937 if (PyErr_Occurred()) SWIG_fail
;
32939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32946 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32947 PyObject
*resultobj
= 0;
32948 wxStockGDI::Item arg1
;
32949 wxBrush
*result
= 0 ;
32952 PyObject
* obj0
= 0 ;
32953 char * kwnames
[] = {
32954 (char *) "item", NULL
32957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32959 if (!SWIG_IsOK(ecode1
)) {
32960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32962 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32976 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
= 0;
32978 wxStockGDI::Item arg1
;
32979 wxColour
*result
= 0 ;
32982 PyObject
* obj0
= 0 ;
32983 char * kwnames
[] = {
32984 (char *) "item", NULL
32987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32989 if (!SWIG_IsOK(ecode1
)) {
32990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32992 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32996 wxPyEndAllowThreads(__tstate
);
32997 if (PyErr_Occurred()) SWIG_fail
;
32999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33006 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
= 0;
33008 wxStockGDI::Item arg1
;
33009 wxCursor
*result
= 0 ;
33012 PyObject
* obj0
= 0 ;
33013 char * kwnames
[] = {
33014 (char *) "item", NULL
33017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
33018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33019 if (!SWIG_IsOK(ecode1
)) {
33020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33022 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
33036 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
= 0;
33038 wxStockGDI::Item arg1
;
33039 wxPen
*result
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 char * kwnames
[] = {
33044 (char *) "item", NULL
33047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
33048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33049 if (!SWIG_IsOK(ecode1
)) {
33050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
33052 arg1
= static_cast< wxStockGDI::Item
>(val1
);
33054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33055 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
33056 wxPyEndAllowThreads(__tstate
);
33057 if (PyErr_Occurred()) SWIG_fail
;
33059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33066 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33067 PyObject
*resultobj
= 0;
33068 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
33069 wxStockGDI::Item arg2
;
33070 wxFont
*result
= 0 ;
33075 PyObject
* obj0
= 0 ;
33076 PyObject
* obj1
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "item", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
33086 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
33087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33088 if (!SWIG_IsOK(ecode2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
33091 arg2
= static_cast< wxStockGDI::Item
>(val2
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33105 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33108 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
33109 return SWIG_Py_Void();
33112 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33113 return SWIG_Python_InitShadowInstance(args
);
33116 SWIGINTERN
int NullBitmap_set(PyObject
*) {
33117 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
33122 SWIGINTERN PyObject
*NullBitmap_get(void) {
33123 PyObject
*pyobj
= 0;
33125 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
33130 SWIGINTERN
int NullIcon_set(PyObject
*) {
33131 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
33136 SWIGINTERN PyObject
*NullIcon_get(void) {
33137 PyObject
*pyobj
= 0;
33139 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
33144 SWIGINTERN
int NullCursor_set(PyObject
*) {
33145 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
33150 SWIGINTERN PyObject
*NullCursor_get(void) {
33151 PyObject
*pyobj
= 0;
33153 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
33158 SWIGINTERN
int NullPen_set(PyObject
*) {
33159 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
33164 SWIGINTERN PyObject
*NullPen_get(void) {
33165 PyObject
*pyobj
= 0;
33167 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
33172 SWIGINTERN
int NullBrush_set(PyObject
*) {
33173 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
33178 SWIGINTERN PyObject
*NullBrush_get(void) {
33179 PyObject
*pyobj
= 0;
33181 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
33186 SWIGINTERN
int NullPalette_set(PyObject
*) {
33187 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
33192 SWIGINTERN PyObject
*NullPalette_get(void) {
33193 PyObject
*pyobj
= 0;
33195 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
33200 SWIGINTERN
int NullFont_set(PyObject
*) {
33201 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
33206 SWIGINTERN PyObject
*NullFont_get(void) {
33207 PyObject
*pyobj
= 0;
33209 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
33214 SWIGINTERN
int NullColour_set(PyObject
*) {
33215 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
33220 SWIGINTERN PyObject
*NullColour_get(void) {
33221 PyObject
*pyobj
= 0;
33223 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
33228 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33229 PyObject
*resultobj
= 0;
33230 wxGDIObjListBase
*result
= 0 ;
33232 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
33246 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33247 PyObject
*resultobj
= 0;
33248 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
33251 PyObject
*swig_obj
[1] ;
33253 if (!args
) SWIG_fail
;
33254 swig_obj
[0] = args
;
33255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
33256 if (!SWIG_IsOK(res1
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
33259 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33274 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33277 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33278 return SWIG_Py_Void();
33281 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33282 return SWIG_Python_InitShadowInstance(args
);
33285 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
= 0;
33287 wxPenList
*arg1
= (wxPenList
*) 0 ;
33288 wxColour
*arg2
= 0 ;
33291 wxPen
*result
= 0 ;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33301 PyObject
* obj2
= 0 ;
33302 PyObject
* obj3
= 0 ;
33303 char * kwnames
[] = {
33304 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33309 if (!SWIG_IsOK(res1
)) {
33310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33312 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33318 if (!SWIG_IsOK(ecode3
)) {
33319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33321 arg3
= static_cast< int >(val3
);
33322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33323 if (!SWIG_IsOK(ecode4
)) {
33324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33326 arg4
= static_cast< int >(val4
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33340 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33344 return SWIG_Py_Void();
33347 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33348 PyObject
*resultobj
= 0;
33349 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33350 wxColour
*arg2
= 0 ;
33351 int arg3
= (int) wxSOLID
;
33352 wxBrush
*result
= 0 ;
33358 PyObject
* obj0
= 0 ;
33359 PyObject
* obj1
= 0 ;
33360 PyObject
* obj2
= 0 ;
33361 char * kwnames
[] = {
33362 (char *) "self",(char *) "colour",(char *) "style", NULL
33365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33367 if (!SWIG_IsOK(res1
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33370 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33377 if (!SWIG_IsOK(ecode3
)) {
33378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33380 arg3
= static_cast< int >(val3
);
33383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33395 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33398 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33399 return SWIG_Py_Void();
33402 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33403 PyObject
*resultobj
= 0;
33404 wxFontList
*arg1
= (wxFontList
*) 0 ;
33409 bool arg6
= (bool) false ;
33410 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33411 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33412 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33413 wxFont
*result
= 0 ;
33426 bool temp7
= false ;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33432 PyObject
* obj3
= 0 ;
33433 PyObject
* obj4
= 0 ;
33434 PyObject
* obj5
= 0 ;
33435 PyObject
* obj6
= 0 ;
33436 PyObject
* obj7
= 0 ;
33437 char * kwnames
[] = {
33438 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33443 if (!SWIG_IsOK(res1
)) {
33444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33446 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33448 if (!SWIG_IsOK(ecode2
)) {
33449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33451 arg2
= static_cast< int >(val2
);
33452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33453 if (!SWIG_IsOK(ecode3
)) {
33454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33456 arg3
= static_cast< int >(val3
);
33457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33458 if (!SWIG_IsOK(ecode4
)) {
33459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33461 arg4
= static_cast< int >(val4
);
33462 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33463 if (!SWIG_IsOK(ecode5
)) {
33464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33466 arg5
= static_cast< int >(val5
);
33468 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33469 if (!SWIG_IsOK(ecode6
)) {
33470 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33472 arg6
= static_cast< bool >(val6
);
33476 arg7
= wxString_in_helper(obj6
);
33477 if (arg7
== NULL
) SWIG_fail
;
33482 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33483 if (!SWIG_IsOK(ecode8
)) {
33484 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33486 arg8
= static_cast< wxFontEncoding
>(val8
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33509 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33512 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33513 return SWIG_Py_Void();
33516 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33517 PyObject
*resultobj
= 0;
33518 wxColourDatabase
*result
= 0 ;
33520 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33522 if (!wxPyCheckForApp()) SWIG_fail
;
33523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33524 result
= (wxColourDatabase
*)new wxColourDatabase();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33535 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33536 PyObject
*resultobj
= 0;
33537 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33540 PyObject
*swig_obj
[1] ;
33542 if (!args
) SWIG_fail
;
33543 swig_obj
[0] = args
;
33544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33545 if (!SWIG_IsOK(res1
)) {
33546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33548 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_Py_Void();
33563 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
= 0;
33565 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33566 wxString
*arg2
= 0 ;
33570 bool temp2
= false ;
33571 PyObject
* obj0
= 0 ;
33572 PyObject
* obj1
= 0 ;
33573 char * kwnames
[] = {
33574 (char *) "self",(char *) "name", NULL
33577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33579 if (!SWIG_IsOK(res1
)) {
33580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33582 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33584 arg2
= wxString_in_helper(obj1
);
33585 if (arg2
== NULL
) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33591 wxPyEndAllowThreads(__tstate
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33609 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
= 0;
33611 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33612 wxColour
*arg2
= 0 ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 char * kwnames
[] = {
33620 (char *) "self",(char *) "colour", NULL
33623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33628 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33631 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33636 wxPyEndAllowThreads(__tstate
);
33637 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33652 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33653 PyObject
*resultobj
= 0;
33654 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33655 wxString
*arg2
= 0 ;
33656 wxColour
*arg3
= 0 ;
33659 bool temp2
= false ;
33661 PyObject
* obj0
= 0 ;
33662 PyObject
* obj1
= 0 ;
33663 PyObject
* obj2
= 0 ;
33664 char * kwnames
[] = {
33665 (char *) "self",(char *) "name",(char *) "colour", NULL
33668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33673 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33675 arg2
= wxString_in_helper(obj1
);
33676 if (arg2
== NULL
) SWIG_fail
;
33681 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_Py_Void();
33704 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33705 PyObject
*resultobj
= 0;
33706 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33707 wxString
*arg2
= 0 ;
33713 bool temp2
= false ;
33720 PyObject
* obj0
= 0 ;
33721 PyObject
* obj1
= 0 ;
33722 PyObject
* obj2
= 0 ;
33723 PyObject
* obj3
= 0 ;
33724 PyObject
* obj4
= 0 ;
33725 char * kwnames
[] = {
33726 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33731 if (!SWIG_IsOK(res1
)) {
33732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33734 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33736 arg2
= wxString_in_helper(obj1
);
33737 if (arg2
== NULL
) SWIG_fail
;
33740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33741 if (!SWIG_IsOK(ecode3
)) {
33742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33744 arg3
= static_cast< int >(val3
);
33745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33746 if (!SWIG_IsOK(ecode4
)) {
33747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33749 arg4
= static_cast< int >(val4
);
33750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33751 if (!SWIG_IsOK(ecode5
)) {
33752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33754 arg5
= static_cast< int >(val5
);
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33761 resultobj
= SWIG_Py_Void();
33776 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33779 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33780 return SWIG_Py_Void();
33783 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 return SWIG_Python_InitShadowInstance(args
);
33787 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 PyObject
*resultobj
= 0;
33789 wxFontList
*result
= 0 ;
33791 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (wxFontList
*)_wxPyInitTheFontList();
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33805 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33806 PyObject
*resultobj
= 0;
33807 wxPenList
*result
= 0 ;
33809 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 result
= (wxPenList
*)_wxPyInitThePenList();
33813 wxPyEndAllowThreads(__tstate
);
33814 if (PyErr_Occurred()) SWIG_fail
;
33816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33823 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33824 PyObject
*resultobj
= 0;
33825 wxBrushList
*result
= 0 ;
33827 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33830 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33841 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33842 PyObject
*resultobj
= 0;
33843 wxColourDatabase
*result
= 0 ;
33845 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33859 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33860 PyObject
*resultobj
= 0;
33861 wxEffects
*result
= 0 ;
33863 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33866 result
= (wxEffects
*)new wxEffects();
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33877 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33878 PyObject
*resultobj
= 0;
33879 wxEffects
*arg1
= (wxEffects
*) 0 ;
33883 PyObject
*swig_obj
[1] ;
33885 if (!args
) SWIG_fail
;
33886 swig_obj
[0] = args
;
33887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33891 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33905 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33906 PyObject
*resultobj
= 0;
33907 wxEffects
*arg1
= (wxEffects
*) 0 ;
33911 PyObject
*swig_obj
[1] ;
33913 if (!args
) SWIG_fail
;
33914 swig_obj
[0] = args
;
33915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33916 if (!SWIG_IsOK(res1
)) {
33917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33919 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33922 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33933 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33934 PyObject
*resultobj
= 0;
33935 wxEffects
*arg1
= (wxEffects
*) 0 ;
33939 PyObject
*swig_obj
[1] ;
33941 if (!args
) SWIG_fail
;
33942 swig_obj
[0] = args
;
33943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33947 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33950 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33961 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33962 PyObject
*resultobj
= 0;
33963 wxEffects
*arg1
= (wxEffects
*) 0 ;
33967 PyObject
*swig_obj
[1] ;
33969 if (!args
) SWIG_fail
;
33970 swig_obj
[0] = args
;
33971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33972 if (!SWIG_IsOK(res1
)) {
33973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33975 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33989 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 PyObject
*resultobj
= 0;
33991 wxEffects
*arg1
= (wxEffects
*) 0 ;
33995 PyObject
*swig_obj
[1] ;
33997 if (!args
) SWIG_fail
;
33998 swig_obj
[0] = args
;
33999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
34003 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34017 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34018 PyObject
*resultobj
= 0;
34019 wxEffects
*arg1
= (wxEffects
*) 0 ;
34020 wxColour
*arg2
= 0 ;
34024 PyObject
* obj0
= 0 ;
34025 PyObject
* obj1
= 0 ;
34026 char * kwnames
[] = {
34027 (char *) "self",(char *) "c", NULL
34030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34035 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34038 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34042 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= SWIG_Py_Void();
34053 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
= 0;
34055 wxEffects
*arg1
= (wxEffects
*) 0 ;
34056 wxColour
*arg2
= 0 ;
34060 PyObject
* obj0
= 0 ;
34061 PyObject
* obj1
= 0 ;
34062 char * kwnames
[] = {
34063 (char *) "self",(char *) "c", NULL
34066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34071 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34089 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
= 0;
34091 wxEffects
*arg1
= (wxEffects
*) 0 ;
34092 wxColour
*arg2
= 0 ;
34096 PyObject
* obj0
= 0 ;
34097 PyObject
* obj1
= 0 ;
34098 char * kwnames
[] = {
34099 (char *) "self",(char *) "c", NULL
34102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34107 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34110 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_Py_Void();
34125 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxEffects
*arg1
= (wxEffects
*) 0 ;
34128 wxColour
*arg2
= 0 ;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 char * kwnames
[] = {
34135 (char *) "self",(char *) "c", NULL
34138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34140 if (!SWIG_IsOK(res1
)) {
34141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34143 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34146 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_Py_Void();
34161 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
= 0;
34163 wxEffects
*arg1
= (wxEffects
*) 0 ;
34164 wxColour
*arg2
= 0 ;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 char * kwnames
[] = {
34171 (char *) "self",(char *) "c", NULL
34174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34176 if (!SWIG_IsOK(res1
)) {
34177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34179 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_Py_Void();
34197 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxEffects
*arg1
= (wxEffects
*) 0 ;
34200 wxColour
*arg2
= 0 ;
34201 wxColour
*arg3
= 0 ;
34202 wxColour
*arg4
= 0 ;
34203 wxColour
*arg5
= 0 ;
34204 wxColour
*arg6
= 0 ;
34212 PyObject
* obj0
= 0 ;
34213 PyObject
* obj1
= 0 ;
34214 PyObject
* obj2
= 0 ;
34215 PyObject
* obj3
= 0 ;
34216 PyObject
* obj4
= 0 ;
34217 PyObject
* obj5
= 0 ;
34218 char * kwnames
[] = {
34219 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34227 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34230 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34234 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34238 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34242 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34246 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= SWIG_Py_Void();
34261 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
= 0;
34263 wxEffects
*arg1
= (wxEffects
*) 0 ;
34266 int arg4
= (int) 1 ;
34274 PyObject
* obj0
= 0 ;
34275 PyObject
* obj1
= 0 ;
34276 PyObject
* obj2
= 0 ;
34277 PyObject
* obj3
= 0 ;
34278 char * kwnames
[] = {
34279 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34284 if (!SWIG_IsOK(res1
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34287 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34289 if (!SWIG_IsOK(res2
)) {
34290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34295 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34298 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34302 if (!SWIG_IsOK(ecode4
)) {
34303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34305 arg4
= static_cast< int >(val4
);
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 resultobj
= SWIG_Py_Void();
34320 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
= 0;
34322 wxEffects
*arg1
= (wxEffects
*) 0 ;
34325 wxBitmap
*arg4
= 0 ;
34334 PyObject
* obj0
= 0 ;
34335 PyObject
* obj1
= 0 ;
34336 PyObject
* obj2
= 0 ;
34337 PyObject
* obj3
= 0 ;
34338 char * kwnames
[] = {
34339 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34344 if (!SWIG_IsOK(res1
)) {
34345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34347 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34350 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34352 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34353 if (!SWIG_IsOK(res3
)) {
34354 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34359 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34360 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34361 if (!SWIG_IsOK(res4
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34367 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34371 wxPyEndAllowThreads(__tstate
);
34372 if (PyErr_Occurred()) SWIG_fail
;
34375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34383 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34386 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34387 return SWIG_Py_Void();
34390 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34391 return SWIG_Python_InitShadowInstance(args
);
34394 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
= 0;
34399 wxSplitterRenderParams
*result
= 0 ;
34406 PyObject
* obj0
= 0 ;
34407 PyObject
* obj1
= 0 ;
34408 PyObject
* obj2
= 0 ;
34409 char * kwnames
[] = {
34410 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34415 if (!SWIG_IsOK(ecode1
)) {
34416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34418 arg1
= static_cast< int >(val1
);
34419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34420 if (!SWIG_IsOK(ecode2
)) {
34421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34423 arg2
= static_cast< int >(val2
);
34424 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34425 if (!SWIG_IsOK(ecode3
)) {
34426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34428 arg3
= static_cast< bool >(val3
);
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34442 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34443 PyObject
*resultobj
= 0;
34444 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34447 PyObject
*swig_obj
[1] ;
34449 if (!args
) SWIG_fail
;
34450 swig_obj
[0] = args
;
34451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34452 if (!SWIG_IsOK(res1
)) {
34453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34455 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 wxPyEndAllowThreads(__tstate
);
34461 if (PyErr_Occurred()) SWIG_fail
;
34463 resultobj
= SWIG_Py_Void();
34470 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34471 PyObject
*resultobj
= 0;
34472 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34476 PyObject
*swig_obj
[1] ;
34478 if (!args
) SWIG_fail
;
34479 swig_obj
[0] = args
;
34480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34481 if (!SWIG_IsOK(res1
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34484 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34485 result
= (int)(int) ((arg1
)->widthSash
);
34486 resultobj
= SWIG_From_int(static_cast< int >(result
));
34493 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34494 PyObject
*resultobj
= 0;
34495 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34499 PyObject
*swig_obj
[1] ;
34501 if (!args
) SWIG_fail
;
34502 swig_obj
[0] = args
;
34503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34504 if (!SWIG_IsOK(res1
)) {
34505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34507 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34508 result
= (int)(int) ((arg1
)->border
);
34509 resultobj
= SWIG_From_int(static_cast< int >(result
));
34516 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34517 PyObject
*resultobj
= 0;
34518 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34522 PyObject
*swig_obj
[1] ;
34524 if (!args
) SWIG_fail
;
34525 swig_obj
[0] = args
;
34526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34530 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34531 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34532 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34539 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34542 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34543 return SWIG_Py_Void();
34546 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34547 return SWIG_Python_InitShadowInstance(args
);
34550 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34551 PyObject
*resultobj
= 0;
34552 wxHeaderButtonParams
*result
= 0 ;
34554 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34568 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34569 PyObject
*resultobj
= 0;
34570 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34573 PyObject
*swig_obj
[1] ;
34575 if (!args
) SWIG_fail
;
34576 swig_obj
[0] = args
;
34577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34581 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34589 resultobj
= SWIG_Py_Void();
34596 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34597 PyObject
*resultobj
= 0;
34598 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34599 wxColour
*arg2
= (wxColour
*) 0 ;
34603 PyObject
*swig_obj
[2] ;
34605 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34607 if (!SWIG_IsOK(res1
)) {
34608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34610 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34613 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34615 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34617 resultobj
= SWIG_Py_Void();
34624 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34625 PyObject
*resultobj
= 0;
34626 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34627 wxColour
*result
= 0 ;
34630 PyObject
*swig_obj
[1] ;
34632 if (!args
) SWIG_fail
;
34633 swig_obj
[0] = args
;
34634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34635 if (!SWIG_IsOK(res1
)) {
34636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34638 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34639 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34647 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34648 PyObject
*resultobj
= 0;
34649 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34650 wxColour
*arg2
= (wxColour
*) 0 ;
34654 PyObject
*swig_obj
[2] ;
34656 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34658 if (!SWIG_IsOK(res1
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34661 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34664 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34666 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34668 resultobj
= SWIG_Py_Void();
34675 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34676 PyObject
*resultobj
= 0;
34677 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34678 wxColour
*result
= 0 ;
34681 PyObject
*swig_obj
[1] ;
34683 if (!args
) SWIG_fail
;
34684 swig_obj
[0] = args
;
34685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34686 if (!SWIG_IsOK(res1
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34689 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34690 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34698 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34699 PyObject
*resultobj
= 0;
34700 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34701 wxString
*arg2
= (wxString
*) 0 ;
34704 bool temp2
= false ;
34705 PyObject
*swig_obj
[2] ;
34707 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34712 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34714 arg2
= wxString_in_helper(swig_obj
[1]);
34715 if (arg2
== NULL
) SWIG_fail
;
34718 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34720 resultobj
= SWIG_Py_Void();
34735 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34736 PyObject
*resultobj
= 0;
34737 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34738 wxString
*result
= 0 ;
34741 PyObject
*swig_obj
[1] ;
34743 if (!args
) SWIG_fail
;
34744 swig_obj
[0] = args
;
34745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34746 if (!SWIG_IsOK(res1
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34749 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34750 result
= (wxString
*)& ((arg1
)->m_labelText
);
34753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34764 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34765 PyObject
*resultobj
= 0;
34766 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34767 wxFont
*arg2
= (wxFont
*) 0 ;
34772 PyObject
*swig_obj
[2] ;
34774 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34776 if (!SWIG_IsOK(res1
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34779 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34780 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34781 if (!SWIG_IsOK(res2
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34784 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34785 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34787 resultobj
= SWIG_Py_Void();
34794 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34795 PyObject
*resultobj
= 0;
34796 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34797 wxFont
*result
= 0 ;
34800 PyObject
*swig_obj
[1] ;
34802 if (!args
) SWIG_fail
;
34803 swig_obj
[0] = args
;
34804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34805 if (!SWIG_IsOK(res1
)) {
34806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34808 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34809 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34817 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34818 PyObject
*resultobj
= 0;
34819 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34820 wxColour
*arg2
= (wxColour
*) 0 ;
34824 PyObject
*swig_obj
[2] ;
34826 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34828 if (!SWIG_IsOK(res1
)) {
34829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34831 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34834 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34836 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34838 resultobj
= SWIG_Py_Void();
34845 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34846 PyObject
*resultobj
= 0;
34847 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34848 wxColour
*result
= 0 ;
34851 PyObject
*swig_obj
[1] ;
34853 if (!args
) SWIG_fail
;
34854 swig_obj
[0] = args
;
34855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34856 if (!SWIG_IsOK(res1
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34859 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34860 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34868 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34869 PyObject
*resultobj
= 0;
34870 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34871 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34876 PyObject
*swig_obj
[2] ;
34878 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34883 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34884 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34885 if (!SWIG_IsOK(res2
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34888 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34889 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34891 resultobj
= SWIG_Py_Void();
34898 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34899 PyObject
*resultobj
= 0;
34900 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34901 wxBitmap
*result
= 0 ;
34904 PyObject
*swig_obj
[1] ;
34906 if (!args
) SWIG_fail
;
34907 swig_obj
[0] = args
;
34908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34909 if (!SWIG_IsOK(res1
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34912 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34913 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34921 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34922 PyObject
*resultobj
= 0;
34923 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34929 PyObject
*swig_obj
[2] ;
34931 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34933 if (!SWIG_IsOK(res1
)) {
34934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34936 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34938 if (!SWIG_IsOK(ecode2
)) {
34939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34941 arg2
= static_cast< int >(val2
);
34942 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34944 resultobj
= SWIG_Py_Void();
34951 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34952 PyObject
*resultobj
= 0;
34953 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34957 PyObject
*swig_obj
[1] ;
34959 if (!args
) SWIG_fail
;
34960 swig_obj
[0] = args
;
34961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34962 if (!SWIG_IsOK(res1
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34965 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34966 result
= (int) ((arg1
)->m_labelAlignment
);
34967 resultobj
= SWIG_From_int(static_cast< int >(result
));
34974 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34977 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34978 return SWIG_Py_Void();
34981 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34982 return SWIG_Python_InitShadowInstance(args
);
34985 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
= 0;
34989 wxRendererVersion
*result
= 0 ;
34994 PyObject
* obj0
= 0 ;
34995 PyObject
* obj1
= 0 ;
34996 char * kwnames
[] = {
34997 (char *) "version_",(char *) "age_", NULL
35000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35002 if (!SWIG_IsOK(ecode1
)) {
35003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
35005 arg1
= static_cast< int >(val1
);
35006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35007 if (!SWIG_IsOK(ecode2
)) {
35008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
35010 arg2
= static_cast< int >(val2
);
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
35014 wxPyEndAllowThreads(__tstate
);
35015 if (PyErr_Occurred()) SWIG_fail
;
35017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
35024 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35025 PyObject
*resultobj
= 0;
35026 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35029 PyObject
*swig_obj
[1] ;
35031 if (!args
) SWIG_fail
;
35032 swig_obj
[0] = args
;
35033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
35034 if (!SWIG_IsOK(res1
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35037 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 resultobj
= SWIG_Py_Void();
35052 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35053 PyObject
*resultobj
= 0;
35054 wxRendererVersion
*arg1
= 0 ;
35058 PyObject
* obj0
= 0 ;
35059 char * kwnames
[] = {
35060 (char *) "ver", NULL
35063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35064 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35065 if (!SWIG_IsOK(res1
)) {
35066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35071 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35087 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35088 PyObject
*resultobj
= 0;
35089 wxRendererVersion
*arg1
= (wxRendererVersion
*) 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_wxRendererVersion
, 0 | 0 );
35098 if (!SWIG_IsOK(res1
)) {
35099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35101 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35102 result
= (int)(int) ((arg1
)->version
);
35103 resultobj
= SWIG_From_int(static_cast< int >(result
));
35110 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35111 PyObject
*resultobj
= 0;
35112 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35116 PyObject
*swig_obj
[1] ;
35118 if (!args
) SWIG_fail
;
35119 swig_obj
[0] = args
;
35120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35121 if (!SWIG_IsOK(res1
)) {
35122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35124 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35125 result
= (int)(int) ((arg1
)->age
);
35126 resultobj
= SWIG_From_int(static_cast< int >(result
));
35133 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35136 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35137 return SWIG_Py_Void();
35140 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35141 return SWIG_Python_InitShadowInstance(args
);
35144 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35145 PyObject
*resultobj
= 0;
35146 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35147 wxWindow
*arg2
= (wxWindow
*) 0 ;
35150 int arg5
= (int) 0 ;
35151 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35152 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 PyObject
* obj2
= 0 ;
35170 PyObject
* obj3
= 0 ;
35171 PyObject
* obj4
= 0 ;
35172 PyObject
* obj5
= 0 ;
35173 PyObject
* obj6
= 0 ;
35174 char * kwnames
[] = {
35175 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35180 if (!SWIG_IsOK(res1
)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35183 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35185 if (!SWIG_IsOK(res2
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35189 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35190 if (!SWIG_IsOK(res3
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35196 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35199 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35203 if (!SWIG_IsOK(ecode5
)) {
35204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35206 arg5
= static_cast< int >(val5
);
35209 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35210 if (!SWIG_IsOK(ecode6
)) {
35211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35213 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35216 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35217 if (!SWIG_IsOK(res7
)) {
35218 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35220 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35225 wxPyEndAllowThreads(__tstate
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35228 resultobj
= SWIG_From_int(static_cast< int >(result
));
35235 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35236 PyObject
*resultobj
= 0;
35237 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35238 wxWindow
*arg2
= (wxWindow
*) 0 ;
35241 int arg5
= (int) 0 ;
35242 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35243 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35258 PyObject
* obj0
= 0 ;
35259 PyObject
* obj1
= 0 ;
35260 PyObject
* obj2
= 0 ;
35261 PyObject
* obj3
= 0 ;
35262 PyObject
* obj4
= 0 ;
35263 PyObject
* obj5
= 0 ;
35264 PyObject
* obj6
= 0 ;
35265 char * kwnames
[] = {
35266 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35271 if (!SWIG_IsOK(res1
)) {
35272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35274 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35276 if (!SWIG_IsOK(res2
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35280 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35281 if (!SWIG_IsOK(res3
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35287 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35290 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35293 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35294 if (!SWIG_IsOK(ecode5
)) {
35295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35297 arg5
= static_cast< int >(val5
);
35300 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35301 if (!SWIG_IsOK(ecode6
)) {
35302 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35304 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35307 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35308 if (!SWIG_IsOK(res7
)) {
35309 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35311 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= SWIG_From_int(static_cast< int >(result
));
35326 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
= 0;
35328 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35329 wxWindow
*arg2
= (wxWindow
*) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 char * kwnames
[] = {
35338 (char *) "self",(char *) "win", NULL
35341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35343 if (!SWIG_IsOK(res1
)) {
35344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35346 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35348 if (!SWIG_IsOK(res2
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_From_int(static_cast< int >(result
));
35365 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
= 0;
35367 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35368 wxWindow
*arg2
= (wxWindow
*) 0 ;
35371 int arg5
= (int) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 PyObject
* obj2
= 0 ;
35384 PyObject
* obj3
= 0 ;
35385 PyObject
* obj4
= 0 ;
35386 char * kwnames
[] = {
35387 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35392 if (!SWIG_IsOK(res1
)) {
35393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35395 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35397 if (!SWIG_IsOK(res2
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35400 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35402 if (!SWIG_IsOK(res3
)) {
35403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35408 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35411 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35415 if (!SWIG_IsOK(ecode5
)) {
35416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35418 arg5
= static_cast< int >(val5
);
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= SWIG_Py_Void();
35433 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
= 0;
35435 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35436 wxWindow
*arg2
= (wxWindow
*) 0 ;
35439 int arg5
= (int) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 PyObject
* obj1
= 0 ;
35451 PyObject
* obj2
= 0 ;
35452 PyObject
* obj3
= 0 ;
35453 PyObject
* obj4
= 0 ;
35454 char * kwnames
[] = {
35455 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', 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_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35486 arg5
= static_cast< int >(val5
);
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= SWIG_Py_Void();
35501 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35502 PyObject
*resultobj
= 0;
35503 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35504 wxWindow
*arg2
= (wxWindow
*) 0 ;
35508 wxOrientation arg6
;
35509 int arg7
= (int) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 PyObject
* obj2
= 0 ;
35526 PyObject
* obj3
= 0 ;
35527 PyObject
* obj4
= 0 ;
35528 PyObject
* obj5
= 0 ;
35529 PyObject
* obj6
= 0 ;
35530 char * kwnames
[] = {
35531 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35536 if (!SWIG_IsOK(res1
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35539 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35541 if (!SWIG_IsOK(res2
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35545 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35546 if (!SWIG_IsOK(res3
)) {
35547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35552 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35555 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35558 if (!SWIG_IsOK(ecode5
)) {
35559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35561 arg5
= static_cast< int >(val5
);
35562 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35563 if (!SWIG_IsOK(ecode6
)) {
35564 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35566 arg6
= static_cast< wxOrientation
>(val6
);
35568 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35569 if (!SWIG_IsOK(ecode7
)) {
35570 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35572 arg7
= static_cast< int >(val7
);
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= SWIG_Py_Void();
35587 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
= 0;
35589 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35590 wxWindow
*arg2
= (wxWindow
*) 0 ;
35593 int arg5
= (int) 0 ;
35603 PyObject
* obj0
= 0 ;
35604 PyObject
* obj1
= 0 ;
35605 PyObject
* obj2
= 0 ;
35606 PyObject
* obj3
= 0 ;
35607 PyObject
* obj4
= 0 ;
35608 char * kwnames
[] = {
35609 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35617 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35619 if (!SWIG_IsOK(res2
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35623 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35624 if (!SWIG_IsOK(res3
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35630 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35633 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35636 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35637 if (!SWIG_IsOK(ecode5
)) {
35638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35640 arg5
= static_cast< int >(val5
);
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= SWIG_Py_Void();
35655 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35656 PyObject
*resultobj
= 0;
35657 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35658 wxWindow
*arg2
= (wxWindow
*) 0 ;
35661 int arg5
= (int) 0 ;
35671 PyObject
* obj0
= 0 ;
35672 PyObject
* obj1
= 0 ;
35673 PyObject
* obj2
= 0 ;
35674 PyObject
* obj3
= 0 ;
35675 PyObject
* obj4
= 0 ;
35676 char * kwnames
[] = {
35677 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35682 if (!SWIG_IsOK(res1
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35685 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35687 if (!SWIG_IsOK(res2
)) {
35688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35691 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35692 if (!SWIG_IsOK(res3
)) {
35693 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35698 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35701 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35705 if (!SWIG_IsOK(ecode5
)) {
35706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35708 arg5
= static_cast< int >(val5
);
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35713 wxPyEndAllowThreads(__tstate
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 resultobj
= SWIG_Py_Void();
35723 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35724 PyObject
*resultobj
= 0;
35725 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35726 wxWindow
*arg2
= (wxWindow
*) 0 ;
35729 int arg5
= (int) 0 ;
35739 PyObject
* obj0
= 0 ;
35740 PyObject
* obj1
= 0 ;
35741 PyObject
* obj2
= 0 ;
35742 PyObject
* obj3
= 0 ;
35743 PyObject
* obj4
= 0 ;
35744 char * kwnames
[] = {
35745 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35750 if (!SWIG_IsOK(res1
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35753 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35755 if (!SWIG_IsOK(res2
)) {
35756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35758 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35759 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35760 if (!SWIG_IsOK(res3
)) {
35761 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35766 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35769 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35772 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35773 if (!SWIG_IsOK(ecode5
)) {
35774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35776 arg5
= static_cast< int >(val5
);
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35784 resultobj
= SWIG_Py_Void();
35791 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35792 PyObject
*resultobj
= 0;
35793 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35794 wxWindow
*arg2
= (wxWindow
*) 0 ;
35797 int arg5
= (int) 0 ;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 PyObject
* obj2
= 0 ;
35810 PyObject
* obj3
= 0 ;
35811 PyObject
* obj4
= 0 ;
35812 char * kwnames
[] = {
35813 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35818 if (!SWIG_IsOK(res1
)) {
35819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35821 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35823 if (!SWIG_IsOK(res2
)) {
35824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35828 if (!SWIG_IsOK(res3
)) {
35829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35834 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35837 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35841 if (!SWIG_IsOK(ecode5
)) {
35842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35844 arg5
= static_cast< int >(val5
);
35847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35848 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 resultobj
= SWIG_Py_Void();
35859 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
= 0;
35861 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35862 wxWindow
*arg2
= (wxWindow
*) 0 ;
35865 int arg5
= (int) 0 ;
35875 PyObject
* obj0
= 0 ;
35876 PyObject
* obj1
= 0 ;
35877 PyObject
* obj2
= 0 ;
35878 PyObject
* obj3
= 0 ;
35879 PyObject
* obj4
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35889 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35891 if (!SWIG_IsOK(res2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35895 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35896 if (!SWIG_IsOK(res3
)) {
35897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35902 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35905 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35908 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35909 if (!SWIG_IsOK(ecode5
)) {
35910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35912 arg5
= static_cast< int >(val5
);
35915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35916 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= SWIG_Py_Void();
35927 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35928 PyObject
*resultobj
= 0;
35929 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35930 wxWindow
*arg2
= (wxWindow
*) 0 ;
35931 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35936 PyObject
* obj0
= 0 ;
35937 PyObject
* obj1
= 0 ;
35938 char * kwnames
[] = {
35939 (char *) "self",(char *) "win", NULL
35942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35944 if (!SWIG_IsOK(res1
)) {
35945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35947 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35949 if (!SWIG_IsOK(res2
)) {
35950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35952 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35966 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxRendererNative
*result
= 0 ;
35970 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35972 if (!wxPyCheckForApp()) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35976 result
= (wxRendererNative
*) &_result_ref
;
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35988 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35989 PyObject
*resultobj
= 0;
35990 wxRendererNative
*result
= 0 ;
35992 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35994 if (!wxPyCheckForApp()) SWIG_fail
;
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35998 result
= (wxRendererNative
*) &_result_ref
;
36000 wxPyEndAllowThreads(__tstate
);
36001 if (PyErr_Occurred()) SWIG_fail
;
36003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36010 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36011 PyObject
*resultobj
= 0;
36012 wxRendererNative
*result
= 0 ;
36014 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
36016 if (!wxPyCheckForApp()) SWIG_fail
;
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36019 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
36020 result
= (wxRendererNative
*) &_result_ref
;
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36032 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
= 0;
36034 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36035 wxRendererNative
*result
= 0 ;
36038 PyObject
* obj0
= 0 ;
36039 char * kwnames
[] = {
36040 (char *) "renderer", NULL
36043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
36044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36045 if (!SWIG_IsOK(res1
)) {
36046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36048 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36050 if (!wxPyCheckForApp()) SWIG_fail
;
36051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36052 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36053 wxPyEndAllowThreads(__tstate
);
36054 if (PyErr_Occurred()) SWIG_fail
;
36056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36063 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36064 PyObject
*resultobj
= 0;
36065 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36066 SwigValueWrapper
<wxRendererVersion
> result
;
36069 PyObject
*swig_obj
[1] ;
36071 if (!args
) SWIG_fail
;
36072 swig_obj
[0] = args
;
36073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36074 if (!SWIG_IsOK(res1
)) {
36075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36077 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36084 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36091 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36094 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36095 return SWIG_Py_Void();
36098 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36099 PyObject
*resultobj
= 0;
36100 wxPseudoDC
*result
= 0 ;
36102 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36105 result
= (wxPseudoDC
*)new wxPseudoDC();
36106 wxPyEndAllowThreads(__tstate
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36116 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36117 PyObject
*resultobj
= 0;
36118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36121 PyObject
*swig_obj
[1] ;
36123 if (!args
) SWIG_fail
;
36124 swig_obj
[0] = args
;
36125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36126 if (!SWIG_IsOK(res1
)) {
36127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->BeginDrawing();
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 resultobj
= SWIG_Py_Void();
36143 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36144 PyObject
*resultobj
= 0;
36145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36148 PyObject
*swig_obj
[1] ;
36150 if (!args
) SWIG_fail
;
36151 swig_obj
[0] = args
;
36152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36153 if (!SWIG_IsOK(res1
)) {
36154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36156 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 (arg1
)->EndDrawing();
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_Py_Void();
36170 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36171 PyObject
*resultobj
= 0;
36172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36175 PyObject
*swig_obj
[1] ;
36177 if (!args
) SWIG_fail
;
36178 swig_obj
[0] = args
;
36179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36180 if (!SWIG_IsOK(res1
)) {
36181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36183 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36188 wxPyEndAllowThreads(__tstate
);
36189 if (PyErr_Occurred()) SWIG_fail
;
36191 resultobj
= SWIG_Py_Void();
36198 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36199 PyObject
*resultobj
= 0;
36200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36203 PyObject
*swig_obj
[1] ;
36205 if (!args
) SWIG_fail
;
36206 swig_obj
[0] = args
;
36207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36208 if (!SWIG_IsOK(res1
)) {
36209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 (arg1
)->RemoveAll();
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36218 resultobj
= SWIG_Py_Void();
36225 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36226 PyObject
*resultobj
= 0;
36227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36231 PyObject
*swig_obj
[1] ;
36233 if (!args
) SWIG_fail
;
36234 swig_obj
[0] = args
;
36235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36236 if (!SWIG_IsOK(res1
)) {
36237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 result
= (int)(arg1
)->GetLen();
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 resultobj
= SWIG_From_int(static_cast< int >(result
));
36253 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
= 0;
36255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36261 PyObject
* obj0
= 0 ;
36262 PyObject
* obj1
= 0 ;
36263 char * kwnames
[] = {
36264 (char *) "self",(char *) "id", NULL
36267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36269 if (!SWIG_IsOK(res1
)) {
36270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36274 if (!SWIG_IsOK(ecode2
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36277 arg2
= static_cast< int >(val2
);
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 (arg1
)->SetId(arg2
);
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 resultobj
= SWIG_Py_Void();
36291 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36292 PyObject
*resultobj
= 0;
36293 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36299 PyObject
* obj0
= 0 ;
36300 PyObject
* obj1
= 0 ;
36301 char * kwnames
[] = {
36302 (char *) "self",(char *) "id", NULL
36305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36307 if (!SWIG_IsOK(res1
)) {
36308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36312 if (!SWIG_IsOK(ecode2
)) {
36313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36315 arg2
= static_cast< int >(val2
);
36317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36318 (arg1
)->ClearId(arg2
);
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36322 resultobj
= SWIG_Py_Void();
36329 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36330 PyObject
*resultobj
= 0;
36331 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 PyObject
* obj1
= 0 ;
36339 char * kwnames
[] = {
36340 (char *) "self",(char *) "id", NULL
36343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36345 if (!SWIG_IsOK(res1
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36350 if (!SWIG_IsOK(ecode2
)) {
36351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36353 arg2
= static_cast< int >(val2
);
36355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36356 (arg1
)->RemoveId(arg2
);
36357 wxPyEndAllowThreads(__tstate
);
36358 if (PyErr_Occurred()) SWIG_fail
;
36360 resultobj
= SWIG_Py_Void();
36367 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36368 PyObject
*resultobj
= 0;
36369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36381 PyObject
* obj0
= 0 ;
36382 PyObject
* obj1
= 0 ;
36383 PyObject
* obj2
= 0 ;
36384 PyObject
* obj3
= 0 ;
36385 char * kwnames
[] = {
36386 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36391 if (!SWIG_IsOK(res1
)) {
36392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36396 if (!SWIG_IsOK(ecode2
)) {
36397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36399 arg2
= static_cast< int >(val2
);
36400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36401 if (!SWIG_IsOK(ecode3
)) {
36402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36404 arg3
= static_cast< int >(val3
);
36405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36406 if (!SWIG_IsOK(ecode4
)) {
36407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36409 arg4
= static_cast< int >(val4
);
36411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36412 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36413 wxPyEndAllowThreads(__tstate
);
36414 if (PyErr_Occurred()) SWIG_fail
;
36416 resultobj
= SWIG_Py_Void();
36423 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36424 PyObject
*resultobj
= 0;
36425 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36427 bool arg3
= (bool) true ;
36434 PyObject
* obj0
= 0 ;
36435 PyObject
* obj1
= 0 ;
36436 PyObject
* obj2
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "self",(char *) "id",(char *) "greyout", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36443 if (!SWIG_IsOK(res1
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36448 if (!SWIG_IsOK(ecode2
)) {
36449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36451 arg2
= static_cast< int >(val2
);
36453 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36454 if (!SWIG_IsOK(ecode3
)) {
36455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36457 arg3
= static_cast< bool >(val3
);
36460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36461 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36462 wxPyEndAllowThreads(__tstate
);
36463 if (PyErr_Occurred()) SWIG_fail
;
36465 resultobj
= SWIG_Py_Void();
36472 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36473 PyObject
*resultobj
= 0;
36474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36481 PyObject
* obj0
= 0 ;
36482 PyObject
* obj1
= 0 ;
36483 char * kwnames
[] = {
36484 (char *) "self",(char *) "id", NULL
36487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36489 if (!SWIG_IsOK(res1
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36494 if (!SWIG_IsOK(ecode2
)) {
36495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36497 arg2
= static_cast< int >(val2
);
36499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36500 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36501 wxPyEndAllowThreads(__tstate
);
36502 if (PyErr_Occurred()) SWIG_fail
;
36505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36513 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
= 0;
36515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36518 int arg4
= (int) 1 ;
36519 wxColour
const &arg5_defvalue
= *wxWHITE
;
36520 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
36521 PyObject
*result
= 0 ;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 PyObject
* obj2
= 0 ;
36534 PyObject
* obj3
= 0 ;
36535 PyObject
* obj4
= 0 ;
36536 char * kwnames
[] = {
36537 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36542 if (!SWIG_IsOK(res1
)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36547 if (!SWIG_IsOK(ecode2
)) {
36548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36550 arg2
= static_cast< int >(val2
);
36551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36552 if (!SWIG_IsOK(ecode3
)) {
36553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36555 arg3
= static_cast< int >(val3
);
36557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36558 if (!SWIG_IsOK(ecode4
)) {
36559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36561 arg4
= static_cast< int >(val4
);
36566 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36570 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36571 if (PyErr_Occurred()) SWIG_fail
;
36573 resultobj
= result
;
36580 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36581 PyObject
*resultobj
= 0;
36582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36585 PyObject
*result
= 0 ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "x",(char *) "y", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36606 if (!SWIG_IsOK(ecode2
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36609 arg2
= static_cast< int >(val2
);
36610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36611 if (!SWIG_IsOK(ecode3
)) {
36612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36614 arg3
= static_cast< int >(val3
);
36616 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36617 if (PyErr_Occurred()) SWIG_fail
;
36619 resultobj
= result
;
36626 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36627 PyObject
*resultobj
= 0;
36628 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36630 wxDC
*arg3
= (wxDC
*) 0 ;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 PyObject
* obj2
= 0 ;
36640 char * kwnames
[] = {
36641 (char *) "self",(char *) "id",(char *) "dc", NULL
36644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36646 if (!SWIG_IsOK(res1
)) {
36647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36651 if (!SWIG_IsOK(ecode2
)) {
36652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36654 arg2
= static_cast< int >(val2
);
36655 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36656 if (!SWIG_IsOK(res3
)) {
36657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36659 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->DrawIdToDC(arg2
,arg3
);
36663 wxPyEndAllowThreads(__tstate
);
36664 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= SWIG_Py_Void();
36673 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36674 PyObject
*resultobj
= 0;
36675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 PyObject
* obj2
= 0 ;
36686 char * kwnames
[] = {
36687 (char *) "self",(char *) "id",(char *) "rect", NULL
36690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36692 if (!SWIG_IsOK(res1
)) {
36693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36695 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36697 if (!SWIG_IsOK(ecode2
)) {
36698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36700 arg2
= static_cast< int >(val2
);
36703 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 (arg1
)->SetIdBounds(arg2
,*arg3
);
36708 wxPyEndAllowThreads(__tstate
);
36709 if (PyErr_Occurred()) SWIG_fail
;
36711 resultobj
= SWIG_Py_Void();
36718 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36719 PyObject
*resultobj
= 0;
36720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 char * kwnames
[] = {
36730 (char *) "self",(char *) "id", NULL
36733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36735 if (!SWIG_IsOK(res1
)) {
36736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36740 if (!SWIG_IsOK(ecode2
)) {
36741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36743 arg2
= static_cast< int >(val2
);
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
= 0;
36759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36760 wxDC
*arg2
= (wxDC
*) 0 ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 PyObject
* obj2
= 0 ;
36770 char * kwnames
[] = {
36771 (char *) "self",(char *) "dc",(char *) "rect", NULL
36774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36776 if (!SWIG_IsOK(res1
)) {
36777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36779 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36781 if (!SWIG_IsOK(res2
)) {
36782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36784 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36787 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36792 wxPyEndAllowThreads(__tstate
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36795 resultobj
= SWIG_Py_Void();
36802 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36803 PyObject
*resultobj
= 0;
36804 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36805 wxDC
*arg2
= (wxDC
*) 0 ;
36806 wxRegion
*arg3
= 0 ;
36813 PyObject
* obj0
= 0 ;
36814 PyObject
* obj1
= 0 ;
36815 PyObject
* obj2
= 0 ;
36816 char * kwnames
[] = {
36817 (char *) "self",(char *) "dc",(char *) "region", NULL
36820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36822 if (!SWIG_IsOK(res1
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36827 if (!SWIG_IsOK(res2
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36830 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36831 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36832 if (!SWIG_IsOK(res3
)) {
36833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36838 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36855 wxDC
*arg2
= (wxDC
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 char * kwnames
[] = {
36863 (char *) "self",(char *) "dc", NULL
36866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36868 if (!SWIG_IsOK(res1
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36871 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36873 if (!SWIG_IsOK(res2
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36876 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36879 (arg1
)->DrawToDC(arg2
);
36880 wxPyEndAllowThreads(__tstate
);
36881 if (PyErr_Occurred()) SWIG_fail
;
36883 resultobj
= SWIG_Py_Void();
36890 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
= 0;
36892 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36895 wxColour
*arg4
= 0 ;
36896 int arg5
= (int) wxFLOOD_SURFACE
;
36906 PyObject
* obj0
= 0 ;
36907 PyObject
* obj1
= 0 ;
36908 PyObject
* obj2
= 0 ;
36909 PyObject
* obj3
= 0 ;
36910 PyObject
* obj4
= 0 ;
36911 char * kwnames
[] = {
36912 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36917 if (!SWIG_IsOK(res1
)) {
36918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36922 if (!SWIG_IsOK(ecode2
)) {
36923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36925 arg2
= static_cast< int >(val2
);
36926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36927 if (!SWIG_IsOK(ecode3
)) {
36928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36930 arg3
= static_cast< int >(val3
);
36933 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36936 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36937 if (!SWIG_IsOK(ecode5
)) {
36938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36940 arg5
= static_cast< int >(val5
);
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= SWIG_Py_Void();
36955 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36958 wxPoint
*arg2
= 0 ;
36959 wxColour
*arg3
= 0 ;
36960 int arg4
= (int) wxFLOOD_SURFACE
;
36967 PyObject
* obj0
= 0 ;
36968 PyObject
* obj1
= 0 ;
36969 PyObject
* obj2
= 0 ;
36970 PyObject
* obj3
= 0 ;
36971 char * kwnames
[] = {
36972 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36977 if (!SWIG_IsOK(res1
)) {
36978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36987 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36991 if (!SWIG_IsOK(ecode4
)) {
36992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36994 arg4
= static_cast< int >(val4
);
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_Py_Void();
37009 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37010 PyObject
*resultobj
= 0;
37011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37026 PyObject
* obj0
= 0 ;
37027 PyObject
* obj1
= 0 ;
37028 PyObject
* obj2
= 0 ;
37029 PyObject
* obj3
= 0 ;
37030 PyObject
* obj4
= 0 ;
37031 char * kwnames
[] = {
37032 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
37035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37037 if (!SWIG_IsOK(res1
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37042 if (!SWIG_IsOK(ecode2
)) {
37043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37045 arg2
= static_cast< int >(val2
);
37046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37047 if (!SWIG_IsOK(ecode3
)) {
37048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37050 arg3
= static_cast< int >(val3
);
37051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37052 if (!SWIG_IsOK(ecode4
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37055 arg4
= static_cast< int >(val4
);
37056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37057 if (!SWIG_IsOK(ecode5
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37060 arg5
= static_cast< int >(val5
);
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= SWIG_Py_Void();
37074 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
= 0;
37076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37077 wxPoint
*arg2
= 0 ;
37078 wxPoint
*arg3
= 0 ;
37083 PyObject
* obj0
= 0 ;
37084 PyObject
* obj1
= 0 ;
37085 PyObject
* obj2
= 0 ;
37086 char * kwnames
[] = {
37087 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37092 if (!SWIG_IsOK(res1
)) {
37093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37102 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37110 resultobj
= SWIG_Py_Void();
37117 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37118 PyObject
*resultobj
= 0;
37119 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37128 PyObject
* obj0
= 0 ;
37129 PyObject
* obj1
= 0 ;
37130 PyObject
* obj2
= 0 ;
37131 char * kwnames
[] = {
37132 (char *) "self",(char *) "x",(char *) "y", NULL
37135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37137 if (!SWIG_IsOK(res1
)) {
37138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37142 if (!SWIG_IsOK(ecode2
)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37145 arg2
= static_cast< int >(val2
);
37146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37147 if (!SWIG_IsOK(ecode3
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37150 arg3
= static_cast< int >(val3
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->CrossHair(arg2
,arg3
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37167 wxPoint
*arg2
= 0 ;
37171 PyObject
* obj0
= 0 ;
37172 PyObject
* obj1
= 0 ;
37173 char * kwnames
[] = {
37174 (char *) "self",(char *) "pt", NULL
37177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_Py_Void();
37200 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
= 0;
37202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37223 PyObject
* obj0
= 0 ;
37224 PyObject
* obj1
= 0 ;
37225 PyObject
* obj2
= 0 ;
37226 PyObject
* obj3
= 0 ;
37227 PyObject
* obj4
= 0 ;
37228 PyObject
* obj5
= 0 ;
37229 PyObject
* obj6
= 0 ;
37230 char * kwnames
[] = {
37231 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37241 if (!SWIG_IsOK(ecode2
)) {
37242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37244 arg2
= static_cast< int >(val2
);
37245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37246 if (!SWIG_IsOK(ecode3
)) {
37247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37249 arg3
= static_cast< int >(val3
);
37250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37251 if (!SWIG_IsOK(ecode4
)) {
37252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37254 arg4
= static_cast< int >(val4
);
37255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37256 if (!SWIG_IsOK(ecode5
)) {
37257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37259 arg5
= static_cast< int >(val5
);
37260 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37261 if (!SWIG_IsOK(ecode6
)) {
37262 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37264 arg6
= static_cast< int >(val6
);
37265 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37266 if (!SWIG_IsOK(ecode7
)) {
37267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37269 arg7
= static_cast< int >(val7
);
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37276 resultobj
= SWIG_Py_Void();
37283 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37284 PyObject
*resultobj
= 0;
37285 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37286 wxPoint
*arg2
= 0 ;
37287 wxPoint
*arg3
= 0 ;
37288 wxPoint
*arg4
= 0 ;
37294 PyObject
* obj0
= 0 ;
37295 PyObject
* obj1
= 0 ;
37296 PyObject
* obj2
= 0 ;
37297 PyObject
* obj3
= 0 ;
37298 char * kwnames
[] = {
37299 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37314 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37318 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37322 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37323 wxPyEndAllowThreads(__tstate
);
37324 if (PyErr_Occurred()) SWIG_fail
;
37326 resultobj
= SWIG_Py_Void();
37333 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37334 PyObject
*resultobj
= 0;
37335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37350 PyObject
* obj0
= 0 ;
37351 PyObject
* obj1
= 0 ;
37352 PyObject
* obj2
= 0 ;
37353 PyObject
* obj3
= 0 ;
37354 PyObject
* obj4
= 0 ;
37355 char * kwnames
[] = {
37356 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37361 if (!SWIG_IsOK(res1
)) {
37362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37366 if (!SWIG_IsOK(ecode2
)) {
37367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37369 arg2
= static_cast< int >(val2
);
37370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37371 if (!SWIG_IsOK(ecode3
)) {
37372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37374 arg3
= static_cast< int >(val3
);
37375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37376 if (!SWIG_IsOK(ecode4
)) {
37377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37379 arg4
= static_cast< int >(val4
);
37380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37381 if (!SWIG_IsOK(ecode5
)) {
37382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37384 arg5
= static_cast< int >(val5
);
37386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37387 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37388 wxPyEndAllowThreads(__tstate
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37391 resultobj
= SWIG_Py_Void();
37398 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37399 PyObject
*resultobj
= 0;
37400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 char * kwnames
[] = {
37408 (char *) "self",(char *) "rect", NULL
37411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37413 if (!SWIG_IsOK(res1
)) {
37414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37416 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37419 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37423 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37424 wxPyEndAllowThreads(__tstate
);
37425 if (PyErr_Occurred()) SWIG_fail
;
37427 resultobj
= SWIG_Py_Void();
37434 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37435 PyObject
*resultobj
= 0;
37436 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37457 PyObject
* obj0
= 0 ;
37458 PyObject
* obj1
= 0 ;
37459 PyObject
* obj2
= 0 ;
37460 PyObject
* obj3
= 0 ;
37461 PyObject
* obj4
= 0 ;
37462 PyObject
* obj5
= 0 ;
37463 PyObject
* obj6
= 0 ;
37464 char * kwnames
[] = {
37465 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37470 if (!SWIG_IsOK(res1
)) {
37471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37473 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37475 if (!SWIG_IsOK(ecode2
)) {
37476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37478 arg2
= static_cast< int >(val2
);
37479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37480 if (!SWIG_IsOK(ecode3
)) {
37481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37483 arg3
= static_cast< int >(val3
);
37484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37485 if (!SWIG_IsOK(ecode4
)) {
37486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37488 arg4
= static_cast< int >(val4
);
37489 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37490 if (!SWIG_IsOK(ecode5
)) {
37491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37493 arg5
= static_cast< int >(val5
);
37494 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37495 if (!SWIG_IsOK(ecode6
)) {
37496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37498 arg6
= static_cast< double >(val6
);
37499 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37500 if (!SWIG_IsOK(ecode7
)) {
37501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37503 arg7
= static_cast< double >(val7
);
37505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37506 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37507 wxPyEndAllowThreads(__tstate
);
37508 if (PyErr_Occurred()) SWIG_fail
;
37510 resultobj
= SWIG_Py_Void();
37517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37518 PyObject
*resultobj
= 0;
37519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37520 wxPoint
*arg2
= 0 ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 PyObject
* obj2
= 0 ;
37535 PyObject
* obj3
= 0 ;
37536 PyObject
* obj4
= 0 ;
37537 char * kwnames
[] = {
37538 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37543 if (!SWIG_IsOK(res1
)) {
37544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37546 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37553 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37555 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37556 if (!SWIG_IsOK(ecode4
)) {
37557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37559 arg4
= static_cast< double >(val4
);
37560 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37561 if (!SWIG_IsOK(ecode5
)) {
37562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37564 arg5
= static_cast< double >(val5
);
37566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37567 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37571 resultobj
= SWIG_Py_Void();
37578 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
= 0;
37580 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37589 PyObject
* obj0
= 0 ;
37590 PyObject
* obj1
= 0 ;
37591 PyObject
* obj2
= 0 ;
37592 char * kwnames
[] = {
37593 (char *) "self",(char *) "x",(char *) "y", NULL
37596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37598 if (!SWIG_IsOK(res1
)) {
37599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37603 if (!SWIG_IsOK(ecode2
)) {
37604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37606 arg2
= static_cast< int >(val2
);
37607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37608 if (!SWIG_IsOK(ecode3
)) {
37609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37611 arg3
= static_cast< int >(val3
);
37613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37614 (arg1
)->DrawPoint(arg2
,arg3
);
37615 wxPyEndAllowThreads(__tstate
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37618 resultobj
= SWIG_Py_Void();
37625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37626 PyObject
*resultobj
= 0;
37627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37628 wxPoint
*arg2
= 0 ;
37632 PyObject
* obj0
= 0 ;
37633 PyObject
* obj1
= 0 ;
37634 char * kwnames
[] = {
37635 (char *) "self",(char *) "pt", NULL
37638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37640 if (!SWIG_IsOK(res1
)) {
37641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37646 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37654 resultobj
= SWIG_Py_Void();
37661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37662 PyObject
*resultobj
= 0;
37663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37680 PyObject
* obj2
= 0 ;
37681 PyObject
* obj3
= 0 ;
37682 PyObject
* obj4
= 0 ;
37683 char * kwnames
[] = {
37684 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37689 if (!SWIG_IsOK(res1
)) {
37690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37694 if (!SWIG_IsOK(ecode2
)) {
37695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37697 arg2
= static_cast< int >(val2
);
37698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37699 if (!SWIG_IsOK(ecode3
)) {
37700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37702 arg3
= static_cast< int >(val3
);
37703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37704 if (!SWIG_IsOK(ecode4
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37707 arg4
= static_cast< int >(val4
);
37708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37709 if (!SWIG_IsOK(ecode5
)) {
37710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37712 arg5
= static_cast< int >(val5
);
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_Py_Void();
37726 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37727 PyObject
*resultobj
= 0;
37728 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37735 char * kwnames
[] = {
37736 (char *) "self",(char *) "rect", NULL
37739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37741 if (!SWIG_IsOK(res1
)) {
37742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37751 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37752 wxPyEndAllowThreads(__tstate
);
37753 if (PyErr_Occurred()) SWIG_fail
;
37755 resultobj
= SWIG_Py_Void();
37762 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37763 PyObject
*resultobj
= 0;
37764 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37765 wxPoint
*arg2
= 0 ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 PyObject
* obj2
= 0 ;
37774 char * kwnames
[] = {
37775 (char *) "self",(char *) "pt",(char *) "sz", NULL
37778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37780 if (!SWIG_IsOK(res1
)) {
37781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37783 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37790 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= SWIG_Py_Void();
37805 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
= 0;
37807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37825 PyObject
* obj0
= 0 ;
37826 PyObject
* obj1
= 0 ;
37827 PyObject
* obj2
= 0 ;
37828 PyObject
* obj3
= 0 ;
37829 PyObject
* obj4
= 0 ;
37830 PyObject
* obj5
= 0 ;
37831 char * kwnames
[] = {
37832 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37837 if (!SWIG_IsOK(res1
)) {
37838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37842 if (!SWIG_IsOK(ecode2
)) {
37843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37845 arg2
= static_cast< int >(val2
);
37846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37847 if (!SWIG_IsOK(ecode3
)) {
37848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37850 arg3
= static_cast< int >(val3
);
37851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37852 if (!SWIG_IsOK(ecode4
)) {
37853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37855 arg4
= static_cast< int >(val4
);
37856 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37857 if (!SWIG_IsOK(ecode5
)) {
37858 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37860 arg5
= static_cast< int >(val5
);
37861 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37862 if (!SWIG_IsOK(ecode6
)) {
37863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37865 arg6
= static_cast< double >(val6
);
37867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37868 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37869 wxPyEndAllowThreads(__tstate
);
37870 if (PyErr_Occurred()) SWIG_fail
;
37872 resultobj
= SWIG_Py_Void();
37879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37880 PyObject
*resultobj
= 0;
37881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37889 PyObject
* obj0
= 0 ;
37890 PyObject
* obj1
= 0 ;
37891 PyObject
* obj2
= 0 ;
37892 char * kwnames
[] = {
37893 (char *) "self",(char *) "r",(char *) "radius", NULL
37896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37898 if (!SWIG_IsOK(res1
)) {
37899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37904 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37906 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37907 if (!SWIG_IsOK(ecode3
)) {
37908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37910 arg3
= static_cast< double >(val3
);
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37914 wxPyEndAllowThreads(__tstate
);
37915 if (PyErr_Occurred()) SWIG_fail
;
37917 resultobj
= SWIG_Py_Void();
37924 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37925 PyObject
*resultobj
= 0;
37926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37927 wxPoint
*arg2
= 0 ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 PyObject
* obj2
= 0 ;
37939 PyObject
* obj3
= 0 ;
37940 char * kwnames
[] = {
37941 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37946 if (!SWIG_IsOK(res1
)) {
37947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37956 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37958 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37959 if (!SWIG_IsOK(ecode4
)) {
37960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37962 arg4
= static_cast< double >(val4
);
37964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37965 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37966 wxPyEndAllowThreads(__tstate
);
37967 if (PyErr_Occurred()) SWIG_fail
;
37969 resultobj
= SWIG_Py_Void();
37976 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37977 PyObject
*resultobj
= 0;
37978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37990 PyObject
* obj0
= 0 ;
37991 PyObject
* obj1
= 0 ;
37992 PyObject
* obj2
= 0 ;
37993 PyObject
* obj3
= 0 ;
37994 char * kwnames
[] = {
37995 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38000 if (!SWIG_IsOK(res1
)) {
38001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38005 if (!SWIG_IsOK(ecode2
)) {
38006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
38008 arg2
= static_cast< int >(val2
);
38009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38010 if (!SWIG_IsOK(ecode3
)) {
38011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
38013 arg3
= static_cast< int >(val3
);
38014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38015 if (!SWIG_IsOK(ecode4
)) {
38016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
38018 arg4
= static_cast< int >(val4
);
38020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38021 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
38022 wxPyEndAllowThreads(__tstate
);
38023 if (PyErr_Occurred()) SWIG_fail
;
38025 resultobj
= SWIG_Py_Void();
38032 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38033 PyObject
*resultobj
= 0;
38034 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38035 wxPoint
*arg2
= 0 ;
38042 PyObject
* obj0
= 0 ;
38043 PyObject
* obj1
= 0 ;
38044 PyObject
* obj2
= 0 ;
38045 char * kwnames
[] = {
38046 (char *) "self",(char *) "pt",(char *) "radius", NULL
38049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38051 if (!SWIG_IsOK(res1
)) {
38052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38057 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38060 if (!SWIG_IsOK(ecode3
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38063 arg3
= static_cast< int >(val3
);
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 resultobj
= SWIG_Py_Void();
38077 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 PyObject
* obj2
= 0 ;
38097 PyObject
* obj3
= 0 ;
38098 PyObject
* obj4
= 0 ;
38099 char * kwnames
[] = {
38100 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38105 if (!SWIG_IsOK(res1
)) {
38106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38108 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38110 if (!SWIG_IsOK(ecode2
)) {
38111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38113 arg2
= static_cast< int >(val2
);
38114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38115 if (!SWIG_IsOK(ecode3
)) {
38116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38118 arg3
= static_cast< int >(val3
);
38119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38120 if (!SWIG_IsOK(ecode4
)) {
38121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38123 arg4
= static_cast< int >(val4
);
38124 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38125 if (!SWIG_IsOK(ecode5
)) {
38126 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38128 arg5
= static_cast< int >(val5
);
38130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38131 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38135 resultobj
= SWIG_Py_Void();
38142 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38143 PyObject
*resultobj
= 0;
38144 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38149 PyObject
* obj0
= 0 ;
38150 PyObject
* obj1
= 0 ;
38151 char * kwnames
[] = {
38152 (char *) "self",(char *) "rect", NULL
38155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38157 if (!SWIG_IsOK(res1
)) {
38158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38163 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_Py_Void();
38178 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38181 wxPoint
*arg2
= 0 ;
38187 PyObject
* obj0
= 0 ;
38188 PyObject
* obj1
= 0 ;
38189 PyObject
* obj2
= 0 ;
38190 char * kwnames
[] = {
38191 (char *) "self",(char *) "pt",(char *) "sz", NULL
38194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38196 if (!SWIG_IsOK(res1
)) {
38197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38199 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38206 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 resultobj
= SWIG_Py_Void();
38221 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
= 0;
38223 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38235 PyObject
* obj0
= 0 ;
38236 PyObject
* obj1
= 0 ;
38237 PyObject
* obj2
= 0 ;
38238 PyObject
* obj3
= 0 ;
38239 char * kwnames
[] = {
38240 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38245 if (!SWIG_IsOK(res1
)) {
38246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38248 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38250 if (!SWIG_IsOK(res2
)) {
38251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38256 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38258 if (!SWIG_IsOK(ecode3
)) {
38259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38261 arg3
= static_cast< int >(val3
);
38262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38263 if (!SWIG_IsOK(ecode4
)) {
38264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38266 arg4
= static_cast< int >(val4
);
38268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38269 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_Py_Void();
38280 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38281 PyObject
*resultobj
= 0;
38282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38284 wxPoint
*arg3
= 0 ;
38290 PyObject
* obj0
= 0 ;
38291 PyObject
* obj1
= 0 ;
38292 PyObject
* obj2
= 0 ;
38293 char * kwnames
[] = {
38294 (char *) "self",(char *) "icon",(char *) "pt", NULL
38297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38299 if (!SWIG_IsOK(res1
)) {
38300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38302 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38304 if (!SWIG_IsOK(res2
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38310 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38318 wxPyEndAllowThreads(__tstate
);
38319 if (PyErr_Occurred()) SWIG_fail
;
38321 resultobj
= SWIG_Py_Void();
38328 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38329 PyObject
*resultobj
= 0;
38330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38331 wxBitmap
*arg2
= 0 ;
38334 bool arg5
= (bool) false ;
38345 PyObject
* obj0
= 0 ;
38346 PyObject
* obj1
= 0 ;
38347 PyObject
* obj2
= 0 ;
38348 PyObject
* obj3
= 0 ;
38349 PyObject
* obj4
= 0 ;
38350 char * kwnames
[] = {
38351 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38356 if (!SWIG_IsOK(res1
)) {
38357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38359 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38361 if (!SWIG_IsOK(res2
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38367 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38369 if (!SWIG_IsOK(ecode3
)) {
38370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38372 arg3
= static_cast< int >(val3
);
38373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38374 if (!SWIG_IsOK(ecode4
)) {
38375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38377 arg4
= static_cast< int >(val4
);
38379 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38380 if (!SWIG_IsOK(ecode5
)) {
38381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38383 arg5
= static_cast< bool >(val5
);
38386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38387 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38388 wxPyEndAllowThreads(__tstate
);
38389 if (PyErr_Occurred()) SWIG_fail
;
38391 resultobj
= SWIG_Py_Void();
38398 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38399 PyObject
*resultobj
= 0;
38400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38401 wxBitmap
*arg2
= 0 ;
38402 wxPoint
*arg3
= 0 ;
38403 bool arg4
= (bool) false ;
38411 PyObject
* obj0
= 0 ;
38412 PyObject
* obj1
= 0 ;
38413 PyObject
* obj2
= 0 ;
38414 PyObject
* obj3
= 0 ;
38415 char * kwnames
[] = {
38416 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38421 if (!SWIG_IsOK(res1
)) {
38422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38426 if (!SWIG_IsOK(res2
)) {
38427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38432 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38435 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38438 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38439 if (!SWIG_IsOK(ecode4
)) {
38440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38442 arg4
= static_cast< bool >(val4
);
38445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38446 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38447 wxPyEndAllowThreads(__tstate
);
38448 if (PyErr_Occurred()) SWIG_fail
;
38450 resultobj
= SWIG_Py_Void();
38457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38458 PyObject
*resultobj
= 0;
38459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38460 wxString
*arg2
= 0 ;
38465 bool temp2
= false ;
38470 PyObject
* obj0
= 0 ;
38471 PyObject
* obj1
= 0 ;
38472 PyObject
* obj2
= 0 ;
38473 PyObject
* obj3
= 0 ;
38474 char * kwnames
[] = {
38475 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38480 if (!SWIG_IsOK(res1
)) {
38481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38485 arg2
= wxString_in_helper(obj1
);
38486 if (arg2
== NULL
) SWIG_fail
;
38489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38490 if (!SWIG_IsOK(ecode3
)) {
38491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38493 arg3
= static_cast< int >(val3
);
38494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38495 if (!SWIG_IsOK(ecode4
)) {
38496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38498 arg4
= static_cast< int >(val4
);
38500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38501 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38502 wxPyEndAllowThreads(__tstate
);
38503 if (PyErr_Occurred()) SWIG_fail
;
38505 resultobj
= SWIG_Py_Void();
38520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
= 0;
38522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38523 wxString
*arg2
= 0 ;
38524 wxPoint
*arg3
= 0 ;
38527 bool temp2
= false ;
38529 PyObject
* obj0
= 0 ;
38530 PyObject
* obj1
= 0 ;
38531 PyObject
* obj2
= 0 ;
38532 char * kwnames
[] = {
38533 (char *) "self",(char *) "text",(char *) "pt", NULL
38536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38538 if (!SWIG_IsOK(res1
)) {
38539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38541 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38543 arg2
= wxString_in_helper(obj1
);
38544 if (arg2
== NULL
) SWIG_fail
;
38549 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38554 wxPyEndAllowThreads(__tstate
);
38555 if (PyErr_Occurred()) SWIG_fail
;
38557 resultobj
= SWIG_Py_Void();
38572 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38573 PyObject
*resultobj
= 0;
38574 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38575 wxString
*arg2
= 0 ;
38581 bool temp2
= false ;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 PyObject
* obj2
= 0 ;
38591 PyObject
* obj3
= 0 ;
38592 PyObject
* obj4
= 0 ;
38593 char * kwnames
[] = {
38594 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38599 if (!SWIG_IsOK(res1
)) {
38600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38602 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38604 arg2
= wxString_in_helper(obj1
);
38605 if (arg2
== NULL
) SWIG_fail
;
38608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38609 if (!SWIG_IsOK(ecode3
)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38612 arg3
= static_cast< int >(val3
);
38613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38614 if (!SWIG_IsOK(ecode4
)) {
38615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38617 arg4
= static_cast< int >(val4
);
38618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38619 if (!SWIG_IsOK(ecode5
)) {
38620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38622 arg5
= static_cast< double >(val5
);
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38626 wxPyEndAllowThreads(__tstate
);
38627 if (PyErr_Occurred()) SWIG_fail
;
38629 resultobj
= SWIG_Py_Void();
38644 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38645 PyObject
*resultobj
= 0;
38646 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38647 wxString
*arg2
= 0 ;
38648 wxPoint
*arg3
= 0 ;
38652 bool temp2
= false ;
38656 PyObject
* obj0
= 0 ;
38657 PyObject
* obj1
= 0 ;
38658 PyObject
* obj2
= 0 ;
38659 PyObject
* obj3
= 0 ;
38660 char * kwnames
[] = {
38661 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38666 if (!SWIG_IsOK(res1
)) {
38667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38669 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38671 arg2
= wxString_in_helper(obj1
);
38672 if (arg2
== NULL
) SWIG_fail
;
38677 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38679 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38680 if (!SWIG_IsOK(ecode4
)) {
38681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38683 arg4
= static_cast< double >(val4
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_Py_Void();
38705 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38706 PyObject
*resultobj
= 0;
38707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38709 wxPoint
*arg3
= (wxPoint
*) 0 ;
38710 int arg4
= (int) 0 ;
38711 int arg5
= (int) 0 ;
38718 PyObject
* obj0
= 0 ;
38719 PyObject
* obj1
= 0 ;
38720 PyObject
* obj2
= 0 ;
38721 PyObject
* obj3
= 0 ;
38722 char * kwnames
[] = {
38723 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38728 if (!SWIG_IsOK(res1
)) {
38729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38733 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38734 if (arg3
== NULL
) SWIG_fail
;
38737 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38738 if (!SWIG_IsOK(ecode4
)) {
38739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38741 arg4
= static_cast< int >(val4
);
38744 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38745 if (!SWIG_IsOK(ecode5
)) {
38746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38748 arg5
= static_cast< int >(val5
);
38751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38752 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38753 wxPyEndAllowThreads(__tstate
);
38754 if (PyErr_Occurred()) SWIG_fail
;
38756 resultobj
= SWIG_Py_Void();
38758 if (arg3
) delete [] arg3
;
38763 if (arg3
) delete [] arg3
;
38769 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38770 PyObject
*resultobj
= 0;
38771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38773 wxPoint
*arg3
= (wxPoint
*) 0 ;
38774 int arg4
= (int) 0 ;
38775 int arg5
= (int) 0 ;
38776 int arg6
= (int) wxODDEVEN_RULE
;
38785 PyObject
* obj0
= 0 ;
38786 PyObject
* obj1
= 0 ;
38787 PyObject
* obj2
= 0 ;
38788 PyObject
* obj3
= 0 ;
38789 PyObject
* obj4
= 0 ;
38790 char * kwnames
[] = {
38791 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38796 if (!SWIG_IsOK(res1
)) {
38797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38799 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38801 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38802 if (arg3
== NULL
) SWIG_fail
;
38805 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38806 if (!SWIG_IsOK(ecode4
)) {
38807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38809 arg4
= static_cast< int >(val4
);
38812 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38813 if (!SWIG_IsOK(ecode5
)) {
38814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38816 arg5
= static_cast< int >(val5
);
38819 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38820 if (!SWIG_IsOK(ecode6
)) {
38821 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38823 arg6
= static_cast< int >(val6
);
38826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38827 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38828 wxPyEndAllowThreads(__tstate
);
38829 if (PyErr_Occurred()) SWIG_fail
;
38831 resultobj
= SWIG_Py_Void();
38833 if (arg3
) delete [] arg3
;
38838 if (arg3
) delete [] arg3
;
38844 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38845 PyObject
*resultobj
= 0;
38846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38847 wxString
*arg2
= 0 ;
38849 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38850 int arg5
= (int) -1 ;
38853 bool temp2
= false ;
38859 PyObject
* obj0
= 0 ;
38860 PyObject
* obj1
= 0 ;
38861 PyObject
* obj2
= 0 ;
38862 PyObject
* obj3
= 0 ;
38863 PyObject
* obj4
= 0 ;
38864 char * kwnames
[] = {
38865 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38870 if (!SWIG_IsOK(res1
)) {
38871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38873 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38875 arg2
= wxString_in_helper(obj1
);
38876 if (arg2
== NULL
) SWIG_fail
;
38881 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38885 if (!SWIG_IsOK(ecode4
)) {
38886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38888 arg4
= static_cast< int >(val4
);
38891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38892 if (!SWIG_IsOK(ecode5
)) {
38893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38895 arg5
= static_cast< int >(val5
);
38898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38899 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38903 resultobj
= SWIG_Py_Void();
38918 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38919 PyObject
*resultobj
= 0;
38920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38921 wxString
*arg2
= 0 ;
38922 wxBitmap
*arg3
= 0 ;
38924 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38925 int arg6
= (int) -1 ;
38928 bool temp2
= false ;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 PyObject
* obj2
= 0 ;
38939 PyObject
* obj3
= 0 ;
38940 PyObject
* obj4
= 0 ;
38941 PyObject
* obj5
= 0 ;
38942 char * kwnames
[] = {
38943 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38948 if (!SWIG_IsOK(res1
)) {
38949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38953 arg2
= wxString_in_helper(obj1
);
38954 if (arg2
== NULL
) SWIG_fail
;
38957 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38958 if (!SWIG_IsOK(res3
)) {
38959 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38964 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38967 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38970 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38971 if (!SWIG_IsOK(ecode5
)) {
38972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38974 arg5
= static_cast< int >(val5
);
38977 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38978 if (!SWIG_IsOK(ecode6
)) {
38979 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38981 arg6
= static_cast< int >(val6
);
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_Py_Void();
39004 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39005 PyObject
*resultobj
= 0;
39006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39008 wxPoint
*arg3
= (wxPoint
*) 0 ;
39011 PyObject
* obj0
= 0 ;
39012 PyObject
* obj1
= 0 ;
39013 char * kwnames
[] = {
39014 (char *) "self",(char *) "points", NULL
39017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39019 if (!SWIG_IsOK(res1
)) {
39020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39024 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
39025 if (arg3
== NULL
) SWIG_fail
;
39028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39029 (arg1
)->DrawSpline(arg2
,arg3
);
39030 wxPyEndAllowThreads(__tstate
);
39031 if (PyErr_Occurred()) SWIG_fail
;
39033 resultobj
= SWIG_Py_Void();
39035 if (arg3
) delete [] arg3
;
39040 if (arg3
) delete [] arg3
;
39046 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39047 PyObject
*resultobj
= 0;
39048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39051 PyObject
*swig_obj
[1] ;
39053 if (!args
) SWIG_fail
;
39054 swig_obj
[0] = args
;
39055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39056 if (!SWIG_IsOK(res1
)) {
39057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 wxPyEndAllowThreads(__tstate
);
39064 if (PyErr_Occurred()) SWIG_fail
;
39066 resultobj
= SWIG_Py_Void();
39073 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39074 PyObject
*resultobj
= 0;
39075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39081 PyObject
* obj0
= 0 ;
39082 PyObject
* obj1
= 0 ;
39083 char * kwnames
[] = {
39084 (char *) "self",(char *) "font", NULL
39087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39089 if (!SWIG_IsOK(res1
)) {
39090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39094 if (!SWIG_IsOK(res2
)) {
39095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39100 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 (arg1
)->SetFont((wxFont
const &)*arg2
);
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39107 resultobj
= SWIG_Py_Void();
39114 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39115 PyObject
*resultobj
= 0;
39116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39122 PyObject
* obj0
= 0 ;
39123 PyObject
* obj1
= 0 ;
39124 char * kwnames
[] = {
39125 (char *) "self",(char *) "pen", NULL
39128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39130 if (!SWIG_IsOK(res1
)) {
39131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39135 if (!SWIG_IsOK(res2
)) {
39136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39141 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39144 (arg1
)->SetPen((wxPen
const &)*arg2
);
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39148 resultobj
= SWIG_Py_Void();
39155 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39156 PyObject
*resultobj
= 0;
39157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39158 wxBrush
*arg2
= 0 ;
39163 PyObject
* obj0
= 0 ;
39164 PyObject
* obj1
= 0 ;
39165 char * kwnames
[] = {
39166 (char *) "self",(char *) "brush", NULL
39169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39171 if (!SWIG_IsOK(res1
)) {
39172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39176 if (!SWIG_IsOK(res2
)) {
39177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39182 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39185 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39186 wxPyEndAllowThreads(__tstate
);
39187 if (PyErr_Occurred()) SWIG_fail
;
39189 resultobj
= SWIG_Py_Void();
39196 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39197 PyObject
*resultobj
= 0;
39198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39199 wxBrush
*arg2
= 0 ;
39204 PyObject
* obj0
= 0 ;
39205 PyObject
* obj1
= 0 ;
39206 char * kwnames
[] = {
39207 (char *) "self",(char *) "brush", NULL
39210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39212 if (!SWIG_IsOK(res1
)) {
39213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39215 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39217 if (!SWIG_IsOK(res2
)) {
39218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39223 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39226 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 resultobj
= SWIG_Py_Void();
39237 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
= 0;
39239 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char * kwnames
[] = {
39248 (char *) "self",(char *) "mode", NULL
39251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39253 if (!SWIG_IsOK(res1
)) {
39254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39256 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39258 if (!SWIG_IsOK(ecode2
)) {
39259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39261 arg2
= static_cast< int >(val2
);
39263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39264 (arg1
)->SetBackgroundMode(arg2
);
39265 wxPyEndAllowThreads(__tstate
);
39266 if (PyErr_Occurred()) SWIG_fail
;
39268 resultobj
= SWIG_Py_Void();
39275 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39276 PyObject
*resultobj
= 0;
39277 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39278 wxPalette
*arg2
= 0 ;
39283 PyObject
* obj0
= 0 ;
39284 PyObject
* obj1
= 0 ;
39285 char * kwnames
[] = {
39286 (char *) "self",(char *) "palette", NULL
39289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39291 if (!SWIG_IsOK(res1
)) {
39292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39296 if (!SWIG_IsOK(res2
)) {
39297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39302 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39306 wxPyEndAllowThreads(__tstate
);
39307 if (PyErr_Occurred()) SWIG_fail
;
39309 resultobj
= SWIG_Py_Void();
39316 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39317 PyObject
*resultobj
= 0;
39318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39319 wxColour
*arg2
= 0 ;
39323 PyObject
* obj0
= 0 ;
39324 PyObject
* obj1
= 0 ;
39325 char * kwnames
[] = {
39326 (char *) "self",(char *) "colour", NULL
39329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39331 if (!SWIG_IsOK(res1
)) {
39332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39341 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39342 wxPyEndAllowThreads(__tstate
);
39343 if (PyErr_Occurred()) SWIG_fail
;
39345 resultobj
= SWIG_Py_Void();
39352 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39353 PyObject
*resultobj
= 0;
39354 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39355 wxColour
*arg2
= 0 ;
39359 PyObject
* obj0
= 0 ;
39360 PyObject
* obj1
= 0 ;
39361 char * kwnames
[] = {
39362 (char *) "self",(char *) "colour", NULL
39365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39367 if (!SWIG_IsOK(res1
)) {
39368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39370 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39377 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39378 wxPyEndAllowThreads(__tstate
);
39379 if (PyErr_Occurred()) SWIG_fail
;
39381 resultobj
= SWIG_Py_Void();
39388 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39389 PyObject
*resultobj
= 0;
39390 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39396 PyObject
* obj0
= 0 ;
39397 PyObject
* obj1
= 0 ;
39398 char * kwnames
[] = {
39399 (char *) "self",(char *) "function", NULL
39402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39404 if (!SWIG_IsOK(res1
)) {
39405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39407 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39409 if (!SWIG_IsOK(ecode2
)) {
39410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39412 arg2
= static_cast< int >(val2
);
39414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39415 (arg1
)->SetLogicalFunction(arg2
);
39416 wxPyEndAllowThreads(__tstate
);
39417 if (PyErr_Occurred()) SWIG_fail
;
39419 resultobj
= SWIG_Py_Void();
39426 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39430 return SWIG_Py_Void();
39433 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39434 return SWIG_Python_InitShadowInstance(args
);
39437 static PyMethodDef SwigMethods
[] = {
39438 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39439 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39440 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39441 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39442 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39443 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39447 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39448 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39449 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39450 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39451 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39452 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39457 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39461 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39462 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39463 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39465 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39468 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39469 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39473 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39474 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39475 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39476 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39477 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39478 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39479 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39486 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39488 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39489 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39493 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39494 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39497 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39501 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39502 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39503 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39504 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39505 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39506 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39507 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39509 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39515 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39517 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39518 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39519 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39520 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39521 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39522 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39523 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39529 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39541 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39542 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39546 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39547 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39548 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39549 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39550 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39551 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39552 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39553 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39554 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39555 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39556 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39557 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39558 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39559 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39560 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39562 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39563 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39569 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39570 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39571 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39572 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39573 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39574 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39575 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39576 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39577 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39578 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39579 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39580 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39582 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39583 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39589 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39590 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39591 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39593 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39594 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39595 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39597 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39598 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39603 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39605 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39606 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39607 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39608 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39614 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39615 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39617 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39618 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39620 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39622 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39623 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39624 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39625 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39628 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39632 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39633 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39635 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39638 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39640 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39641 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39642 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39643 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39648 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39649 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39654 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39655 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39661 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39665 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39676 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39679 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39680 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39682 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39683 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39684 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39685 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39686 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39687 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39688 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39689 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39690 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39691 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39692 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39693 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39694 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39695 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39696 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39697 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39698 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39700 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39701 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39702 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39703 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39704 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39705 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39706 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39707 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39717 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39718 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39720 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39721 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39722 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39723 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39724 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39725 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39726 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39727 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39728 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39730 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39731 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39732 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39735 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39736 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39737 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39740 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39746 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39751 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39752 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39754 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39760 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39763 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39764 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39765 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39766 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39767 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39768 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39769 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39770 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39771 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39772 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39773 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39774 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39775 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39787 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39788 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39789 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39791 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39792 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39794 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39795 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39796 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39797 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39801 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39802 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39804 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39805 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39806 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39807 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39808 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39809 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39810 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39811 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39814 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39817 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39818 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39819 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39820 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39821 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39822 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39823 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39824 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39834 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39835 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39836 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39838 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39842 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39843 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39844 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39845 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39846 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39847 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39853 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39854 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39855 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39907 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39909 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39910 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39911 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39918 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39919 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39920 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39921 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39922 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39927 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39928 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39929 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39930 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39939 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39940 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39941 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39942 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39943 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39944 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39945 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39946 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39947 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39948 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39949 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39950 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39953 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39955 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39957 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39959 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39960 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39963 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39964 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39968 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39970 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39973 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39974 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39975 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39976 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39977 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39978 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39979 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39981 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39988 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39990 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39991 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39992 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39994 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39996 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39998 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39999 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
40000 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
40001 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
40002 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
40003 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
40004 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
40005 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
40008 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
40009 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
40010 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
40012 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
40013 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
40015 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
40016 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
40025 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
40026 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
40027 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
40028 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
40030 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
40031 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
40032 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40034 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40035 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
40041 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
40042 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
40044 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40047 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40048 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40049 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40051 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40052 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40054 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40055 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40056 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40057 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40058 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40059 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40061 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40062 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40063 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40065 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40066 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40068 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40069 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40070 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40071 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40072 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40073 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40074 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40075 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40076 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40077 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40078 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40079 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40080 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40081 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40082 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40083 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40084 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40085 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40088 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40089 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40091 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40097 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40098 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40099 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40100 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40101 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40102 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40104 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40105 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40106 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40113 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40116 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40117 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40118 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40119 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40120 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40121 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40124 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40131 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40132 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40135 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40136 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40137 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40144 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40145 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40146 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40147 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40165 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40166 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40167 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40168 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40169 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40170 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40173 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40180 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40181 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40182 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40183 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40185 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40186 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40187 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40188 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40189 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40190 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40191 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40192 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40193 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40194 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40195 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40196 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40197 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40198 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40206 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40207 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40208 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40209 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40210 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40211 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40212 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40213 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40214 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40215 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40218 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40221 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40222 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40223 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40224 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40225 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40226 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40227 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40228 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40229 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40230 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40231 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40232 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40233 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40234 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40235 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40236 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40237 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40238 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40239 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40240 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40241 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40242 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40243 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40244 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40245 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40246 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40247 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40248 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40249 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40250 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40253 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40254 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40255 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40259 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40260 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40262 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40263 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40264 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40265 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40266 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40267 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40268 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40269 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40270 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40271 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40272 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40273 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40274 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40275 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40276 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40277 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40278 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40279 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40280 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40281 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40282 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40283 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40284 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40285 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40287 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40289 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40290 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40291 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40292 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40305 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40306 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40307 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40309 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40310 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40311 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40312 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40313 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40314 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40315 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40316 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40363 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40369 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40373 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40376 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40379 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40380 { NULL
, NULL
, 0, NULL
}
40384 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40386 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40387 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40389 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40390 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40392 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40393 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40395 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40396 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40398 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40399 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40401 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40402 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40404 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40405 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40407 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40408 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40410 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40411 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40413 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40414 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40416 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40417 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40419 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40420 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40422 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40423 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40425 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40426 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40428 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40429 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40431 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40432 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40434 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40435 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40437 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40438 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40440 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40441 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40443 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40444 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40446 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40447 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40449 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40450 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40452 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40453 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40455 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40456 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40458 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40459 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40461 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40462 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40464 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40465 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40467 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40468 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40470 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40471 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40473 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40474 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40476 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40477 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40479 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40480 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40482 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40483 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40485 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40486 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40488 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40489 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40491 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40492 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40494 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40495 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40497 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40498 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40500 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40501 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40503 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40504 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40509 static void *_p_wxPenTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40512 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40515 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40518 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40521 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40524 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40527 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40530 static void *_p_wxIconTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40533 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40536 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40539 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) ((wxSizer
*) x
));
40542 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40545 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40548 static void *_p_wxEventTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) ((wxEvent
*) x
));
40551 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40554 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40557 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40560 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40563 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40566 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40569 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40572 static void *_p_wxDCTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) ((wxDC
*) x
));
40575 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40578 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40581 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40584 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40587 static void *_p_wxControlTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40590 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40593 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40596 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40599 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40602 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40605 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40608 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40611 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40614 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40617 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40620 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40623 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) ((wxEffects
*) x
));
40626 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40629 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40632 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40635 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40638 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40641 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40644 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40647 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40650 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40653 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40656 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40659 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40662 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40665 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40666 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40668 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40669 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40671 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40674 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40677 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40680 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40681 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40683 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40684 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40686 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40689 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40692 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40693 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40695 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40698 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40701 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40702 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40704 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40707 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40710 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40713 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40716 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40719 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40722 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40725 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40728 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40731 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40734 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40737 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40740 static void *_p_wxImageTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) ((wxImage
*) x
));
40743 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40746 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40749 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40752 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40755 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40756 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40758 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40759 return (void *)((wxObject
*) ((wxImageList
*) x
));
40761 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40762 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40764 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40765 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40767 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40768 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40770 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40771 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40773 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40776 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40779 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40780 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40782 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40783 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40785 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40788 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40791 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40794 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40795 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40797 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40798 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40800 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40801 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40803 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40804 return (void *)((wxObject
*) ((wxMask
*) x
));
40806 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40807 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40809 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40810 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40812 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40813 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40815 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40816 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40818 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40819 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40821 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40822 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40824 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40825 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40827 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40830 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40831 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40833 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40834 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40836 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40837 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40839 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40842 static void *_p_wxFontTo_p_wxObject(void *x
) {
40843 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40845 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40846 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40848 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40849 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40851 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40854 static void *_p_wxColourTo_p_wxObject(void *x
) {
40855 return (void *)((wxObject
*) ((wxColour
*) x
));
40857 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40860 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40861 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40863 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40864 return (void *)((wxWindow
*) ((wxControl
*) x
));
40866 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40867 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40869 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40870 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40872 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40873 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40875 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40876 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40878 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40881 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};
40882 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40903 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40904 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40905 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40906 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40907 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40908 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40909 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40910 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40911 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40912 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40913 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40914 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40915 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40916 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40917 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40918 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40919 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40920 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40921 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40922 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40923 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40924 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40925 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40926 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40927 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40928 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40929 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40930 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40931 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40932 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40933 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40934 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40935 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40936 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40937 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40938 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40939 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40940 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40941 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40966 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40967 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40968 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40969 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40970 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40971 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40972 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40973 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40974 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40975 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40976 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40977 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40978 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40979 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40980 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40981 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40982 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40983 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40984 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40985 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40986 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40987 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40988 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40989 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40990 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40991 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40992 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40993 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40994 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40995 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40996 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40997 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40998 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40999 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
41000 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
41001 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
41002 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
41003 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
41004 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
41005 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
41006 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
41007 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
41008 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
41009 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
41010 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
41011 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
41012 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
41013 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
41014 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
41015 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
41016 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
41017 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
41018 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
41019 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
41020 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
41021 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
41022 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
41023 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
41024 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
41025 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
41026 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
41027 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
41028 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
41029 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
41030 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
41031 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
41032 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
41033 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
41034 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
41035 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
41036 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
41037 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
41038 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
41039 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41040 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41041 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41042 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41043 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41044 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41045 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41046 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41048 static swig_type_info
*swig_type_initial
[] = {
41052 &_swigt__p_form_ops_t
,
41054 &_swigt__p_unsigned_char
,
41055 &_swigt__p_unsigned_int
,
41056 &_swigt__p_unsigned_long
,
41058 &_swigt__p_wxANIHandler
,
41059 &_swigt__p_wxAcceleratorTable
,
41060 &_swigt__p_wxActivateEvent
,
41061 &_swigt__p_wxAlphaPixelData
,
41062 &_swigt__p_wxAlphaPixelData_Accessor
,
41063 &_swigt__p_wxAutoBufferedPaintDC
,
41064 &_swigt__p_wxBMPHandler
,
41065 &_swigt__p_wxBitmap
,
41066 &_swigt__p_wxBoxSizer
,
41067 &_swigt__p_wxBrush
,
41068 &_swigt__p_wxBrushList
,
41069 &_swigt__p_wxBufferedDC
,
41070 &_swigt__p_wxBufferedPaintDC
,
41071 &_swigt__p_wxCURHandler
,
41072 &_swigt__p_wxChildFocusEvent
,
41073 &_swigt__p_wxClientDC
,
41074 &_swigt__p_wxClipboardTextEvent
,
41075 &_swigt__p_wxCloseEvent
,
41076 &_swigt__p_wxColour
,
41077 &_swigt__p_wxColourDatabase
,
41078 &_swigt__p_wxCommandEvent
,
41079 &_swigt__p_wxContextMenuEvent
,
41080 &_swigt__p_wxControl
,
41081 &_swigt__p_wxControlWithItems
,
41082 &_swigt__p_wxCursor
,
41084 &_swigt__p_wxDCBrushChanger
,
41085 &_swigt__p_wxDCClipper
,
41086 &_swigt__p_wxDCOverlay
,
41087 &_swigt__p_wxDCPenChanger
,
41088 &_swigt__p_wxDCTextColourChanger
,
41090 &_swigt__p_wxDateEvent
,
41091 &_swigt__p_wxDisplayChangedEvent
,
41092 &_swigt__p_wxDropFilesEvent
,
41093 &_swigt__p_wxDuplexMode
,
41094 &_swigt__p_wxEffects
,
41095 &_swigt__p_wxEncodingConverter
,
41096 &_swigt__p_wxEraseEvent
,
41097 &_swigt__p_wxEvent
,
41098 &_swigt__p_wxEventBlocker
,
41099 &_swigt__p_wxEvtHandler
,
41100 &_swigt__p_wxFSFile
,
41101 &_swigt__p_wxFileSystem
,
41102 &_swigt__p_wxFlexGridSizer
,
41103 &_swigt__p_wxFocusEvent
,
41105 &_swigt__p_wxFontList
,
41106 &_swigt__p_wxFontMapper
,
41107 &_swigt__p_wxGBSizerItem
,
41109 &_swigt__p_wxGDIObjListBase
,
41110 &_swigt__p_wxGDIObject
,
41111 &_swigt__p_wxGIFHandler
,
41112 &_swigt__p_wxGraphicsBrush
,
41113 &_swigt__p_wxGraphicsContext
,
41114 &_swigt__p_wxGraphicsFont
,
41115 &_swigt__p_wxGraphicsMatrix
,
41116 &_swigt__p_wxGraphicsObject
,
41117 &_swigt__p_wxGraphicsPath
,
41118 &_swigt__p_wxGraphicsPen
,
41119 &_swigt__p_wxGraphicsRenderer
,
41120 &_swigt__p_wxGridBagSizer
,
41121 &_swigt__p_wxGridSizer
,
41122 &_swigt__p_wxHeaderButtonParams
,
41123 &_swigt__p_wxICOHandler
,
41125 &_swigt__p_wxIconBundle
,
41126 &_swigt__p_wxIconLocation
,
41127 &_swigt__p_wxIconizeEvent
,
41128 &_swigt__p_wxIdleEvent
,
41129 &_swigt__p_wxImage
,
41130 &_swigt__p_wxImageHandler
,
41131 &_swigt__p_wxImageList
,
41132 &_swigt__p_wxIndividualLayoutConstraint
,
41133 &_swigt__p_wxInitDialogEvent
,
41134 &_swigt__p_wxJPEGHandler
,
41135 &_swigt__p_wxKeyEvent
,
41136 &_swigt__p_wxLanguageInfo
,
41137 &_swigt__p_wxLayoutConstraints
,
41138 &_swigt__p_wxLocale
,
41140 &_swigt__p_wxMaximizeEvent
,
41141 &_swigt__p_wxMemoryDC
,
41143 &_swigt__p_wxMenuBar
,
41144 &_swigt__p_wxMenuEvent
,
41145 &_swigt__p_wxMenuItem
,
41146 &_swigt__p_wxMetaFile
,
41147 &_swigt__p_wxMetaFileDC
,
41148 &_swigt__p_wxMirrorDC
,
41149 &_swigt__p_wxMouseCaptureChangedEvent
,
41150 &_swigt__p_wxMouseCaptureLostEvent
,
41151 &_swigt__p_wxMouseEvent
,
41152 &_swigt__p_wxMoveEvent
,
41153 &_swigt__p_wxNativeEncodingInfo
,
41154 &_swigt__p_wxNativeFontInfo
,
41155 &_swigt__p_wxNativePixelData
,
41156 &_swigt__p_wxNativePixelData_Accessor
,
41157 &_swigt__p_wxNavigationKeyEvent
,
41158 &_swigt__p_wxNcPaintEvent
,
41159 &_swigt__p_wxNotifyEvent
,
41160 &_swigt__p_wxObject
,
41161 &_swigt__p_wxOverlay
,
41162 &_swigt__p_wxPCXHandler
,
41163 &_swigt__p_wxPNGHandler
,
41164 &_swigt__p_wxPNMHandler
,
41165 &_swigt__p_wxPaintDC
,
41166 &_swigt__p_wxPaintEvent
,
41167 &_swigt__p_wxPalette
,
41168 &_swigt__p_wxPaletteChangedEvent
,
41169 &_swigt__p_wxPaperSize
,
41171 &_swigt__p_wxPenList
,
41172 &_swigt__p_wxPixelDataBase
,
41173 &_swigt__p_wxPoint
,
41174 &_swigt__p_wxPoint2D
,
41175 &_swigt__p_wxPostScriptDC
,
41176 &_swigt__p_wxPrintData
,
41177 &_swigt__p_wxPrinterDC
,
41178 &_swigt__p_wxPseudoDC
,
41179 &_swigt__p_wxPyApp
,
41180 &_swigt__p_wxPyCommandEvent
,
41181 &_swigt__p_wxPyEvent
,
41182 &_swigt__p_wxPyFontEnumerator
,
41183 &_swigt__p_wxPyImageHandler
,
41184 &_swigt__p_wxPyLocale
,
41185 &_swigt__p_wxPySizer
,
41186 &_swigt__p_wxPyValidator
,
41187 &_swigt__p_wxQueryNewPaletteEvent
,
41189 &_swigt__p_wxRect2D
,
41190 &_swigt__p_wxRegion
,
41191 &_swigt__p_wxRegionIterator
,
41192 &_swigt__p_wxRendererNative
,
41193 &_swigt__p_wxRendererVersion
,
41194 &_swigt__p_wxScreenDC
,
41195 &_swigt__p_wxScrollEvent
,
41196 &_swigt__p_wxScrollWinEvent
,
41197 &_swigt__p_wxSetCursorEvent
,
41198 &_swigt__p_wxShowEvent
,
41200 &_swigt__p_wxSizeEvent
,
41201 &_swigt__p_wxSizer
,
41202 &_swigt__p_wxSizerItem
,
41203 &_swigt__p_wxSplitterRenderParams
,
41204 &_swigt__p_wxStaticBoxSizer
,
41205 &_swigt__p_wxStdDialogButtonSizer
,
41206 &_swigt__p_wxStockGDI
,
41207 &_swigt__p_wxString
,
41208 &_swigt__p_wxSysColourChangedEvent
,
41209 &_swigt__p_wxTGAHandler
,
41210 &_swigt__p_wxTIFFHandler
,
41211 &_swigt__p_wxUpdateUIEvent
,
41212 &_swigt__p_wxValidator
,
41213 &_swigt__p_wxWindow
,
41214 &_swigt__p_wxWindowCreateEvent
,
41215 &_swigt__p_wxWindowDC
,
41216 &_swigt__p_wxWindowDestroyEvent
,
41217 &_swigt__p_wxXPMHandler
,
41220 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41235 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}};
41236 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41237 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}};
41238 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41255 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}};
41256 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}};
41257 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41261 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}};
41262 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41272 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}};
41273 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41274 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}};
41275 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41315 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41316 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41321 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41322 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41323 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41327 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41328 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41329 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41335 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41336 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41337 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41338 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41339 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41340 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41341 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41342 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41343 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41344 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41345 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41346 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41347 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41348 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41349 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41350 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41351 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41352 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41353 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41354 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41355 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41356 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41357 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41358 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41359 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41360 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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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}};
41361 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41362 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41363 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41364 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41365 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41366 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41367 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}};
41368 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41369 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41370 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41371 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41372 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41373 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41374 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41375 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41376 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41377 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41378 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41379 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41380 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41381 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41382 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41383 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41384 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41385 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41386 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41387 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}};
41388 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}};
41390 static swig_cast_info
*swig_cast_initial
[] = {
41394 _swigc__p_form_ops_t
,
41396 _swigc__p_unsigned_char
,
41397 _swigc__p_unsigned_int
,
41398 _swigc__p_unsigned_long
,
41400 _swigc__p_wxANIHandler
,
41401 _swigc__p_wxAcceleratorTable
,
41402 _swigc__p_wxActivateEvent
,
41403 _swigc__p_wxAlphaPixelData
,
41404 _swigc__p_wxAlphaPixelData_Accessor
,
41405 _swigc__p_wxAutoBufferedPaintDC
,
41406 _swigc__p_wxBMPHandler
,
41407 _swigc__p_wxBitmap
,
41408 _swigc__p_wxBoxSizer
,
41410 _swigc__p_wxBrushList
,
41411 _swigc__p_wxBufferedDC
,
41412 _swigc__p_wxBufferedPaintDC
,
41413 _swigc__p_wxCURHandler
,
41414 _swigc__p_wxChildFocusEvent
,
41415 _swigc__p_wxClientDC
,
41416 _swigc__p_wxClipboardTextEvent
,
41417 _swigc__p_wxCloseEvent
,
41418 _swigc__p_wxColour
,
41419 _swigc__p_wxColourDatabase
,
41420 _swigc__p_wxCommandEvent
,
41421 _swigc__p_wxContextMenuEvent
,
41422 _swigc__p_wxControl
,
41423 _swigc__p_wxControlWithItems
,
41424 _swigc__p_wxCursor
,
41426 _swigc__p_wxDCBrushChanger
,
41427 _swigc__p_wxDCClipper
,
41428 _swigc__p_wxDCOverlay
,
41429 _swigc__p_wxDCPenChanger
,
41430 _swigc__p_wxDCTextColourChanger
,
41432 _swigc__p_wxDateEvent
,
41433 _swigc__p_wxDisplayChangedEvent
,
41434 _swigc__p_wxDropFilesEvent
,
41435 _swigc__p_wxDuplexMode
,
41436 _swigc__p_wxEffects
,
41437 _swigc__p_wxEncodingConverter
,
41438 _swigc__p_wxEraseEvent
,
41440 _swigc__p_wxEventBlocker
,
41441 _swigc__p_wxEvtHandler
,
41442 _swigc__p_wxFSFile
,
41443 _swigc__p_wxFileSystem
,
41444 _swigc__p_wxFlexGridSizer
,
41445 _swigc__p_wxFocusEvent
,
41447 _swigc__p_wxFontList
,
41448 _swigc__p_wxFontMapper
,
41449 _swigc__p_wxGBSizerItem
,
41451 _swigc__p_wxGDIObjListBase
,
41452 _swigc__p_wxGDIObject
,
41453 _swigc__p_wxGIFHandler
,
41454 _swigc__p_wxGraphicsBrush
,
41455 _swigc__p_wxGraphicsContext
,
41456 _swigc__p_wxGraphicsFont
,
41457 _swigc__p_wxGraphicsMatrix
,
41458 _swigc__p_wxGraphicsObject
,
41459 _swigc__p_wxGraphicsPath
,
41460 _swigc__p_wxGraphicsPen
,
41461 _swigc__p_wxGraphicsRenderer
,
41462 _swigc__p_wxGridBagSizer
,
41463 _swigc__p_wxGridSizer
,
41464 _swigc__p_wxHeaderButtonParams
,
41465 _swigc__p_wxICOHandler
,
41467 _swigc__p_wxIconBundle
,
41468 _swigc__p_wxIconLocation
,
41469 _swigc__p_wxIconizeEvent
,
41470 _swigc__p_wxIdleEvent
,
41472 _swigc__p_wxImageHandler
,
41473 _swigc__p_wxImageList
,
41474 _swigc__p_wxIndividualLayoutConstraint
,
41475 _swigc__p_wxInitDialogEvent
,
41476 _swigc__p_wxJPEGHandler
,
41477 _swigc__p_wxKeyEvent
,
41478 _swigc__p_wxLanguageInfo
,
41479 _swigc__p_wxLayoutConstraints
,
41480 _swigc__p_wxLocale
,
41482 _swigc__p_wxMaximizeEvent
,
41483 _swigc__p_wxMemoryDC
,
41485 _swigc__p_wxMenuBar
,
41486 _swigc__p_wxMenuEvent
,
41487 _swigc__p_wxMenuItem
,
41488 _swigc__p_wxMetaFile
,
41489 _swigc__p_wxMetaFileDC
,
41490 _swigc__p_wxMirrorDC
,
41491 _swigc__p_wxMouseCaptureChangedEvent
,
41492 _swigc__p_wxMouseCaptureLostEvent
,
41493 _swigc__p_wxMouseEvent
,
41494 _swigc__p_wxMoveEvent
,
41495 _swigc__p_wxNativeEncodingInfo
,
41496 _swigc__p_wxNativeFontInfo
,
41497 _swigc__p_wxNativePixelData
,
41498 _swigc__p_wxNativePixelData_Accessor
,
41499 _swigc__p_wxNavigationKeyEvent
,
41500 _swigc__p_wxNcPaintEvent
,
41501 _swigc__p_wxNotifyEvent
,
41502 _swigc__p_wxObject
,
41503 _swigc__p_wxOverlay
,
41504 _swigc__p_wxPCXHandler
,
41505 _swigc__p_wxPNGHandler
,
41506 _swigc__p_wxPNMHandler
,
41507 _swigc__p_wxPaintDC
,
41508 _swigc__p_wxPaintEvent
,
41509 _swigc__p_wxPalette
,
41510 _swigc__p_wxPaletteChangedEvent
,
41511 _swigc__p_wxPaperSize
,
41513 _swigc__p_wxPenList
,
41514 _swigc__p_wxPixelDataBase
,
41516 _swigc__p_wxPoint2D
,
41517 _swigc__p_wxPostScriptDC
,
41518 _swigc__p_wxPrintData
,
41519 _swigc__p_wxPrinterDC
,
41520 _swigc__p_wxPseudoDC
,
41522 _swigc__p_wxPyCommandEvent
,
41523 _swigc__p_wxPyEvent
,
41524 _swigc__p_wxPyFontEnumerator
,
41525 _swigc__p_wxPyImageHandler
,
41526 _swigc__p_wxPyLocale
,
41527 _swigc__p_wxPySizer
,
41528 _swigc__p_wxPyValidator
,
41529 _swigc__p_wxQueryNewPaletteEvent
,
41531 _swigc__p_wxRect2D
,
41532 _swigc__p_wxRegion
,
41533 _swigc__p_wxRegionIterator
,
41534 _swigc__p_wxRendererNative
,
41535 _swigc__p_wxRendererVersion
,
41536 _swigc__p_wxScreenDC
,
41537 _swigc__p_wxScrollEvent
,
41538 _swigc__p_wxScrollWinEvent
,
41539 _swigc__p_wxSetCursorEvent
,
41540 _swigc__p_wxShowEvent
,
41542 _swigc__p_wxSizeEvent
,
41544 _swigc__p_wxSizerItem
,
41545 _swigc__p_wxSplitterRenderParams
,
41546 _swigc__p_wxStaticBoxSizer
,
41547 _swigc__p_wxStdDialogButtonSizer
,
41548 _swigc__p_wxStockGDI
,
41549 _swigc__p_wxString
,
41550 _swigc__p_wxSysColourChangedEvent
,
41551 _swigc__p_wxTGAHandler
,
41552 _swigc__p_wxTIFFHandler
,
41553 _swigc__p_wxUpdateUIEvent
,
41554 _swigc__p_wxValidator
,
41555 _swigc__p_wxWindow
,
41556 _swigc__p_wxWindowCreateEvent
,
41557 _swigc__p_wxWindowDC
,
41558 _swigc__p_wxWindowDestroyEvent
,
41559 _swigc__p_wxXPMHandler
,
41563 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41565 static swig_const_info swig_const_table
[] = {
41566 {0, 0, 0, 0.0, 0, 0}};
41571 /* -----------------------------------------------------------------------------
41572 * Type initialization:
41573 * This problem is tough by the requirement that no dynamic
41574 * memory is used. Also, since swig_type_info structures store pointers to
41575 * swig_cast_info structures and swig_cast_info structures store pointers back
41576 * to swig_type_info structures, we need some lookup code at initialization.
41577 * The idea is that swig generates all the structures that are needed.
41578 * The runtime then collects these partially filled structures.
41579 * The SWIG_InitializeModule function takes these initial arrays out of
41580 * swig_module, and does all the lookup, filling in the swig_module.types
41581 * array with the correct data and linking the correct swig_cast_info
41582 * structures together.
41584 * The generated swig_type_info structures are assigned staticly to an initial
41585 * array. We just loop though that array, and handle each type individually.
41586 * First we lookup if this type has been already loaded, and if so, use the
41587 * loaded structure instead of the generated one. Then we have to fill in the
41588 * cast linked list. The cast data is initially stored in something like a
41589 * two-dimensional array. Each row corresponds to a type (there are the same
41590 * number of rows as there are in the swig_type_initial array). Each entry in
41591 * a column is one of the swig_cast_info structures for that type.
41592 * The cast_initial array is actually an array of arrays, because each row has
41593 * a variable number of columns. So to actually build the cast linked list,
41594 * we find the array of casts associated with the type, and loop through it
41595 * adding the casts to the list. The one last trick we need to do is making
41596 * sure the type pointer in the swig_cast_info struct is correct.
41598 * First off, we lookup the cast->type name to see if it is already loaded.
41599 * There are three cases to handle:
41600 * 1) If the cast->type has already been loaded AND the type we are adding
41601 * casting info to has not been loaded (it is in this module), THEN we
41602 * replace the cast->type pointer with the type pointer that has already
41604 * 2) If BOTH types (the one we are adding casting info to, and the
41605 * cast->type) are loaded, THEN the cast info has already been loaded by
41606 * the previous module so we just ignore it.
41607 * 3) Finally, if cast->type has not already been loaded, then we add that
41608 * swig_cast_info to the linked list (because the cast->type) pointer will
41610 * ----------------------------------------------------------------------------- */
41620 #define SWIGRUNTIME_DEBUG
41624 SWIG_InitializeModule(void *clientdata
) {
41626 swig_module_info
*module_head
;
41627 static int init_run
= 0;
41629 clientdata
= clientdata
;
41631 if (init_run
) return;
41634 /* Initialize the swig_module */
41635 swig_module
.type_initial
= swig_type_initial
;
41636 swig_module
.cast_initial
= swig_cast_initial
;
41638 /* Try and load any already created modules */
41639 module_head
= SWIG_GetModule(clientdata
);
41641 swig_module
.next
= module_head
->next
;
41642 module_head
->next
= &swig_module
;
41644 /* This is the first module loaded */
41645 swig_module
.next
= &swig_module
;
41646 SWIG_SetModule(clientdata
, &swig_module
);
41649 /* Now work on filling in swig_module.types */
41650 #ifdef SWIGRUNTIME_DEBUG
41651 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41653 for (i
= 0; i
< swig_module
.size
; ++i
) {
41654 swig_type_info
*type
= 0;
41655 swig_type_info
*ret
;
41656 swig_cast_info
*cast
;
41658 #ifdef SWIGRUNTIME_DEBUG
41659 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41662 /* if there is another module already loaded */
41663 if (swig_module
.next
!= &swig_module
) {
41664 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41667 /* Overwrite clientdata field */
41668 #ifdef SWIGRUNTIME_DEBUG
41669 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41671 if (swig_module
.type_initial
[i
]->clientdata
) {
41672 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41673 #ifdef SWIGRUNTIME_DEBUG
41674 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41678 type
= swig_module
.type_initial
[i
];
41681 /* Insert casting types */
41682 cast
= swig_module
.cast_initial
[i
];
41683 while (cast
->type
) {
41684 /* Don't need to add information already in the list */
41686 #ifdef SWIGRUNTIME_DEBUG
41687 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41689 if (swig_module
.next
!= &swig_module
) {
41690 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41691 #ifdef SWIGRUNTIME_DEBUG
41692 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41696 if (type
== swig_module
.type_initial
[i
]) {
41697 #ifdef SWIGRUNTIME_DEBUG
41698 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41703 /* Check for casting already in the list */
41704 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41705 #ifdef SWIGRUNTIME_DEBUG
41706 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41708 if (!ocast
) ret
= 0;
41713 #ifdef SWIGRUNTIME_DEBUG
41714 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41717 type
->cast
->prev
= cast
;
41718 cast
->next
= type
->cast
;
41724 /* Set entry in modules->types array equal to the type */
41725 swig_module
.types
[i
] = type
;
41727 swig_module
.types
[i
] = 0;
41729 #ifdef SWIGRUNTIME_DEBUG
41730 printf("**** SWIG_InitializeModule: Cast List ******\n");
41731 for (i
= 0; i
< swig_module
.size
; ++i
) {
41733 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41734 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41735 while (cast
->type
) {
41736 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41740 printf("---- Total casts: %d\n",j
);
41742 printf("**** SWIG_InitializeModule: Cast List ******\n");
41746 /* This function will propagate the clientdata field of type to
41747 * any new swig_type_info structures that have been added into the list
41748 * of equivalent types. It is like calling
41749 * SWIG_TypeClientData(type, clientdata) a second time.
41752 SWIG_PropagateClientData(void) {
41754 swig_cast_info
*equiv
;
41755 static int init_run
= 0;
41757 if (init_run
) return;
41760 for (i
= 0; i
< swig_module
.size
; i
++) {
41761 if (swig_module
.types
[i
]->clientdata
) {
41762 equiv
= swig_module
.types
[i
]->cast
;
41764 if (!equiv
->converter
) {
41765 if (equiv
->type
&& !equiv
->type
->clientdata
)
41766 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41768 equiv
= equiv
->next
;
41788 /* Python-specific SWIG API */
41789 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41790 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41791 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41793 /* -----------------------------------------------------------------------------
41794 * global variable support code.
41795 * ----------------------------------------------------------------------------- */
41797 typedef struct swig_globalvar
{
41798 char *name
; /* Name of global variable */
41799 PyObject
*(*get_attr
)(void); /* Return the current value */
41800 int (*set_attr
)(PyObject
*); /* Set the value */
41801 struct swig_globalvar
*next
;
41804 typedef struct swig_varlinkobject
{
41806 swig_globalvar
*vars
;
41807 } swig_varlinkobject
;
41809 SWIGINTERN PyObject
*
41810 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41811 return PyString_FromString("<Swig global variables>");
41814 SWIGINTERN PyObject
*
41815 swig_varlink_str(swig_varlinkobject
*v
) {
41816 PyObject
*str
= PyString_FromString("(");
41817 swig_globalvar
*var
;
41818 for (var
= v
->vars
; var
; var
=var
->next
) {
41819 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41820 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41822 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41827 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41828 PyObject
*str
= swig_varlink_str(v
);
41829 fprintf(fp
,"Swig global variables ");
41830 fprintf(fp
,"%s\n", PyString_AsString(str
));
41836 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41837 swig_globalvar
*var
= v
->vars
;
41839 swig_globalvar
*n
= var
->next
;
41846 SWIGINTERN PyObject
*
41847 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41848 PyObject
*res
= NULL
;
41849 swig_globalvar
*var
= v
->vars
;
41851 if (strcmp(var
->name
,n
) == 0) {
41852 res
= (*var
->get_attr
)();
41857 if (res
== NULL
&& !PyErr_Occurred()) {
41858 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41864 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41866 swig_globalvar
*var
= v
->vars
;
41868 if (strcmp(var
->name
,n
) == 0) {
41869 res
= (*var
->set_attr
)(p
);
41874 if (res
== 1 && !PyErr_Occurred()) {
41875 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41880 SWIGINTERN PyTypeObject
*
41881 swig_varlink_type(void) {
41882 static char varlink__doc__
[] = "Swig var link object";
41883 static PyTypeObject varlink_type
;
41884 static int type_init
= 0;
41886 const PyTypeObject tmp
41888 PyObject_HEAD_INIT(NULL
)
41889 0, /* Number of items in variable part (ob_size) */
41890 (char *)"swigvarlink", /* Type name (tp_name) */
41891 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41892 0, /* Itemsize (tp_itemsize) */
41893 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41894 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41895 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41896 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41897 0, /* tp_compare */
41898 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41899 0, /* tp_as_number */
41900 0, /* tp_as_sequence */
41901 0, /* tp_as_mapping */
41904 (reprfunc
)swig_varlink_str
, /* tp_str */
41905 0, /* tp_getattro */
41906 0, /* tp_setattro */
41907 0, /* tp_as_buffer */
41909 varlink__doc__
, /* tp_doc */
41910 0, /* tp_traverse */
41912 0, /* tp_richcompare */
41913 0, /* tp_weaklistoffset */
41914 #if PY_VERSION_HEX >= 0x02020000
41915 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41917 #if PY_VERSION_HEX >= 0x02030000
41920 #ifdef COUNT_ALLOCS
41921 0,0,0,0 /* tp_alloc -> tp_next */
41924 varlink_type
= tmp
;
41925 varlink_type
.ob_type
= &PyType_Type
;
41928 return &varlink_type
;
41931 /* Create a variable linking object for use later */
41932 SWIGINTERN PyObject
*
41933 SWIG_Python_newvarlink(void) {
41934 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41938 return ((PyObject
*) result
);
41942 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41943 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41944 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41946 size_t size
= strlen(name
)+1;
41947 gv
->name
= (char *)malloc(size
);
41949 strncpy(gv
->name
,name
,size
);
41950 gv
->get_attr
= get_attr
;
41951 gv
->set_attr
= set_attr
;
41952 gv
->next
= v
->vars
;
41958 SWIGINTERN PyObject
*
41960 static PyObject
*_SWIG_globals
= 0;
41961 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41962 return _SWIG_globals
;
41965 /* -----------------------------------------------------------------------------
41966 * constants/methods manipulation
41967 * ----------------------------------------------------------------------------- */
41969 /* Install Constants */
41971 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41974 for (i
= 0; constants
[i
].type
; ++i
) {
41975 switch(constants
[i
].type
) {
41976 case SWIG_PY_POINTER
:
41977 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41979 case SWIG_PY_BINARY
:
41980 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41987 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41993 /* -----------------------------------------------------------------------------*/
41994 /* Fix SwigMethods to carry the callback ptrs when needed */
41995 /* -----------------------------------------------------------------------------*/
41998 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41999 swig_const_info
*const_table
,
42000 swig_type_info
**types
,
42001 swig_type_info
**types_initial
) {
42003 for (i
= 0; methods
[i
].ml_name
; ++i
) {
42004 const char *c
= methods
[i
].ml_doc
;
42005 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
42007 swig_const_info
*ci
= 0;
42008 const char *name
= c
+ 10;
42009 for (j
= 0; const_table
[j
].type
; ++j
) {
42010 if (strncmp(const_table
[j
].name
, name
,
42011 strlen(const_table
[j
].name
)) == 0) {
42012 ci
= &(const_table
[j
]);
42017 size_t shift
= (ci
->ptype
) - types
;
42018 swig_type_info
*ty
= types_initial
[shift
];
42019 size_t ldoc
= (c
- methods
[i
].ml_doc
);
42020 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
42021 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
42024 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
42026 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
42028 strncpy(buff
, "swig_ptr: ", 10);
42030 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
42031 methods
[i
].ml_doc
= ndoc
;
42043 /* -----------------------------------------------------------------------------*
42044 * Partial Init method
42045 * -----------------------------------------------------------------------------*/
42050 SWIGEXPORT
void SWIG_init(void) {
42053 /* Fix SwigMethods to carry the callback ptrs when needed */
42054 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42056 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42057 d
= PyModule_GetDict(m
);
42059 SWIG_InitializeModule(0);
42060 SWIG_InstallConstants(d
,swig_const_table
);
42063 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42064 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42065 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42066 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42067 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42068 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42069 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42070 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42071 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42072 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42073 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42074 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42075 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42076 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42077 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42078 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42079 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42080 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42081 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42082 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42083 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42084 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42085 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42086 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42087 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42088 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42089 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42090 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42091 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42092 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42093 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42094 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42095 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42096 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42097 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42144 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42145 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42170 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42171 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42172 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42173 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42174 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42175 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42176 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42177 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42178 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42179 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42180 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42181 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42182 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42183 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42184 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42185 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42186 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42187 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42188 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42189 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42190 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42191 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42192 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42193 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42194 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42196 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42378 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42379 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42380 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42387 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42388 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42389 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42390 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42391 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42392 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42393 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42394 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42395 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42396 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42397 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42398 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42399 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42400 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42401 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42402 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42403 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42404 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42405 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42406 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42407 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42408 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42409 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42410 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42411 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42412 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42413 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42414 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42415 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42416 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42417 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42418 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42419 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42420 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42421 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42422 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42423 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42424 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42425 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42426 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42427 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42428 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42429 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42430 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42431 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42432 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42433 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42434 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42435 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42436 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42437 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42438 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42439 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42440 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42441 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42442 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42443 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42444 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42445 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42446 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
42447 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42448 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42449 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42450 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42451 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42452 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42453 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42454 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42455 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42456 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42457 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42458 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42459 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42460 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42461 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42462 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42463 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42464 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42465 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42466 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42467 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42468 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42469 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42470 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42471 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42472 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42473 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42474 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42475 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42476 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42477 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42478 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42479 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42480 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42481 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42482 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42483 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42484 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42485 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42486 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42487 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42488 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42489 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42490 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42491 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42492 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42493 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42494 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42495 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42496 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42497 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42498 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42499 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42500 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42501 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42502 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42503 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42504 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42505 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42506 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42507 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42508 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42509 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42510 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42511 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42512 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42513 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42514 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42515 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42516 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42517 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42518 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42519 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42520 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42521 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42522 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42524 // Work around a chicken/egg problem in drawlist.cpp
42525 wxPyDrawList_SetAPIPtr();