1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_short (short value
)
2930 return SWIG_From_long (value
);
2935 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2938 int res
= SWIG_AsVal_long (obj
, &v
);
2939 if (SWIG_IsOK(res
)) {
2940 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2941 return SWIG_OverflowError
;
2943 if (val
) *val
= static_cast< short >(v
);
2950 #include <wx/rawbmp.h>
2953 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2954 // appears to me that the other platforms are already doing it, so I'll just
2955 // automatically do it for wxMSW here.
2957 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2958 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2960 #define wxPy_premultiply(p, a) (p)
2961 #define wxPy_unpremultiply(p, a) (p)
2965 #include <wx/image.h>
2967 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2968 char** cArray
= NULL
;
2971 if (!PyList_Check(listOfStrings
)) {
2972 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2975 count
= PyList_Size(listOfStrings
);
2976 cArray
= new char*[count
];
2978 for(int x
=0; x
<count
; x
++) {
2979 // TODO: Need some validation and error checking here
2980 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2986 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2987 char** cArray
= NULL
;
2990 cArray
= ConvertListOfStrings(listOfStrings
);
2993 bmp
= new wxBitmap(cArray
);
2997 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
3000 PyString_AsStringAndSize(bits
, &buf
, &length
);
3001 return new wxBitmap(buf
, width
, height
, depth
);
3003 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3004 wxSize
size(self
->GetWidth(), self
->GetHeight());
3007 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3008 wxMask
*mask
= new wxMask(*self
, colour
);
3009 self
->SetMask(mask
);
3011 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3012 self
->SetWidth(size
.x
);
3013 self
->SetHeight(size
.y
);
3015 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3016 int height
=self
->GetHeight();
3017 int width
=self
->GetWidth();
3019 if (DATASIZE
!= width
* height
* 3) {
3020 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3043 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3044 int height
=self
->GetHeight();
3045 int width
=self
->GetWidth();
3047 if (DATASIZE
!= width
* height
* 4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3052 // raise an exception...
3053 wxPyErr_SetString(PyExc_RuntimeError
,
3054 "Failed to gain raw access to bitmap data.");
3059 wxAlphaPixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxAlphaPixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = wxPy_premultiply(*(data
++), a
);
3065 p
.Green() = wxPy_premultiply(*(data
++), a
);
3066 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3067 p
.Alpha() = a
; data
++;
3071 p
.OffsetY(pixData
, 1);
3074 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3075 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3077 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3078 buffer data
, int DATASIZE
,
3079 buffer alpha
, int ALPHASIZE
)
3081 if (DATASIZE
!= width
*height
*3) {
3082 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3086 if (ALPHASIZE
!= width
*height
) {
3087 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3091 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3092 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3094 // raise an exception...
3095 wxPyErr_SetString(PyExc_RuntimeError
,
3096 "Failed to gain raw access to bitmap data.");
3101 wxAlphaPixelData::Iterator
p(pixData
);
3102 for (int y
=0; y
<height
; y
++) {
3103 wxAlphaPixelData::Iterator rowStart
= p
;
3104 for (int x
=0; x
<width
; x
++) {
3105 byte a
= *(alpha
++);
3106 p
.Red() = wxPy_premultiply(*(data
++), a
);
3107 p
.Green() = wxPy_premultiply(*(data
++), a
);
3108 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3113 p
.OffsetY(pixData
, 1);
3118 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3120 if (DATASIZE
!= width
*height
*3) {
3121 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3125 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3126 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3128 // raise an exception...
3129 wxPyErr_SetString(PyExc_RuntimeError
,
3130 "Failed to gain raw access to bitmap data.");
3134 wxNativePixelData::Iterator
p(pixData
);
3135 for (int y
=0; y
<height
; y
++) {
3136 wxNativePixelData::Iterator rowStart
= p
;
3137 for (int x
=0; x
<width
; x
++) {
3138 p
.Red() = *(data
++);
3139 p
.Green() = *(data
++);
3140 p
.Blue() = *(data
++);
3144 p
.OffsetY(pixData
, 1);
3150 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3152 if (DATASIZE
!= width
*height
*4) {
3153 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3157 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3158 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3160 // raise an exception...
3161 wxPyErr_SetString(PyExc_RuntimeError
,
3162 "Failed to gain raw access to bitmap data.");
3167 wxAlphaPixelData::Iterator
p(pixData
);
3168 for (int y
=0; y
<height
; y
++) {
3169 wxAlphaPixelData::Iterator rowStart
= p
;
3170 for (int x
=0; x
<width
; x
++) {
3172 p
.Red() = wxPy_premultiply(*(data
++), a
);
3173 p
.Green() = wxPy_premultiply(*(data
++), a
);
3174 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3175 p
.Alpha() = a
; data
++;
3179 p
.OffsetY(pixData
, 1);
3185 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3187 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3189 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3191 self
->Green() = green
;
3192 self
->Blue() = blue
;
3194 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3195 PyObject
* rv
= PyTuple_New(3);
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3202 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3204 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3206 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3207 self
->Red() = wxPy_premultiply(red
, alpha
);
3208 self
->Green() = wxPy_premultiply(green
, alpha
);
3209 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3210 self
->Alpha() = alpha
;
3212 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3213 PyObject
* rv
= PyTuple_New(4);
3214 int red
= self
->Red();
3215 int green
= self
->Green();
3216 int blue
= self
->Blue();
3217 int alpha
= self
->Alpha();
3219 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3220 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3221 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3222 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3225 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3226 if ( !colour
.IsOk() )
3227 return new wxMask(bitmap
, *wxBLACK
);
3229 return new wxMask(bitmap
, colour
);
3232 #include <wx/iconbndl.h>
3234 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3235 wxIcon
* icon
= new wxIcon();
3236 icon
->CopyFromBitmap(bmp
);
3239 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3240 char** cArray
= NULL
;
3243 cArray
= ConvertListOfStrings(listOfStrings
);
3246 icon
= new wxIcon(cArray
);
3250 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3254 return new wxIconLocation(*filename
);
3257 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3264 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3273 wxImage
img(cursorName
, type
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3275 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3276 return new wxCursor(img
);
3278 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3283 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3286 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3287 return self
->operator bool();
3290 #include <wx/fontutil.h>
3291 #include <wx/fontmap.h>
3292 #include <wx/fontenum.h>
3294 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3295 return self
->ToString();
3298 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3299 static wxNativeEncodingInfo info
;
3300 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3307 SWIGINTERNINLINE PyObject
*
3308 SWIG_From_size_t (size_t value
)
3310 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3314 SWIGINTERNINLINE
int
3315 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3318 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3319 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3323 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3324 wxFontEncoding alt_enc
;
3325 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3326 return PyInt_FromLong(alt_enc
);
3332 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3333 wxNativeFontInfo nfi
;
3334 nfi
.FromString(info
);
3335 return new wxFont(nfi
);
3337 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3338 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3340 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3341 return wxFontBase::New(pixelSize
, family
,
3342 style
, weight
, underlined
,
3345 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3346 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3348 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3349 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3351 class wxPyFontEnumerator
: public wxFontEnumerator
{
3353 wxPyFontEnumerator() {}
3354 ~wxPyFontEnumerator() {}
3356 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3357 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3362 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3363 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3366 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3368 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3370 ret
= wxArrayString2PyList_helper(arr
);
3371 wxPyEndBlockThreads(blocked
);
3374 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3376 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3378 ret
= wxArrayString2PyList_helper(arr
);
3379 wxPyEndBlockThreads(blocked
);
3385 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3388 loc
= new wxLocale();
3390 loc
= new wxLocale(language
, flags
);
3391 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3392 // for the floating point conversions and such to work right.
3393 #if PY_VERSION_HEX < 0x02040000
3394 setlocale(LC_NUMERIC
, "C");
3398 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3399 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3400 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3401 // for the floating point conversions and such to work right.
3402 #if PY_VERSION_HEX < 0x02040000
3403 setlocale(LC_NUMERIC
, "C");
3407 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3408 bool rc
= self
->Init(language
, flags
);
3409 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3410 // for the floating point conversions and such to work right.
3411 #if PY_VERSION_HEX < 0x02040000
3412 setlocale(LC_NUMERIC
, "C");
3417 class wxPyLocale
: public wxLocale
3422 wxPyLocale(const wxChar
*szName
, // name (for messages)
3423 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3424 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3425 bool bLoadDefault
= true, // preload wxstd.mo?
3426 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3428 wxPyLocale(int language
, // wxLanguage id or custom language
3429 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szDomain
= NULL
) const;
3435 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3440 const wxChar
*szDomain
= NULL
) const;
3441 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3442 const wxChar
*szOrigString2
, size_t n
,
3443 const wxChar
*szDomain
= NULL
) const;
3447 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3450 wxPyLocale::wxPyLocale() : wxLocale()
3454 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3455 const wxChar
*szShort
, // dir prefix (for msg files)
3456 const wxChar
*szLocale
, // locale (for setlocale)
3457 bool bLoadDefault
, // preload wxstd.mo?
3458 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3459 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3463 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3464 int flags
) : wxLocale(language
, flags
)
3468 wxPyLocale::~wxPyLocale()
3472 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3473 const wxChar
*szDomain
) const
3475 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3476 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3479 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3480 const wxChar
*szOrigString2
, size_t n
,
3481 const wxChar
*szDomain
) const
3483 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3484 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3487 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3510 const wxChar
*szOrigString2
, size_t n
,
3511 const wxChar
*szDomain
) const
3514 static wxString str
;
3515 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3518 PyObject
* param1
= wx2PyString(szOrigString
);
3519 PyObject
* param2
= wx2PyString(szOrigString2
);
3520 PyObject
* param4
= wx2PyString(szDomain
);
3521 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3526 str
= Py2wxString(ret
);
3530 wxPyEndBlockThreads(blocked
);
3531 return (found
? (wxChar
*)str
.c_str() : NULL
);
3534 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3537 loc
= new wxPyLocale();
3539 loc
= new wxPyLocale(language
, flags
);
3540 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3541 // for the floating point conversions and such to work right.
3542 #if PY_VERSION_HEX < 0x02040000
3543 setlocale(LC_NUMERIC
, "C");
3548 #include "wx/wxPython/pydrawxxx.h"
3550 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3552 self
->GetPixel(x
, y
, &col
);
3555 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3557 self
->GetPixel(pt
, &col
);
3562 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3564 if (PyNumber_Check(obj
)) {
3565 if (val
) *val
= PyFloat_AsDouble(obj
);
3568 return SWIG_TypeError
;
3571 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3573 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3576 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3578 self
->GetClippingBox(rect
);
3581 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3583 self
->GetPartialTextExtents(text
, widths
);
3587 #define SWIG_From_double PyFloat_FromDouble
3589 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3590 self
->SetLogicalOrigin(point
.x
, point
.y
);
3592 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3593 self
->SetDeviceOrigin(point
.x
, point
.y
);
3595 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3596 self
->CalcBoundingBox(point
.x
, point
.y
);
3598 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3599 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3601 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3602 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3604 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3605 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3607 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3608 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3610 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3611 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3613 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3614 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3617 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3625 #include <wx/dcbuffer.h>
3628 #include <wx/dcps.h>
3631 #include <wx/metafile.h>
3634 #include <wx/graphics.h>
3637 #if !wxUSE_GRAPHICS_CONTEXT
3638 // C++ stub classes for platforms or build configurations that don't have
3639 // wxGraphicsContext yet.
3642 class wxGraphicsObject
: public wxObject
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath(wxGraphicsRenderer
* ) {
3690 PyErr_SetString(PyExc_NotImplementedError
,
3691 "wx.GraphicsPath is not available on this platform.");
3693 virtual ~wxGraphicsPath() {}
3695 void MoveToPoint( wxDouble
, wxDouble
) {}
3696 void MoveToPoint( const wxPoint2DDouble
& ) {}
3697 void AddLineToPoint( wxDouble
, wxDouble
) {}
3698 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3699 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3700 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3701 void AddPath( const wxGraphicsPath
* ) {}
3702 void CloseSubpath() {}
3703 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3704 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3705 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3706 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void * GetNativePath() const { return NULL
; }
3716 void UnGetNativePath(void *) {}
3717 void Transform( wxGraphicsMatrix
* ) {}
3718 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3719 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3721 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3722 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3724 wxGraphicsPath wxNullGraphicsPath
;
3727 class wxGraphicsMatrix
: public wxGraphicsObject
3730 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3731 PyErr_SetString(PyExc_NotImplementedError
,
3732 "wx.GraphicsMatrix is not available on this platform.");
3734 virtual ~wxGraphicsMatrix() {}
3735 virtual void Concat( const wxGraphicsMatrix
* ) {}
3736 virtual void Copy( const wxGraphicsMatrix
* ) {}
3737 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3738 wxDouble
, wxDouble
) {}
3739 virtual void Invert() {}
3740 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3741 virtual bool IsIdentity() { return false; }
3742 virtual void Translate( wxDouble
, wxDouble
) {}
3743 virtual void Scale( wxDouble
, wxDouble
) {}
3744 virtual void Rotate( wxDouble
) {}
3745 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3746 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3747 virtual void * GetNativeMatrix() const { return NULL
; }
3749 wxGraphicsMatrix wxNullGraphicsMatrix
;
3752 class wxGraphicsContext
: public wxGraphicsObject
3756 wxGraphicsContext(wxGraphicsRenderer
* ) {
3757 PyErr_SetString(PyExc_NotImplementedError
,
3758 "wx.GraphicsContext is not available on this platform.");
3761 virtual ~wxGraphicsContext() {}
3763 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3764 PyErr_SetString(PyExc_NotImplementedError
,
3765 "wx.GraphicsContext is not available on this platform.");
3768 static wxGraphicsContext
* CreateFromNative( void * ) {
3769 PyErr_SetString(PyExc_NotImplementedError
,
3770 "wx.GraphicsContext is not available on this platform.");
3773 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( wxWindow
* ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3783 wxGraphicsPath
* CreatePath() { return NULL
; }
3785 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3787 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3789 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3790 const wxColour
&, const wxColour
&) { return NULL
; }
3792 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3793 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3794 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3796 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3798 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3799 wxDouble
, wxDouble
) { return NULL
; }
3801 virtual void PushState() {}
3802 virtual void PopState() {}
3803 virtual void Clip( const wxRegion
& ) {}
3804 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3805 virtual void ResetClip() {}
3806 virtual void * GetNativeContext() { return NULL
; }
3807 virtual void Translate( wxDouble
, wxDouble
) {}
3808 virtual void Scale( wxDouble
, wxDouble
) {}
3809 virtual void Rotate( wxDouble
) {}
3810 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3811 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3812 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3814 virtual void SetPen( const wxGraphicsPen
& ) {}
3815 void SetPen( const wxPen
& ) {}
3817 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3818 void SetBrush( const wxBrush
& ) {}
3820 virtual void SetFont( const wxGraphicsFont
& ) {}
3821 void SetFont( const wxFont
&, const wxColour
& ) {}
3823 virtual void StrokePath( const wxGraphicsPath
* ) {}
3824 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3825 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3828 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3829 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3830 wxDouble
*, wxDouble
* ) const {}
3831 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3833 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3838 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3839 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3840 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual bool ShouldOffset() const { return false; }
3847 class wxGraphicsRenderer
: public wxObject
3850 wxGraphicsRenderer() {
3851 PyErr_SetString(PyExc_NotImplementedError
,
3852 "wx.GraphicsRenderer is not available on this platform.");
3855 virtual ~wxGraphicsRenderer() {}
3857 static wxGraphicsRenderer
* GetDefaultRenderer(
3858 PyErr_SetString(PyExc_NotImplementedError
,
3859 "wx.GraphicsRenderer is not available on this platform.");
3862 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3867 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3869 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3870 wxDouble
, wxDouble
) { return NULL
; }
3872 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3873 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3875 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3878 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3883 class wxGCDC
: public wxWindowDC
3886 wxGCDC(const wxWindowDC
&) {
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 PyErr_SetString(PyExc_NotImplementedError
,
3889 "wxGCDC is not available on this platform.");
3890 wxPyEndBlockThreads(blocked
);
3894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3895 PyErr_SetString(PyExc_NotImplementedError
,
3896 "wxGCDC is not available on this platform.");
3897 wxPyEndBlockThreads(blocked
);
3900 virtual ~wxGCDC() {}
3902 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3903 void SetGraphicsContext( wxGraphicsContext
* ) {}
3908 SWIGINTERN
void wxGraphicsMatrix_Copy(wxGraphicsMatrix
*self
,wxGraphicsMatrix
const &t
){
3911 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3912 wxDouble width
= 0.0,
3914 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3915 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3916 PyObject
* rv
= PyTuple_New(2);
3917 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3918 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3921 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3922 wxArrayDouble widths
;
3923 self
->GetPartialTextExtents(text
, widths
);
3926 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3927 size_t c1
, c2
, count
;
3928 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3929 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3931 if ( beginP
!= NULL
&& endP
!= NULL
)
3933 count
= wxMin(c1
, c2
);
3934 self
->StrokeLines(count
, beginP
, endP
);
3940 #include "wx/dcgraph.h"
3943 #include <wx/overlay.h>
3947 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3948 self
->AddColour(name
, wxColour(red
, green
, blue
));
3951 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3952 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3953 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3954 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3957 #include <wx/effects.h>
3960 #include "wx/renderer.h"
3963 SWIGINTERNINLINE PyObject
*
3964 SWIG_From_bool (bool value
)
3966 return PyBool_FromLong(value
? 1 : 0);
3970 #include "wx/wxPython/pseudodc.h"
3972 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3974 self
->GetIdBounds(id
, rect
);
3980 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 PyObject
*resultobj
= 0;
3982 wxGDIObject
*result
= 0 ;
3984 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3986 if (!wxPyCheckForApp()) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 result
= (wxGDIObject
*)new wxGDIObject();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3999 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4000 PyObject
*resultobj
= 0;
4001 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4004 PyObject
*swig_obj
[1] ;
4006 if (!args
) SWIG_fail
;
4008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4009 if (!SWIG_IsOK(res1
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4012 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_Py_Void();
4027 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4028 PyObject
*resultobj
= 0;
4029 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4033 PyObject
*swig_obj
[1] ;
4035 if (!args
) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4041 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (bool)(arg1
)->IsNull();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4057 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4060 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4061 return SWIG_Py_Void();
4064 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4065 return SWIG_Python_InitShadowInstance(args
);
4068 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
= 0;
4070 byte arg1
= (byte
) 0 ;
4071 byte arg2
= (byte
) 0 ;
4072 byte arg3
= (byte
) 0 ;
4073 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4074 wxColour
*result
= 0 ;
4075 unsigned char val1
;
4077 unsigned char val2
;
4079 unsigned char val3
;
4081 unsigned char val4
;
4083 PyObject
* obj0
= 0 ;
4084 PyObject
* obj1
= 0 ;
4085 PyObject
* obj2
= 0 ;
4086 PyObject
* obj3
= 0 ;
4087 char * kwnames
[] = {
4088 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4093 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4094 if (!SWIG_IsOK(ecode1
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4097 arg1
= static_cast< byte
>(val1
);
4100 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4101 if (!SWIG_IsOK(ecode2
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4104 arg2
= static_cast< byte
>(val2
);
4107 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4108 if (!SWIG_IsOK(ecode3
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4111 arg3
= static_cast< byte
>(val3
);
4114 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4115 if (!SWIG_IsOK(ecode4
)) {
4116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4118 arg4
= static_cast< byte
>(val4
);
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4133 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
= 0;
4135 wxString
*arg1
= 0 ;
4136 wxColour
*result
= 0 ;
4137 bool temp1
= false ;
4138 PyObject
* obj0
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "colorName", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4145 arg1
= wxString_in_helper(obj0
);
4146 if (arg1
== NULL
) SWIG_fail
;
4150 if (!wxPyCheckForApp()) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4171 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4172 PyObject
*resultobj
= 0;
4173 unsigned long arg1
;
4174 wxColour
*result
= 0 ;
4175 unsigned long val1
;
4177 PyObject
* obj0
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "colRGB", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4183 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4184 if (!SWIG_IsOK(ecode1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4187 arg1
= static_cast< unsigned long >(val1
);
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxColour
*)new wxColour(arg1
);
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4201 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4202 PyObject
*resultobj
= 0;
4203 wxColour
*arg1
= (wxColour
*) 0 ;
4206 PyObject
*swig_obj
[1] ;
4208 if (!args
) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4214 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_Py_Void();
4229 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4230 PyObject
*resultobj
= 0;
4231 wxColour
*arg1
= (wxColour
*) 0 ;
4235 PyObject
*swig_obj
[1] ;
4237 if (!args
) SWIG_fail
;
4239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4240 if (!SWIG_IsOK(res1
)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4243 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 result
= (byte
)(arg1
)->Red();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4257 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4258 PyObject
*resultobj
= 0;
4259 wxColour
*arg1
= (wxColour
*) 0 ;
4263 PyObject
*swig_obj
[1] ;
4265 if (!args
) SWIG_fail
;
4267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4268 if (!SWIG_IsOK(res1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4271 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (byte
)(arg1
)->Green();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4285 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4286 PyObject
*resultobj
= 0;
4287 wxColour
*arg1
= (wxColour
*) 0 ;
4291 PyObject
*swig_obj
[1] ;
4293 if (!args
) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4299 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (byte
)(arg1
)->Blue();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4313 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 PyObject
*resultobj
= 0;
4315 wxColour
*arg1
= (wxColour
*) 0 ;
4319 PyObject
*swig_obj
[1] ;
4321 if (!args
) SWIG_fail
;
4323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4324 if (!SWIG_IsOK(res1
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4327 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (byte
)(arg1
)->Alpha();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4341 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4342 PyObject
*resultobj
= 0;
4343 wxColour
*arg1
= (wxColour
*) 0 ;
4347 PyObject
*swig_obj
[1] ;
4349 if (!args
) SWIG_fail
;
4351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4352 if (!SWIG_IsOK(res1
)) {
4353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4355 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (bool)(arg1
)->IsOk();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4371 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
= 0;
4373 wxColour
*arg1
= (wxColour
*) 0 ;
4377 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4380 unsigned char val2
;
4382 unsigned char val3
;
4384 unsigned char val4
;
4386 unsigned char val5
;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4390 PyObject
* obj2
= 0 ;
4391 PyObject
* obj3
= 0 ;
4392 PyObject
* obj4
= 0 ;
4393 char * kwnames
[] = {
4394 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4399 if (!SWIG_IsOK(res1
)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4402 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4403 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4404 if (!SWIG_IsOK(ecode2
)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4407 arg2
= static_cast< byte
>(val2
);
4408 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4409 if (!SWIG_IsOK(ecode3
)) {
4410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4412 arg3
= static_cast< byte
>(val3
);
4413 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4414 if (!SWIG_IsOK(ecode4
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4417 arg4
= static_cast< byte
>(val4
);
4419 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4420 if (!SWIG_IsOK(ecode5
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4423 arg5
= static_cast< byte
>(val5
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_Py_Void();
4438 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= 0;
4440 wxColour
*arg1
= (wxColour
*) 0 ;
4441 unsigned long arg2
;
4444 unsigned long val2
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 char * kwnames
[] = {
4449 (char *) "self",(char *) "colRGB", NULL
4452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4454 if (!SWIG_IsOK(res1
)) {
4455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4457 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4458 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4459 if (!SWIG_IsOK(ecode2
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4462 arg2
= static_cast< unsigned long >(val2
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxColour
*arg1
= (wxColour
*) 0 ;
4479 wxString
*arg2
= 0 ;
4482 bool temp2
= false ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "colourName", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4491 if (!SWIG_IsOK(res1
)) {
4492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4494 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4496 arg2
= wxString_in_helper(obj1
);
4497 if (arg2
== NULL
) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 (arg1
)->Set((wxString
const &)*arg2
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_Py_Void();
4521 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxColour
*arg1
= (wxColour
*) 0 ;
4524 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 char * kwnames
[] = {
4533 (char *) "self",(char *) "flags", NULL
4536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4538 if (!SWIG_IsOK(res1
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4541 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4543 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4544 if (!SWIG_IsOK(ecode2
)) {
4545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4547 arg2
= static_cast< long >(val2
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4568 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4569 PyObject
*resultobj
= 0;
4570 wxColour
*arg1
= (wxColour
*) 0 ;
4574 PyObject
*swig_obj
[1] ;
4576 if (!args
) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4585 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_From_long(static_cast< long >(result
));
4596 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
= 0;
4598 wxColour
*arg1
= (wxColour
*) 0 ;
4599 PyObject
*arg2
= (PyObject
*) 0 ;
4603 PyObject
* obj0
= 0 ;
4604 PyObject
* obj1
= 0 ;
4605 char * kwnames
[] = {
4606 (char *) "self",(char *) "other", NULL
4609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4611 if (!SWIG_IsOK(res1
)) {
4612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4614 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4617 result
= (bool)wxColour___eq__(arg1
,arg2
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4629 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxColour
*arg1
= (wxColour
*) 0 ;
4632 PyObject
*arg2
= (PyObject
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "other", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4647 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4650 result
= (bool)wxColour___ne__(arg1
,arg2
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxColour
*arg1
= (wxColour
*) 0 ;
4665 bool arg2
= (bool) false ;
4666 PyObject
*result
= 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 char * kwnames
[] = {
4674 (char *) "self",(char *) "includeAlpha", NULL
4677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4682 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4684 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4685 if (!SWIG_IsOK(ecode2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4688 arg2
= static_cast< bool >(val2
);
4691 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4701 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxColour
*arg1
= (wxColour
*) 0 ;
4704 unsigned long result
;
4707 PyObject
*swig_obj
[1] ;
4709 if (!args
) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4715 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4717 result
= (unsigned long)wxColour_GetRGB(arg1
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4727 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4730 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4731 return SWIG_Py_Void();
4734 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 return SWIG_Python_InitShadowInstance(args
);
4738 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
= 0;
4741 unsigned char *arg2
= (unsigned char *) 0 ;
4742 unsigned char *arg3
= (unsigned char *) 0 ;
4743 unsigned char *arg4
= (unsigned char *) 0 ;
4744 wxPalette
*result
= 0 ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4763 if (!SWIG_IsOK(ecode1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4766 arg1
= static_cast< int >(val1
);
4767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4768 if (!SWIG_IsOK(res2
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4771 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4772 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4773 if (!SWIG_IsOK(res3
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4776 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4777 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4778 if (!SWIG_IsOK(res4
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4781 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4783 if (!wxPyCheckForApp()) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4796 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxPalette
*arg1
= (wxPalette
*) 0 ;
4801 PyObject
*swig_obj
[1] ;
4803 if (!args
) SWIG_fail
;
4805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4806 if (!SWIG_IsOK(res1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4809 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_Py_Void();
4824 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
= 0;
4826 wxPalette
*arg1
= (wxPalette
*) 0 ;
4833 unsigned char val2
;
4835 unsigned char val3
;
4837 unsigned char val4
;
4839 PyObject
* obj0
= 0 ;
4840 PyObject
* obj1
= 0 ;
4841 PyObject
* obj2
= 0 ;
4842 PyObject
* obj3
= 0 ;
4843 char * kwnames
[] = {
4844 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4849 if (!SWIG_IsOK(res1
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4852 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4853 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4854 if (!SWIG_IsOK(ecode2
)) {
4855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4857 arg2
= static_cast< byte
>(val2
);
4858 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4859 if (!SWIG_IsOK(ecode3
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4862 arg3
= static_cast< byte
>(val3
);
4863 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4864 if (!SWIG_IsOK(ecode4
)) {
4865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4867 arg4
= static_cast< byte
>(val4
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_From_int(static_cast< int >(result
));
4881 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
= 0;
4883 wxPalette
*arg1
= (wxPalette
*) 0 ;
4885 byte
*arg3
= (byte
*) 0 ;
4886 byte
*arg4
= (byte
*) 0 ;
4887 byte
*arg5
= (byte
*) 0 ;
4894 int res3
= SWIG_TMPOBJ
;
4896 int res4
= SWIG_TMPOBJ
;
4898 int res5
= SWIG_TMPOBJ
;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 char * kwnames
[] = {
4902 (char *) "self",(char *) "pixel", NULL
4908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4910 if (!SWIG_IsOK(res1
)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4913 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4915 if (!SWIG_IsOK(ecode2
)) {
4916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4918 arg2
= static_cast< int >(val2
);
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4928 if (SWIG_IsTmpObj(res3
)) {
4929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4934 if (SWIG_IsTmpObj(res4
)) {
4935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4937 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4940 if (SWIG_IsTmpObj(res5
)) {
4941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4943 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4952 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4954 wxPalette
*arg1
= (wxPalette
*) 0 ;
4958 PyObject
*swig_obj
[1] ;
4960 if (!args
) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4966 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_From_int(static_cast< int >(result
));
4980 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4981 PyObject
*resultobj
= 0;
4982 wxPalette
*arg1
= (wxPalette
*) 0 ;
4986 PyObject
*swig_obj
[1] ;
4988 if (!args
) SWIG_fail
;
4990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4991 if (!SWIG_IsOK(res1
)) {
4992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4994 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (bool)(arg1
)->IsOk();
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5010 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5013 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5014 return SWIG_Py_Void();
5017 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 return SWIG_Python_InitShadowInstance(args
);
5021 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
= 0;
5023 wxColour
*arg1
= 0 ;
5024 int arg2
= (int) 1 ;
5025 int arg3
= (int) wxSOLID
;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5034 PyObject
* obj2
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "colour",(char *) "width",(char *) "style", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5042 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5046 if (!SWIG_IsOK(ecode2
)) {
5047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5049 arg2
= static_cast< int >(val2
);
5052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5053 if (!SWIG_IsOK(ecode3
)) {
5054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5056 arg3
= static_cast< int >(val3
);
5059 if (!wxPyCheckForApp()) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5072 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5073 PyObject
*resultobj
= 0;
5074 wxPen
*arg1
= (wxPen
*) 0 ;
5077 PyObject
*swig_obj
[1] ;
5079 if (!args
) SWIG_fail
;
5081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5082 if (!SWIG_IsOK(res1
)) {
5083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5085 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_Py_Void();
5100 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5102 wxPen
*arg1
= (wxPen
*) 0 ;
5106 PyObject
*swig_obj
[1] ;
5108 if (!args
) SWIG_fail
;
5110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5111 if (!SWIG_IsOK(res1
)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5114 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (int)(arg1
)->GetCap();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_From_int(static_cast< int >(result
));
5128 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5129 PyObject
*resultobj
= 0;
5130 wxPen
*arg1
= (wxPen
*) 0 ;
5134 PyObject
*swig_obj
[1] ;
5136 if (!args
) SWIG_fail
;
5138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5139 if (!SWIG_IsOK(res1
)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5142 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= (arg1
)->GetColour();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5156 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxPen
*arg1
= (wxPen
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5170 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)(arg1
)->GetJoin();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int(static_cast< int >(result
));
5184 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5185 PyObject
*resultobj
= 0;
5186 wxPen
*arg1
= (wxPen
*) 0 ;
5190 PyObject
*swig_obj
[1] ;
5192 if (!args
) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5198 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (int)(arg1
)->GetStyle();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_From_int(static_cast< int >(result
));
5212 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 PyObject
*resultobj
= 0;
5214 wxPen
*arg1
= (wxPen
*) 0 ;
5218 PyObject
*swig_obj
[1] ;
5220 if (!args
) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5226 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (int)(arg1
)->GetWidth();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5233 resultobj
= SWIG_From_int(static_cast< int >(result
));
5240 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5241 PyObject
*resultobj
= 0;
5242 wxPen
*arg1
= (wxPen
*) 0 ;
5246 PyObject
*swig_obj
[1] ;
5248 if (!args
) SWIG_fail
;
5250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5251 if (!SWIG_IsOK(res1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5254 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (bool)(arg1
)->IsOk();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5270 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
= 0;
5272 wxPen
*arg1
= (wxPen
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 char * kwnames
[] = {
5281 (char *) "self",(char *) "cap_style", NULL
5284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5289 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5291 if (!SWIG_IsOK(ecode2
)) {
5292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5294 arg2
= static_cast< int >(val2
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 (arg1
)->SetCap(arg2
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_Py_Void();
5308 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5310 wxPen
*arg1
= (wxPen
*) 0 ;
5311 wxColour
*arg2
= 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5317 char * kwnames
[] = {
5318 (char *) "self",(char *) "colour", NULL
5321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5323 if (!SWIG_IsOK(res1
)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5326 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5333 (arg1
)->SetColour(*arg2
);
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5337 resultobj
= SWIG_Py_Void();
5344 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
= 0;
5346 wxPen
*arg1
= (wxPen
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5353 PyObject
* obj1
= 0 ;
5354 char * kwnames
[] = {
5355 (char *) "self",(char *) "join_style", NULL
5358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5360 if (!SWIG_IsOK(res1
)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5363 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5365 if (!SWIG_IsOK(ecode2
)) {
5366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5368 arg2
= static_cast< int >(val2
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 (arg1
)->SetJoin(arg2
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxPen
*arg1
= (wxPen
*) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5392 char * kwnames
[] = {
5393 (char *) "self",(char *) "style", NULL
5396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5398 if (!SWIG_IsOK(res1
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5401 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5403 if (!SWIG_IsOK(ecode2
)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5406 arg2
= static_cast< int >(val2
);
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetStyle(arg2
);
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= SWIG_Py_Void();
5420 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
= 0;
5422 wxPen
*arg1
= (wxPen
*) 0 ;
5428 PyObject
* obj0
= 0 ;
5429 PyObject
* obj1
= 0 ;
5430 char * kwnames
[] = {
5431 (char *) "self",(char *) "width", NULL
5434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5436 if (!SWIG_IsOK(res1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5439 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5441 if (!SWIG_IsOK(ecode2
)) {
5442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5444 arg2
= static_cast< int >(val2
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 (arg1
)->SetWidth(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 resultobj
= SWIG_Py_Void();
5458 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= 0;
5460 wxPen
*arg1
= (wxPen
*) 0 ;
5462 wxDash
*arg3
= (wxDash
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5467 char * kwnames
[] = {
5468 (char *) "self",(char *) "dashes", NULL
5471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5473 if (!SWIG_IsOK(res1
)) {
5474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5478 arg2
= PyList_Size(obj1
);
5479 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5480 if (arg3
== NULL
) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetDashes(arg2
,arg3
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= SWIG_Py_Void();
5490 if (arg3
) delete [] arg3
;
5495 if (arg3
) delete [] arg3
;
5501 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5503 wxPen
*arg1
= (wxPen
*) 0 ;
5504 PyObject
*result
= 0 ;
5507 PyObject
*swig_obj
[1] ;
5509 if (!args
) SWIG_fail
;
5511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5512 if (!SWIG_IsOK(res1
)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5515 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5529 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 wxPen
*arg1
= (wxPen
*) 0 ;
5532 PyObject
*arg2
= (PyObject
*) 0 ;
5533 PyObject
*arg3
= (PyObject
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 PyObject
* obj2
= 0 ;
5539 char * kwnames
[] = {
5540 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPen__SetDashes(arg1
,arg2
,arg3
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_Py_Void();
5564 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
= 0;
5566 wxPen
*arg1
= (wxPen
*) 0 ;
5567 wxPen
*arg2
= (wxPen
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5574 PyObject
* obj1
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "self",(char *) "other", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5584 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res2
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5589 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5605 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxPen
*arg1
= (wxPen
*) 0 ;
5608 wxPen
*arg2
= (wxPen
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "other", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5630 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5646 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5650 return SWIG_Py_Void();
5653 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5654 return SWIG_Python_InitShadowInstance(args
);
5657 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxColour
*arg1
= 0 ;
5660 int arg2
= (int) wxSOLID
;
5661 wxBrush
*result
= 0 ;
5665 PyObject
* obj0
= 0 ;
5666 PyObject
* obj1
= 0 ;
5667 char * kwnames
[] = {
5668 (char *) "colour",(char *) "style", NULL
5671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5674 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5678 if (!SWIG_IsOK(ecode2
)) {
5679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5681 arg2
= static_cast< int >(val2
);
5684 if (!wxPyCheckForApp()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5697 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxBitmap
*arg1
= 0 ;
5700 wxBrush
*result
= 0 ;
5703 PyObject
* obj0
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "stippleBitmap", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5716 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5731 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5732 PyObject
*resultobj
= 0;
5733 wxBrush
*arg1
= (wxBrush
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5744 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_Py_Void();
5759 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
= 0;
5761 wxBrush
*arg1
= (wxBrush
*) 0 ;
5762 wxColour
*arg2
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5768 char * kwnames
[] = {
5769 (char *) "self",(char *) "col", NULL
5772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5777 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetColour((wxColour
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
= 0;
5797 wxBrush
*arg1
= (wxBrush
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 char * kwnames
[] = {
5806 (char *) "self",(char *) "style", NULL
5809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5814 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5816 if (!SWIG_IsOK(ecode2
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5819 arg2
= static_cast< int >(val2
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->SetStyle(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_Py_Void();
5833 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
= 0;
5835 wxBrush
*arg1
= (wxBrush
*) 0 ;
5836 wxBitmap
*arg2
= 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "self",(char *) "stipple", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5852 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5854 if (!SWIG_IsOK(res2
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5860 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5880 PyObject
*swig_obj
[1] ;
5882 if (!args
) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5888 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= ((wxBrush
const *)arg1
)->GetColour();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5902 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxBrush
*arg1
= (wxBrush
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5916 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_From_int(static_cast< int >(result
));
5930 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxBrush
*arg1
= (wxBrush
*) 0 ;
5933 wxBitmap
*result
= 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5944 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5958 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxBrush
*arg1
= (wxBrush
*) 0 ;
5964 PyObject
*swig_obj
[1] ;
5966 if (!args
) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5972 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5988 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6002 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->IsOk();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6018 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(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_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6032 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (short)(arg1
)->MacGetTheme();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_From_short(static_cast< short >(result
));
6046 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
= 0;
6048 wxBrush
*arg1
= (wxBrush
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 char * kwnames
[] = {
6057 (char *) "self",(char *) "macThemeBrush", NULL
6060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6065 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6066 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6067 if (!SWIG_IsOK(ecode2
)) {
6068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6070 arg2
= static_cast< short >(val2
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 (arg1
)->MacSetTheme(arg2
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_Py_Void();
6084 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6087 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6088 return SWIG_Py_Void();
6091 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 return SWIG_Python_InitShadowInstance(args
);
6095 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
= 0;
6097 wxString
*arg1
= 0 ;
6098 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6099 wxBitmap
*result
= 0 ;
6100 bool temp1
= false ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 char * kwnames
[] = {
6106 (char *) "name",(char *) "type", NULL
6109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6111 arg1
= wxString_in_helper(obj0
);
6112 if (arg1
== NULL
) SWIG_fail
;
6116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6117 if (!SWIG_IsOK(ecode2
)) {
6118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6120 arg2
= static_cast< wxBitmapType
>(val2
);
6123 if (!wxPyCheckForApp()) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6126 wxPyEndAllowThreads(__tstate
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6144 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_Py_Void();
6170 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6174 int arg3
= (int) -1 ;
6175 wxBitmap
*result
= 0 ;
6182 PyObject
* obj0
= 0 ;
6183 PyObject
* obj1
= 0 ;
6184 PyObject
* obj2
= 0 ;
6185 char * kwnames
[] = {
6186 (char *) "width",(char *) "height",(char *) "depth", NULL
6189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6191 if (!SWIG_IsOK(ecode1
)) {
6192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6194 arg1
= static_cast< int >(val1
);
6195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6196 if (!SWIG_IsOK(ecode2
)) {
6197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6199 arg2
= static_cast< int >(val2
);
6201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6202 if (!SWIG_IsOK(ecode3
)) {
6203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6205 arg3
= static_cast< int >(val3
);
6208 if (!wxPyCheckForApp()) SWIG_fail
;
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6221 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
= 0;
6224 wxBitmap
*result
= 0 ;
6227 PyObject
* obj0
= 0 ;
6228 char * kwnames
[] = {
6229 (char *) "icon", NULL
6232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6233 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6234 if (!SWIG_IsOK(res1
)) {
6235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6240 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6242 if (!wxPyCheckForApp()) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6255 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= 0;
6258 int arg2
= (int) -1 ;
6259 wxBitmap
*result
= 0 ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "image",(char *) "depth", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6278 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6281 if (!SWIG_IsOK(ecode2
)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6284 arg2
= static_cast< int >(val2
);
6287 if (!wxPyCheckForApp()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6300 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
= 0;
6302 PyObject
*arg1
= (PyObject
*) 0 ;
6303 wxBitmap
*result
= 0 ;
6304 PyObject
* obj0
= 0 ;
6305 char * kwnames
[] = {
6306 (char *) "listOfStrings", NULL
6309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6312 if (!wxPyCheckForApp()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6325 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 PyObject
*arg1
= (PyObject
*) 0 ;
6330 int arg4
= (int) 1 ;
6331 wxBitmap
*result
= 0 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 char * kwnames
[] = {
6343 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6349 if (!SWIG_IsOK(ecode2
)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6352 arg2
= static_cast< int >(val2
);
6353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6354 if (!SWIG_IsOK(ecode3
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6357 arg3
= static_cast< int >(val3
);
6359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6360 if (!SWIG_IsOK(ecode4
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6363 arg4
= static_cast< int >(val4
);
6366 if (!wxPyCheckForApp()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6379 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6380 PyObject
*resultobj
= 0;
6381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6385 PyObject
*swig_obj
[1] ;
6387 if (!args
) SWIG_fail
;
6389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6390 if (!SWIG_IsOK(res1
)) {
6391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6393 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6395 result
= (bool)(arg1
)->IsOk();
6396 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6407 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6408 PyObject
*resultobj
= 0;
6409 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6413 PyObject
*swig_obj
[1] ;
6415 if (!args
) SWIG_fail
;
6417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6418 if (!SWIG_IsOK(res1
)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6421 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6423 result
= (int)(arg1
)->GetWidth();
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_From_int(static_cast< int >(result
));
6433 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6434 PyObject
*resultobj
= 0;
6435 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6439 PyObject
*swig_obj
[1] ;
6441 if (!args
) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6449 result
= (int)(arg1
)->GetHeight();
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 resultobj
= SWIG_From_int(static_cast< int >(result
));
6459 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6460 PyObject
*resultobj
= 0;
6461 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6465 PyObject
*swig_obj
[1] ;
6467 if (!args
) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 result
= (int)(arg1
)->GetDepth();
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int(static_cast< int >(result
));
6485 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6486 PyObject
*resultobj
= 0;
6487 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6499 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6501 result
= wxBitmap_GetSize(arg1
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6511 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6512 PyObject
*resultobj
= 0;
6513 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6514 SwigValueWrapper
<wxImage
> result
;
6517 PyObject
*swig_obj
[1] ;
6519 if (!args
) SWIG_fail
;
6521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6522 if (!SWIG_IsOK(res1
)) {
6523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6525 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6527 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6537 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6538 PyObject
*resultobj
= 0;
6539 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6540 wxMask
*result
= 0 ;
6543 PyObject
*swig_obj
[1] ;
6545 if (!args
) SWIG_fail
;
6547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6548 if (!SWIG_IsOK(res1
)) {
6549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6551 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6553 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6563 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
= 0;
6565 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6566 wxMask
*arg2
= (wxMask
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "mask", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6587 (arg1
)->SetMask(arg2
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6597 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6600 wxColour
*arg2
= 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 char * kwnames
[] = {
6607 (char *) "self",(char *) "colour", NULL
6610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6615 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6621 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= SWIG_Py_Void();
6631 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
= 0;
6633 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6635 SwigValueWrapper
<wxBitmap
> result
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 char * kwnames
[] = {
6642 (char *) "self",(char *) "rect", NULL
6645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6647 if (!SWIG_IsOK(res1
)) {
6648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6650 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6656 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6666 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
*resultobj
= 0;
6668 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6669 wxString
*arg2
= 0 ;
6671 wxPalette
*arg4
= (wxPalette
*) NULL
;
6675 bool temp2
= false ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 PyObject
* obj2
= 0 ;
6683 PyObject
* obj3
= 0 ;
6684 char * kwnames
[] = {
6685 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6693 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 arg2
= wxString_in_helper(obj1
);
6696 if (arg2
== NULL
) SWIG_fail
;
6699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6700 if (!SWIG_IsOK(ecode3
)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6703 arg3
= static_cast< wxBitmapType
>(val3
);
6705 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6706 if (!SWIG_IsOK(res4
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6709 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6712 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6732 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
= 0;
6734 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6735 wxString
*arg2
= 0 ;
6740 bool temp2
= false ;
6743 PyObject
* obj0
= 0 ;
6744 PyObject
* obj1
= 0 ;
6745 PyObject
* obj2
= 0 ;
6746 char * kwnames
[] = {
6747 (char *) "self",(char *) "name",(char *) "type", NULL
6750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6755 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6757 arg2
= wxString_in_helper(obj1
);
6758 if (arg2
== NULL
) SWIG_fail
;
6761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6762 if (!SWIG_IsOK(ecode3
)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6765 arg3
= static_cast< wxBitmapType
>(val3
);
6767 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6787 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 PyObject
*resultobj
= 0;
6789 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6790 wxPalette
*result
= 0 ;
6793 PyObject
*swig_obj
[1] ;
6795 if (!args
) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6801 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6803 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6813 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
= 0;
6815 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "icon", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6833 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6835 if (!SWIG_IsOK(res2
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6841 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6843 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6855 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "height", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6874 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6876 if (!SWIG_IsOK(ecode2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6879 arg2
= static_cast< int >(val2
);
6881 (arg1
)->SetHeight(arg2
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_Py_Void();
6891 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
= 0;
6893 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6901 char * kwnames
[] = {
6902 (char *) "self",(char *) "width", NULL
6905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6907 if (!SWIG_IsOK(res1
)) {
6908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6912 if (!SWIG_IsOK(ecode2
)) {
6913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6915 arg2
= static_cast< int >(val2
);
6917 (arg1
)->SetWidth(arg2
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 resultobj
= SWIG_Py_Void();
6927 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
= 0;
6929 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6937 char * kwnames
[] = {
6938 (char *) "self",(char *) "depth", NULL
6941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6943 if (!SWIG_IsOK(res1
)) {
6944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6946 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6948 if (!SWIG_IsOK(ecode2
)) {
6949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6951 arg2
= static_cast< int >(val2
);
6953 (arg1
)->SetDepth(arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_Py_Void();
6963 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 char * kwnames
[] = {
6973 (char *) "self",(char *) "size", NULL
6976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6978 if (!SWIG_IsOK(res1
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6981 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6987 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_Py_Void();
6997 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= 0;
6999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 char * kwnames
[] = {
7008 (char *) "self",(char *) "data", NULL
7011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7018 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7022 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_Py_Void();
7032 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
= 0;
7034 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7042 char * kwnames
[] = {
7043 (char *) "self",(char *) "data", NULL
7046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7048 if (!SWIG_IsOK(res1
)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7051 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7053 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7057 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_Py_Void();
7067 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7070 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 char * kwnames
[] = {
7079 (char *) "self",(char *) "other", NULL
7082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7084 if (!SWIG_IsOK(res1
)) {
7085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7087 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7089 if (!SWIG_IsOK(res2
)) {
7090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7092 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7094 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7106 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= 0;
7108 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7109 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7115 PyObject
* obj0
= 0 ;
7116 PyObject
* obj1
= 0 ;
7117 char * kwnames
[] = {
7118 (char *) "self",(char *) "other", NULL
7121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7128 if (!SWIG_IsOK(res2
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7131 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7133 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7145 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7148 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7149 return SWIG_Py_Void();
7152 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7153 return SWIG_Python_InitShadowInstance(args
);
7156 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
= 0;
7164 wxBitmap
*result
= 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7173 PyObject
* obj2
= 0 ;
7174 PyObject
* obj3
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7181 if (!SWIG_IsOK(ecode1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7184 arg1
= static_cast< int >(val1
);
7185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7186 if (!SWIG_IsOK(ecode2
)) {
7187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7189 arg2
= static_cast< int >(val2
);
7191 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7195 if (obj3
!= Py_None
) {
7196 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7201 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7211 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7217 wxBitmap
*result
= 0 ;
7223 PyObject
* obj0
= 0 ;
7224 PyObject
* obj1
= 0 ;
7225 PyObject
* obj2
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "width",(char *) "height",(char *) "data", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7232 if (!SWIG_IsOK(ecode1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7235 arg1
= static_cast< int >(val1
);
7236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7237 if (!SWIG_IsOK(ecode2
)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7240 arg2
= static_cast< int >(val2
);
7242 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7246 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7262 wxBitmap
*result
= 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 PyObject
* obj2
= 0 ;
7271 char * kwnames
[] = {
7272 (char *) "width",(char *) "height",(char *) "data", NULL
7275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7276 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7277 if (!SWIG_IsOK(ecode1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7280 arg1
= static_cast< int >(val1
);
7281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7282 if (!SWIG_IsOK(ecode2
)) {
7283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7285 arg2
= static_cast< int >(val2
);
7287 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7291 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7301 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 PyObject
*resultobj
= 0;
7303 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7307 PyObject
*swig_obj
[1] ;
7309 if (!args
) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7315 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7317 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7327 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7328 PyObject
*resultobj
= 0;
7329 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7333 PyObject
*swig_obj
[1] ;
7335 if (!args
) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7341 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7343 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_From_int(static_cast< int >(result
));
7353 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7354 PyObject
*resultobj
= 0;
7355 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7359 PyObject
*swig_obj
[1] ;
7361 if (!args
) SWIG_fail
;
7363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7364 if (!SWIG_IsOK(res1
)) {
7365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7367 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7369 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_From_int(static_cast< int >(result
));
7379 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7385 PyObject
*swig_obj
[1] ;
7387 if (!args
) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7393 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7395 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7405 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7406 PyObject
*resultobj
= 0;
7407 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7411 PyObject
*swig_obj
[1] ;
7413 if (!args
) SWIG_fail
;
7415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7416 if (!SWIG_IsOK(res1
)) {
7417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7419 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7421 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_From_int(static_cast< int >(result
));
7431 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7435 return SWIG_Py_Void();
7438 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7439 PyObject
*resultobj
= 0;
7440 wxBitmap
*arg1
= 0 ;
7441 wxNativePixelData
*result
= 0 ;
7445 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7453 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7455 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7465 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7466 PyObject
*resultobj
= 0;
7467 wxBitmap
*arg1
= 0 ;
7469 wxNativePixelData
*result
= 0 ;
7474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7485 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7488 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7498 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7499 PyObject
*resultobj
= 0;
7500 wxBitmap
*arg1
= 0 ;
7503 wxNativePixelData
*result
= 0 ;
7509 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7511 if (!SWIG_IsOK(res1
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7520 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7524 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7527 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7537 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7541 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7544 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7547 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7550 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7554 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7559 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7560 PyObject
*resultobj
= 0;
7561 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7564 PyObject
*swig_obj
[1] ;
7566 if (!args
) SWIG_fail
;
7568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7569 if (!SWIG_IsOK(res1
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7572 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7586 PyObject
*resultobj
= 0;
7587 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7588 wxNativePixelData_Accessor result
;
7591 PyObject
*swig_obj
[1] ;
7593 if (!args
) SWIG_fail
;
7595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7596 if (!SWIG_IsOK(res1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7599 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7601 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7602 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7611 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7612 PyObject
*resultobj
= 0;
7613 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7616 PyObject
*swig_obj
[1] ;
7618 if (!args
) SWIG_fail
;
7620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7621 if (!SWIG_IsOK(res1
)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7624 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_Py_Void();
7636 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7637 PyObject
*resultobj
= 0;
7638 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7642 PyObject
*swig_obj
[1] ;
7644 if (!args
) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7650 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7652 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7667 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7668 return SWIG_Py_Void();
7671 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7672 return SWIG_Python_InitShadowInstance(args
);
7675 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7676 PyObject
*resultobj
= 0;
7677 wxNativePixelData
*arg1
= 0 ;
7678 wxNativePixelData_Accessor
*result
= 0 ;
7682 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7690 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7692 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7702 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7703 PyObject
*resultobj
= 0;
7704 wxBitmap
*arg1
= 0 ;
7705 wxNativePixelData
*arg2
= 0 ;
7706 wxNativePixelData_Accessor
*result
= 0 ;
7712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7720 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7721 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7722 if (!SWIG_IsOK(res2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7728 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7730 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7740 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7741 PyObject
*resultobj
= 0;
7742 wxNativePixelData_Accessor
*result
= 0 ;
7744 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7746 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7756 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7760 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7763 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7766 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7769 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7773 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7778 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7779 PyObject
*resultobj
= 0;
7780 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7791 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_Py_Void();
7804 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7807 wxNativePixelData
*arg2
= 0 ;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "self",(char *) "data", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7823 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7825 if (!SWIG_IsOK(res2
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7831 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7833 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_Py_Void();
7843 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7844 PyObject
*resultobj
= 0;
7845 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7849 PyObject
*swig_obj
[1] ;
7851 if (!args
) SWIG_fail
;
7853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7854 if (!SWIG_IsOK(res1
)) {
7855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7857 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7859 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7871 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 PyObject
*resultobj
= 0;
7873 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7876 PyObject
*swig_obj
[1] ;
7878 if (!args
) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7884 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7886 wxNativePixelData_Accessor_nextPixel(arg1
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7899 wxNativePixelData
*arg2
= 0 ;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7913 PyObject
* obj3
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7923 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7925 if (!SWIG_IsOK(res2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7931 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7933 if (!SWIG_IsOK(ecode3
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7936 arg3
= static_cast< int >(val3
);
7937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7938 if (!SWIG_IsOK(ecode4
)) {
7939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7941 arg4
= static_cast< int >(val4
);
7943 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_Py_Void();
7953 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= 0;
7955 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7956 wxNativePixelData
*arg2
= 0 ;
7964 PyObject
* obj0
= 0 ;
7965 PyObject
* obj1
= 0 ;
7966 PyObject
* obj2
= 0 ;
7967 char * kwnames
[] = {
7968 (char *) "self",(char *) "data",(char *) "x", NULL
7971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7976 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7978 if (!SWIG_IsOK(res2
)) {
7979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7984 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7986 if (!SWIG_IsOK(ecode3
)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7989 arg3
= static_cast< int >(val3
);
7991 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_Py_Void();
8001 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8004 wxNativePixelData
*arg2
= 0 ;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8014 PyObject
* obj2
= 0 ;
8015 char * kwnames
[] = {
8016 (char *) "self",(char *) "data",(char *) "y", NULL
8019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8021 if (!SWIG_IsOK(res1
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8024 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8026 if (!SWIG_IsOK(res2
)) {
8027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8032 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8034 if (!SWIG_IsOK(ecode3
)) {
8035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8037 arg3
= static_cast< int >(val3
);
8039 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_Py_Void();
8049 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
= 0;
8051 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8052 wxNativePixelData
*arg2
= 0 ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 char * kwnames
[] = {
8068 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8076 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8078 if (!SWIG_IsOK(res2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8084 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8086 if (!SWIG_IsOK(ecode3
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8089 arg3
= static_cast< int >(val3
);
8090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8091 if (!SWIG_IsOK(ecode4
)) {
8092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8094 arg4
= static_cast< int >(val4
);
8096 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_Py_Void();
8106 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
= 0;
8108 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8114 unsigned char val2
;
8116 unsigned char val3
;
8118 unsigned char val4
;
8120 PyObject
* obj0
= 0 ;
8121 PyObject
* obj1
= 0 ;
8122 PyObject
* obj2
= 0 ;
8123 PyObject
* obj3
= 0 ;
8124 char * kwnames
[] = {
8125 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8130 if (!SWIG_IsOK(res1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8133 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8134 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8135 if (!SWIG_IsOK(ecode2
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8138 arg2
= static_cast< byte
>(val2
);
8139 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8140 if (!SWIG_IsOK(ecode3
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8143 arg3
= static_cast< byte
>(val3
);
8144 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8145 if (!SWIG_IsOK(ecode4
)) {
8146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8148 arg4
= static_cast< byte
>(val4
);
8150 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= SWIG_Py_Void();
8160 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8161 PyObject
*resultobj
= 0;
8162 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8163 PyObject
*result
= 0 ;
8166 PyObject
*swig_obj
[1] ;
8168 if (!args
) SWIG_fail
;
8170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8171 if (!SWIG_IsOK(res1
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8174 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8176 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8177 if (PyErr_Occurred()) SWIG_fail
;
8186 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8189 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8190 return SWIG_Py_Void();
8193 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 return SWIG_Python_InitShadowInstance(args
);
8197 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8198 PyObject
*resultobj
= 0;
8199 wxBitmap
*arg1
= 0 ;
8200 wxAlphaPixelData
*result
= 0 ;
8204 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8214 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8224 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8225 PyObject
*resultobj
= 0;
8226 wxBitmap
*arg1
= 0 ;
8228 wxAlphaPixelData
*result
= 0 ;
8233 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8241 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8244 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8247 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8257 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8258 PyObject
*resultobj
= 0;
8259 wxBitmap
*arg1
= 0 ;
8262 wxAlphaPixelData
*result
= 0 ;
8268 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8270 if (!SWIG_IsOK(res1
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8276 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8279 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8283 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8286 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8296 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8300 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8303 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8306 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8309 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8313 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8318 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8323 PyObject
*swig_obj
[1] ;
8325 if (!args
) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8331 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_Py_Void();
8344 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8345 PyObject
*resultobj
= 0;
8346 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8347 wxAlphaPixelData_Accessor result
;
8350 PyObject
*swig_obj
[1] ;
8352 if (!args
) SWIG_fail
;
8354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8355 if (!SWIG_IsOK(res1
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8358 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8360 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8370 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8371 PyObject
*resultobj
= 0;
8372 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8375 PyObject
*swig_obj
[1] ;
8377 if (!args
) SWIG_fail
;
8379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8380 if (!SWIG_IsOK(res1
)) {
8381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8383 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_Py_Void();
8395 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8396 PyObject
*resultobj
= 0;
8397 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8401 PyObject
*swig_obj
[1] ;
8403 if (!args
) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8409 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8411 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8426 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8427 return SWIG_Py_Void();
8430 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 return SWIG_Python_InitShadowInstance(args
);
8434 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8435 PyObject
*resultobj
= 0;
8436 wxAlphaPixelData
*arg1
= 0 ;
8437 wxAlphaPixelData_Accessor
*result
= 0 ;
8441 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8449 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8451 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8461 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8462 PyObject
*resultobj
= 0;
8463 wxBitmap
*arg1
= 0 ;
8464 wxAlphaPixelData
*arg2
= 0 ;
8465 wxAlphaPixelData_Accessor
*result
= 0 ;
8471 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8480 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8481 if (!SWIG_IsOK(res2
)) {
8482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8487 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8489 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8499 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8500 PyObject
*resultobj
= 0;
8501 wxAlphaPixelData_Accessor
*result
= 0 ;
8503 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8505 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8515 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8519 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8522 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8525 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8528 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8532 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8537 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8542 PyObject
*swig_obj
[1] ;
8544 if (!args
) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8550 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_Py_Void();
8563 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
*resultobj
= 0;
8565 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8566 wxAlphaPixelData
*arg2
= 0 ;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8573 char * kwnames
[] = {
8574 (char *) "self",(char *) "data", NULL
8577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8582 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8584 if (!SWIG_IsOK(res2
)) {
8585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8590 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8592 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= SWIG_Py_Void();
8602 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 PyObject
*resultobj
= 0;
8604 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8608 PyObject
*swig_obj
[1] ;
8610 if (!args
) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8616 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8618 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8630 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8631 PyObject
*resultobj
= 0;
8632 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8635 PyObject
*swig_obj
[1] ;
8637 if (!args
) SWIG_fail
;
8639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8640 if (!SWIG_IsOK(res1
)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8643 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8645 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_Py_Void();
8655 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
= 0;
8657 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8658 wxAlphaPixelData
*arg2
= 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8672 PyObject
* obj3
= 0 ;
8673 char * kwnames
[] = {
8674 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8682 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8684 if (!SWIG_IsOK(res2
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8690 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8692 if (!SWIG_IsOK(ecode3
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8695 arg3
= static_cast< int >(val3
);
8696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8697 if (!SWIG_IsOK(ecode4
)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8700 arg4
= static_cast< int >(val4
);
8702 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_Py_Void();
8712 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8715 wxAlphaPixelData
*arg2
= 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8725 PyObject
* obj2
= 0 ;
8726 char * kwnames
[] = {
8727 (char *) "self",(char *) "data",(char *) "x", NULL
8730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8732 if (!SWIG_IsOK(res1
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8735 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8737 if (!SWIG_IsOK(res2
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8743 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8745 if (!SWIG_IsOK(ecode3
)) {
8746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8748 arg3
= static_cast< int >(val3
);
8750 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= 0;
8762 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8763 wxAlphaPixelData
*arg2
= 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8773 PyObject
* obj2
= 0 ;
8774 char * kwnames
[] = {
8775 (char *) "self",(char *) "data",(char *) "y", NULL
8778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8780 if (!SWIG_IsOK(res1
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8783 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8785 if (!SWIG_IsOK(res2
)) {
8786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8791 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8793 if (!SWIG_IsOK(ecode3
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8796 arg3
= static_cast< int >(val3
);
8798 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_Py_Void();
8808 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
= 0;
8810 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8811 wxAlphaPixelData
*arg2
= 0 ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8835 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8837 if (!SWIG_IsOK(res2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8843 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8845 if (!SWIG_IsOK(ecode3
)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8848 arg3
= static_cast< int >(val3
);
8849 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8850 if (!SWIG_IsOK(ecode4
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8853 arg4
= static_cast< int >(val4
);
8855 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_Py_Void();
8865 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
= 0;
8867 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8874 unsigned char val2
;
8876 unsigned char val3
;
8878 unsigned char val4
;
8880 unsigned char val5
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8885 PyObject
* obj3
= 0 ;
8886 PyObject
* obj4
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8896 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8897 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8898 if (!SWIG_IsOK(ecode2
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8901 arg2
= static_cast< byte
>(val2
);
8902 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8903 if (!SWIG_IsOK(ecode3
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8906 arg3
= static_cast< byte
>(val3
);
8907 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8908 if (!SWIG_IsOK(ecode4
)) {
8909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8911 arg4
= static_cast< byte
>(val4
);
8912 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8913 if (!SWIG_IsOK(ecode5
)) {
8914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8916 arg5
= static_cast< byte
>(val5
);
8918 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_Py_Void();
8928 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 PyObject
*resultobj
= 0;
8930 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8931 PyObject
*result
= 0 ;
8934 PyObject
*swig_obj
[1] ;
8936 if (!args
) SWIG_fail
;
8938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8939 if (!SWIG_IsOK(res1
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8942 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8944 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8954 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8956 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8957 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8958 return SWIG_Py_Void();
8961 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 return SWIG_Python_InitShadowInstance(args
);
8965 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxBitmap
*arg1
= 0 ;
8968 wxColour
const &arg2_defvalue
= wxNullColour
;
8969 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8970 wxMask
*result
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 char * kwnames
[] = {
8977 (char *) "bitmap",(char *) "colour", NULL
8980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8982 if (!SWIG_IsOK(res1
)) {
8983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8988 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8996 if (!wxPyCheckForApp()) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9009 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9010 PyObject
*resultobj
= 0;
9011 wxMask
*arg1
= (wxMask
*) 0 ;
9014 PyObject
*swig_obj
[1] ;
9016 if (!args
) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9022 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_Py_Void();
9035 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9038 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9039 return SWIG_Py_Void();
9042 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9043 return SWIG_Python_InitShadowInstance(args
);
9046 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxString
*arg1
= 0 ;
9050 int arg3
= (int) -1 ;
9051 int arg4
= (int) -1 ;
9052 wxIcon
*result
= 0 ;
9053 bool temp1
= false ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9062 PyObject
* obj2
= 0 ;
9063 PyObject
* obj3
= 0 ;
9064 char * kwnames
[] = {
9065 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9070 arg1
= wxString_in_helper(obj0
);
9071 if (arg1
== NULL
) SWIG_fail
;
9074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9075 if (!SWIG_IsOK(ecode2
)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9078 arg2
= static_cast< wxBitmapType
>(val2
);
9080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9081 if (!SWIG_IsOK(ecode3
)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9084 arg3
= static_cast< int >(val3
);
9087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9088 if (!SWIG_IsOK(ecode4
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9091 arg4
= static_cast< int >(val4
);
9094 if (!wxPyCheckForApp()) SWIG_fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9115 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 PyObject
*resultobj
= 0;
9117 wxIcon
*arg1
= (wxIcon
*) 0 ;
9120 PyObject
*swig_obj
[1] ;
9122 if (!args
) SWIG_fail
;
9124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9125 if (!SWIG_IsOK(res1
)) {
9126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9128 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_Py_Void();
9143 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9144 PyObject
*resultobj
= 0;
9145 wxIcon
*result
= 0 ;
9147 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9149 if (!wxPyCheckForApp()) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (wxIcon
*)new wxIcon();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9162 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxIconLocation
*arg1
= 0 ;
9165 wxIcon
*result
= 0 ;
9168 PyObject
* obj0
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "loc", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9181 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9183 if (!wxPyCheckForApp()) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9196 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
= 0;
9198 wxBitmap
*arg1
= 0 ;
9199 wxIcon
*result
= 0 ;
9202 PyObject
* obj0
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "bmp", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9217 if (!wxPyCheckForApp()) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9230 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
= 0;
9232 PyObject
*arg1
= (PyObject
*) 0 ;
9233 wxIcon
*result
= 0 ;
9234 PyObject
* obj0
= 0 ;
9235 char * kwnames
[] = {
9236 (char *) "listOfStrings", NULL
9239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9242 if (!wxPyCheckForApp()) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxIcon
*)new_wxIcon(arg1
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9255 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxIcon
*arg1
= (wxIcon
*) 0 ;
9261 PyObject
*swig_obj
[1] ;
9263 if (!args
) SWIG_fail
;
9265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9266 if (!SWIG_IsOK(res1
)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9269 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (bool)(arg1
)->IsOk();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9285 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9286 PyObject
*resultobj
= 0;
9287 wxIcon
*arg1
= (wxIcon
*) 0 ;
9291 PyObject
*swig_obj
[1] ;
9293 if (!args
) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9299 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (int)(arg1
)->GetWidth();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= SWIG_From_int(static_cast< int >(result
));
9313 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9314 PyObject
*resultobj
= 0;
9315 wxIcon
*arg1
= (wxIcon
*) 0 ;
9319 PyObject
*swig_obj
[1] ;
9321 if (!args
) SWIG_fail
;
9323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9324 if (!SWIG_IsOK(res1
)) {
9325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9327 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (int)(arg1
)->GetHeight();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_From_int(static_cast< int >(result
));
9341 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9355 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetDepth();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_From_int(static_cast< int >(result
));
9369 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxIcon
*arg1
= (wxIcon
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9379 char * kwnames
[] = {
9380 (char *) "self",(char *) "w", NULL
9383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9388 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9390 if (!SWIG_IsOK(ecode2
)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9393 arg2
= static_cast< int >(val2
);
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 (arg1
)->SetWidth(arg2
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9400 resultobj
= SWIG_Py_Void();
9407 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9408 PyObject
*resultobj
= 0;
9409 wxIcon
*arg1
= (wxIcon
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9417 char * kwnames
[] = {
9418 (char *) "self",(char *) "h", NULL
9421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9423 if (!SWIG_IsOK(res1
)) {
9424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9426 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9428 if (!SWIG_IsOK(ecode2
)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9431 arg2
= static_cast< int >(val2
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->SetHeight(arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_Py_Void();
9445 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
= 0;
9447 wxIcon
*arg1
= (wxIcon
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 char * kwnames
[] = {
9456 (char *) "self",(char *) "d", NULL
9459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9464 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9466 if (!SWIG_IsOK(ecode2
)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9469 arg2
= static_cast< int >(val2
);
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 (arg1
)->SetDepth(arg2
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_Py_Void();
9483 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
= 0;
9485 wxIcon
*arg1
= (wxIcon
*) 0 ;
9486 wxBitmap
*arg2
= 0 ;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9493 char * kwnames
[] = {
9494 (char *) "self",(char *) "bmp", NULL
9497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9502 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9504 if (!SWIG_IsOK(res2
)) {
9505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9510 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9527 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9528 return SWIG_Py_Void();
9531 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9532 return SWIG_Python_InitShadowInstance(args
);
9535 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9538 int arg2
= (int) 0 ;
9539 wxIconLocation
*result
= 0 ;
9540 bool temp1
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "filename",(char *) "num", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 arg1
= wxString_in_helper(obj0
);
9553 if (arg1
== NULL
) SWIG_fail
;
9558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9559 if (!SWIG_IsOK(ecode2
)) {
9560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9562 arg2
= static_cast< int >(val2
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9585 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 PyObject
*resultobj
= 0;
9587 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9590 PyObject
*swig_obj
[1] ;
9592 if (!args
) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9598 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= SWIG_Py_Void();
9613 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9614 PyObject
*resultobj
= 0;
9615 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9619 PyObject
*swig_obj
[1] ;
9621 if (!args
) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9627 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9643 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
= 0;
9645 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9646 wxString
*arg2
= 0 ;
9649 bool temp2
= false ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "filename", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9661 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9663 arg2
= wxString_in_helper(obj1
);
9664 if (arg2
== NULL
) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetFileName((wxString
const &)*arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_Py_Void();
9688 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9689 PyObject
*resultobj
= 0;
9690 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9691 wxString
*result
= 0 ;
9694 PyObject
*swig_obj
[1] ;
9696 if (!args
) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9702 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9707 result
= (wxString
*) &_result_ref
;
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9725 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= 0;
9727 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 char * kwnames
[] = {
9736 (char *) "self",(char *) "num", NULL
9739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9741 if (!SWIG_IsOK(res1
)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9744 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9746 if (!SWIG_IsOK(ecode2
)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9749 arg2
= static_cast< int >(val2
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 wxIconLocation_SetIndex(arg1
,arg2
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_Py_Void();
9763 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9764 PyObject
*resultobj
= 0;
9765 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9769 PyObject
*swig_obj
[1] ;
9771 if (!args
) SWIG_fail
;
9773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9774 if (!SWIG_IsOK(res1
)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9777 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)wxIconLocation_GetIndex(arg1
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 resultobj
= SWIG_From_int(static_cast< int >(result
));
9791 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9794 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9795 return SWIG_Py_Void();
9798 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9799 return SWIG_Python_InitShadowInstance(args
);
9802 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9803 PyObject
*resultobj
= 0;
9804 wxIconBundle
*result
= 0 ;
9806 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (wxIconBundle
*)new wxIconBundle();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9820 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
= 0;
9822 wxString
*arg1
= 0 ;
9824 wxIconBundle
*result
= 0 ;
9825 bool temp1
= false ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "file",(char *) "type", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9836 arg1
= wxString_in_helper(obj0
);
9837 if (arg1
== NULL
) SWIG_fail
;
9840 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9841 if (!SWIG_IsOK(ecode2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9844 arg2
= static_cast< long >(val2
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9866 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
= 0;
9869 wxIconBundle
*result
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "icon", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9885 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9899 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9900 PyObject
*resultobj
= 0;
9901 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9904 PyObject
*swig_obj
[1] ;
9906 if (!args
) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9912 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_Py_Void();
9927 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
= 0;
9929 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "self",(char *) "icon", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9943 if (!SWIG_IsOK(res1
)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9946 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9948 if (!SWIG_IsOK(res2
)) {
9949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9954 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_Py_Void();
9968 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9970 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9971 wxString
*arg2
= 0 ;
9975 bool temp2
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "self",(char *) "file",(char *) "type", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9990 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9992 arg2
= wxString_in_helper(obj1
);
9993 if (arg2
== NULL
) SWIG_fail
;
9996 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9997 if (!SWIG_IsOK(ecode3
)) {
9998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10000 arg3
= static_cast< long >(val3
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_Py_Void();
10022 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
= 0;
10024 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10026 wxIcon
*result
= 0 ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 char * kwnames
[] = {
10033 (char *) "self",(char *) "size", NULL
10036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10041 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10050 result
= (wxIcon
*) &_result_ref
;
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 wxIcon
* resultptr
= new wxIcon(*result
);
10057 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10065 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10068 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10069 return SWIG_Py_Void();
10072 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10073 return SWIG_Python_InitShadowInstance(args
);
10076 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxString
*arg1
= 0 ;
10080 int arg3
= (int) 0 ;
10081 int arg4
= (int) 0 ;
10082 wxCursor
*result
= 0 ;
10083 bool temp1
= false ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 PyObject
* obj2
= 0 ;
10093 PyObject
* obj3
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10100 arg1
= wxString_in_helper(obj0
);
10101 if (arg1
== NULL
) SWIG_fail
;
10104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10108 arg2
= static_cast< long >(val2
);
10110 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10111 if (!SWIG_IsOK(ecode3
)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10114 arg3
= static_cast< int >(val3
);
10117 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10118 if (!SWIG_IsOK(ecode4
)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10121 arg4
= static_cast< int >(val4
);
10124 if (!wxPyCheckForApp()) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10145 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10146 PyObject
*resultobj
= 0;
10147 wxCursor
*arg1
= (wxCursor
*) 0 ;
10150 PyObject
*swig_obj
[1] ;
10152 if (!args
) SWIG_fail
;
10153 swig_obj
[0] = args
;
10154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10155 if (!SWIG_IsOK(res1
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10158 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_Py_Void();
10173 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
= 0;
10176 wxCursor
*result
= 0 ;
10179 PyObject
* obj0
= 0 ;
10180 char * kwnames
[] = {
10181 (char *) "id", NULL
10184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10186 if (!SWIG_IsOK(ecode1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10189 arg1
= static_cast< int >(val1
);
10191 if (!wxPyCheckForApp()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (wxCursor
*)new wxCursor(arg1
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10204 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxImage
*arg1
= 0 ;
10207 wxCursor
*result
= 0 ;
10210 PyObject
* obj0
= 0 ;
10211 char * kwnames
[] = {
10212 (char *) "image", NULL
10215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10216 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10223 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10225 if (!wxPyCheckForApp()) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10238 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10239 PyObject
*resultobj
= 0;
10240 wxCursor
*arg1
= (wxCursor
*) 0 ;
10244 PyObject
*swig_obj
[1] ;
10246 if (!args
) SWIG_fail
;
10247 swig_obj
[0] = args
;
10248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10252 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->IsOk();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10271 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10272 return SWIG_Py_Void();
10275 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10276 return SWIG_Python_InitShadowInstance(args
);
10279 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 int arg1
= (int) 0 ;
10282 int arg2
= (int) 0 ;
10283 int arg3
= (int) 0 ;
10284 int arg4
= (int) 0 ;
10285 wxRegion
*result
= 0 ;
10294 PyObject
* obj0
= 0 ;
10295 PyObject
* obj1
= 0 ;
10296 PyObject
* obj2
= 0 ;
10297 PyObject
* obj3
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10305 if (!SWIG_IsOK(ecode1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10308 arg1
= static_cast< int >(val1
);
10311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10312 if (!SWIG_IsOK(ecode2
)) {
10313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10315 arg2
= static_cast< int >(val2
);
10318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10319 if (!SWIG_IsOK(ecode3
)) {
10320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10322 arg3
= static_cast< int >(val3
);
10325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10326 if (!SWIG_IsOK(ecode4
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10329 arg4
= static_cast< int >(val4
);
10332 if (!wxPyCheckForApp()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10345 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxBitmap
*arg1
= 0 ;
10348 wxRegion
*result
= 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "bmp", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10357 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10366 if (!wxPyCheckForApp()) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10379 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= 0;
10381 wxBitmap
*arg1
= 0 ;
10382 wxColour
*arg2
= 0 ;
10383 int arg3
= (int) 0 ;
10384 wxRegion
*result
= 0 ;
10390 PyObject
* obj0
= 0 ;
10391 PyObject
* obj1
= 0 ;
10392 PyObject
* obj2
= 0 ;
10393 char * kwnames
[] = {
10394 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10398 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10408 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10412 if (!SWIG_IsOK(ecode3
)) {
10413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10415 arg3
= static_cast< int >(val3
);
10418 if (!wxPyCheckForApp()) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10431 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10434 wxPoint
*arg2
= (wxPoint
*) 0 ;
10435 int arg3
= (int) wxWINDING_RULE
;
10436 wxRegion
*result
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "points",(char *) "fillStyle", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10447 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10448 if (arg2
== NULL
) SWIG_fail
;
10451 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10452 if (!SWIG_IsOK(ecode3
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10455 arg3
= static_cast< int >(val3
);
10458 if (!wxPyCheckForApp()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10466 if (arg2
) delete [] arg2
;
10471 if (arg2
) delete [] arg2
;
10477 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxRegion
*arg1
= (wxRegion
*) 0 ;
10482 PyObject
*swig_obj
[1] ;
10484 if (!args
) SWIG_fail
;
10485 swig_obj
[0] = args
;
10486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10487 if (!SWIG_IsOK(res1
)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 resultobj
= SWIG_Py_Void();
10505 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10506 PyObject
*resultobj
= 0;
10507 wxRegion
*arg1
= (wxRegion
*) 0 ;
10510 PyObject
*swig_obj
[1] ;
10512 if (!args
) SWIG_fail
;
10513 swig_obj
[0] = args
;
10514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10518 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_Py_Void();
10532 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10533 PyObject
*resultobj
= 0;
10534 wxRegion
*arg1
= (wxRegion
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 char * kwnames
[] = {
10548 (char *) "self",(char *) "x",(char *) "y", NULL
10551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10556 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10558 if (!SWIG_IsOK(ecode2
)) {
10559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10561 arg2
= static_cast< int >(val2
);
10562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10563 if (!SWIG_IsOK(ecode3
)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10566 arg3
= static_cast< int >(val3
);
10568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10569 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10582 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxRegion
*arg1
= (wxRegion
*) 0 ;
10587 wxRegionContain result
;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 PyObject
* obj2
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "x",(char *) "y", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10606 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10608 if (!SWIG_IsOK(ecode2
)) {
10609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10611 arg2
= static_cast< int >(val2
);
10612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10613 if (!SWIG_IsOK(ecode3
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10616 arg3
= static_cast< int >(val3
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_From_int(static_cast< int >(result
));
10630 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
= 0;
10632 wxRegion
*arg1
= (wxRegion
*) 0 ;
10633 wxPoint
*arg2
= 0 ;
10634 wxRegionContain result
;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "pt", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10649 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_From_int(static_cast< int >(result
));
10667 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRegion
*arg1
= (wxRegion
*) 0 ;
10671 wxRegionContain result
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "rect", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10686 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10689 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_From_int(static_cast< int >(result
));
10704 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= 0;
10706 wxRegion
*arg1
= (wxRegion
*) 0 ;
10711 wxRegionContain result
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 PyObject
* obj3
= 0 ;
10726 PyObject
* obj4
= 0 ;
10727 char * kwnames
[] = {
10728 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10733 if (!SWIG_IsOK(res1
)) {
10734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10736 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10738 if (!SWIG_IsOK(ecode2
)) {
10739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10741 arg2
= static_cast< int >(val2
);
10742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10743 if (!SWIG_IsOK(ecode3
)) {
10744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10746 arg3
= static_cast< int >(val3
);
10747 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10748 if (!SWIG_IsOK(ecode4
)) {
10749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10751 arg4
= static_cast< int >(val4
);
10752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10753 if (!SWIG_IsOK(ecode5
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10756 arg5
= static_cast< int >(val5
);
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 resultobj
= SWIG_From_int(static_cast< int >(result
));
10770 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10771 PyObject
*resultobj
= 0;
10772 wxRegion
*arg1
= (wxRegion
*) 0 ;
10776 PyObject
*swig_obj
[1] ;
10778 if (!args
) SWIG_fail
;
10779 swig_obj
[0] = args
;
10780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10781 if (!SWIG_IsOK(res1
)) {
10782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10784 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= (arg1
)->GetBox();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10798 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
= 0;
10800 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 PyObject
* obj3
= 0 ;
10820 PyObject
* obj4
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10830 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10837 if (!SWIG_IsOK(ecode3
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10840 arg3
= static_cast< int >(val3
);
10841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10842 if (!SWIG_IsOK(ecode4
)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10845 arg4
= static_cast< int >(val4
);
10846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10847 if (!SWIG_IsOK(ecode5
)) {
10848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10850 arg5
= static_cast< int >(val5
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10866 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= 0;
10868 wxRegion
*arg1
= (wxRegion
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "rect", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10888 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10905 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
= 0;
10907 wxRegion
*arg1
= (wxRegion
*) 0 ;
10908 wxRegion
*arg2
= 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "region", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10927 if (!SWIG_IsOK(res2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10933 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10949 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10950 PyObject
*resultobj
= 0;
10951 wxRegion
*arg1
= (wxRegion
*) 0 ;
10955 PyObject
*swig_obj
[1] ;
10957 if (!args
) SWIG_fail
;
10958 swig_obj
[0] = args
;
10959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10960 if (!SWIG_IsOK(res1
)) {
10961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10963 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)(arg1
)->IsEmpty();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
= 0;
10981 wxRegion
*arg1
= (wxRegion
*) 0 ;
10982 wxRegion
*arg2
= 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "region", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10999 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11001 if (!SWIG_IsOK(res2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11007 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRegion
*arg1
= (wxRegion
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 PyObject
* obj3
= 0 ;
11045 PyObject
* obj4
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11057 if (!SWIG_IsOK(ecode2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11060 arg2
= static_cast< int >(val2
);
11061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11067 if (!SWIG_IsOK(ecode4
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11070 arg4
= static_cast< int >(val4
);
11071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11072 if (!SWIG_IsOK(ecode5
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11075 arg5
= static_cast< int >(val5
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxRegion
*arg1
= (wxRegion
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "rect", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 wxRegion
*arg2
= 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "region", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11152 if (!SWIG_IsOK(res2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11158 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11174 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
= 0;
11176 wxRegion
*arg1
= (wxRegion
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 PyObject
* obj3
= 0 ;
11196 PyObject
* obj4
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11206 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11208 if (!SWIG_IsOK(ecode2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11211 arg2
= static_cast< int >(val2
);
11212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11213 if (!SWIG_IsOK(ecode3
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11216 arg3
= static_cast< int >(val3
);
11217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11218 if (!SWIG_IsOK(ecode4
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11221 arg4
= static_cast< int >(val4
);
11222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11223 if (!SWIG_IsOK(ecode5
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11226 arg5
= static_cast< int >(val5
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11242 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11244 wxRegion
*arg1
= (wxRegion
*) 0 ;
11250 PyObject
* obj0
= 0 ;
11251 PyObject
* obj1
= 0 ;
11252 char * kwnames
[] = {
11253 (char *) "self",(char *) "rect", NULL
11256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11261 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxRegion
*arg1
= (wxRegion
*) 0 ;
11284 wxRegion
*arg2
= 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "region", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",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_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11303 if (!SWIG_IsOK(res2
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11309 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
= 0;
11327 wxRegion
*arg1
= (wxRegion
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 PyObject
* obj1
= 0 ;
11345 PyObject
* obj2
= 0 ;
11346 PyObject
* obj3
= 0 ;
11347 PyObject
* obj4
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11357 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11359 if (!SWIG_IsOK(ecode2
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11362 arg2
= static_cast< int >(val2
);
11363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11364 if (!SWIG_IsOK(ecode3
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11367 arg3
= static_cast< int >(val3
);
11368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11369 if (!SWIG_IsOK(ecode4
)) {
11370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11372 arg4
= static_cast< int >(val4
);
11373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11374 if (!SWIG_IsOK(ecode5
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11377 arg5
= static_cast< int >(val5
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
= 0;
11395 wxRegion
*arg1
= (wxRegion
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "rect", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11412 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11415 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11432 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxRegion
*arg1
= (wxRegion
*) 0 ;
11435 wxRegion
*arg2
= 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "region", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11452 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11453 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11454 if (!SWIG_IsOK(res2
)) {
11455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11460 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11476 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11477 PyObject
*resultobj
= 0;
11478 wxRegion
*arg1
= (wxRegion
*) 0 ;
11479 SwigValueWrapper
<wxBitmap
> result
;
11482 PyObject
*swig_obj
[1] ;
11484 if (!args
) SWIG_fail
;
11485 swig_obj
[0] = args
;
11486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11490 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (arg1
)->ConvertToBitmap();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11504 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
= 0;
11506 wxRegion
*arg1
= (wxRegion
*) 0 ;
11507 wxBitmap
*arg2
= 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char * kwnames
[] = {
11516 (char *) "self",(char *) "bmp", NULL
11519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11524 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11526 if (!SWIG_IsOK(res2
)) {
11527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11532 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxRegion
*arg1
= (wxRegion
*) 0 ;
11551 wxBitmap
*arg2
= 0 ;
11552 wxColour
*arg3
= 0 ;
11553 int arg4
= (int) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 PyObject
* obj2
= 0 ;
11565 PyObject
* obj3
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11575 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11577 if (!SWIG_IsOK(res2
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11583 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11590 if (!SWIG_IsOK(ecode4
)) {
11591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11593 arg4
= static_cast< int >(val4
);
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11610 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11613 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11614 return SWIG_Py_Void();
11617 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11618 return SWIG_Python_InitShadowInstance(args
);
11621 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
*resultobj
= 0;
11623 wxRegion
*arg1
= 0 ;
11624 wxRegionIterator
*result
= 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char * kwnames
[] = {
11629 (char *) "region", NULL
11632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11633 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11634 if (!SWIG_IsOK(res1
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11640 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11642 if (!wxPyCheckForApp()) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11655 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11660 PyObject
*swig_obj
[1] ;
11662 if (!args
) SWIG_fail
;
11663 swig_obj
[0] = args
;
11664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11665 if (!SWIG_IsOK(res1
)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11668 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_Py_Void();
11683 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11689 PyObject
*swig_obj
[1] ;
11691 if (!args
) SWIG_fail
;
11692 swig_obj
[0] = args
;
11693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11697 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (int)(arg1
)->GetX();
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_From_int(static_cast< int >(result
));
11711 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11712 PyObject
*resultobj
= 0;
11713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11717 PyObject
*swig_obj
[1] ;
11719 if (!args
) SWIG_fail
;
11720 swig_obj
[0] = args
;
11721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11722 if (!SWIG_IsOK(res1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11725 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (int)(arg1
)->GetY();
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_From_int(static_cast< int >(result
));
11739 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11740 PyObject
*resultobj
= 0;
11741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11745 PyObject
*swig_obj
[1] ;
11747 if (!args
) SWIG_fail
;
11748 swig_obj
[0] = args
;
11749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11750 if (!SWIG_IsOK(res1
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11753 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)(arg1
)->GetW();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_int(static_cast< int >(result
));
11767 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11768 PyObject
*resultobj
= 0;
11769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11773 PyObject
*swig_obj
[1] ;
11775 if (!args
) SWIG_fail
;
11776 swig_obj
[0] = args
;
11777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11781 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)(arg1
)->GetWidth();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int(static_cast< int >(result
));
11795 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11809 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (int)(arg1
)->GetH();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11824 PyObject
*resultobj
= 0;
11825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11829 PyObject
*swig_obj
[1] ;
11831 if (!args
) SWIG_fail
;
11832 swig_obj
[0] = args
;
11833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11837 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (int)(arg1
)->GetHeight();
11841 wxPyEndAllowThreads(__tstate
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11844 resultobj
= SWIG_From_int(static_cast< int >(result
));
11851 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11852 PyObject
*resultobj
= 0;
11853 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11857 PyObject
*swig_obj
[1] ;
11859 if (!args
) SWIG_fail
;
11860 swig_obj
[0] = args
;
11861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11862 if (!SWIG_IsOK(res1
)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11865 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (arg1
)->GetRect();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11879 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 PyObject
*resultobj
= 0;
11881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11885 PyObject
*swig_obj
[1] ;
11887 if (!args
) SWIG_fail
;
11888 swig_obj
[0] = args
;
11889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11890 if (!SWIG_IsOK(res1
)) {
11891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11893 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->HaveRects();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11909 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11910 PyObject
*resultobj
= 0;
11911 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11922 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= SWIG_Py_Void();
11936 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11937 PyObject
*resultobj
= 0;
11938 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 wxRegionIterator_Next(arg1
);
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_Py_Void();
11963 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11993 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11996 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11997 return SWIG_Py_Void();
12000 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12001 return SWIG_Python_InitShadowInstance(args
);
12004 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxNativeFontInfo
*result
= 0 ;
12008 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12022 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 PyObject
*resultobj
= 0;
12024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12027 PyObject
*swig_obj
[1] ;
12029 if (!args
) SWIG_fail
;
12030 swig_obj
[0] = args
;
12031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12032 if (!SWIG_IsOK(res1
)) {
12033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_Py_Void();
12050 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12051 PyObject
*resultobj
= 0;
12052 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12055 PyObject
*swig_obj
[1] ;
12057 if (!args
) SWIG_fail
;
12058 swig_obj
[0] = args
;
12059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12063 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_Py_Void();
12077 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= 0;
12079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "font", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12096 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12098 if (!SWIG_IsOK(res2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12104 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_Py_Void();
12118 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12119 PyObject
*resultobj
= 0;
12120 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12124 PyObject
*swig_obj
[1] ;
12126 if (!args
) SWIG_fail
;
12127 swig_obj
[0] = args
;
12128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12129 if (!SWIG_IsOK(res1
)) {
12130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12132 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_From_int(static_cast< int >(result
));
12146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12149 wxFontStyle result
;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12160 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= SWIG_From_int(static_cast< int >(result
));
12174 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12175 PyObject
*resultobj
= 0;
12176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12177 wxFontWeight result
;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12188 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_From_int(static_cast< int >(result
));
12202 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12203 PyObject
*resultobj
= 0;
12204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12208 PyObject
*swig_obj
[1] ;
12210 if (!args
) SWIG_fail
;
12211 swig_obj
[0] = args
;
12212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12213 if (!SWIG_IsOK(res1
)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12266 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12267 PyObject
*resultobj
= 0;
12268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12269 wxFontFamily result
;
12272 PyObject
*swig_obj
[1] ;
12274 if (!args
) SWIG_fail
;
12275 swig_obj
[0] = args
;
12276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12277 if (!SWIG_IsOK(res1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12280 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_From_int(static_cast< int >(result
));
12294 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 PyObject
*resultobj
= 0;
12296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12297 wxFontEncoding result
;
12300 PyObject
*swig_obj
[1] ;
12302 if (!args
) SWIG_fail
;
12303 swig_obj
[0] = args
;
12304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12308 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_From_int(static_cast< int >(result
));
12322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= 0;
12324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char * kwnames
[] = {
12333 (char *) "self",(char *) "pointsize", NULL
12336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12338 if (!SWIG_IsOK(res1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12341 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12343 if (!SWIG_IsOK(ecode2
)) {
12344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12346 arg2
= static_cast< int >(val2
);
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 (arg1
)->SetPointSize(arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= SWIG_Py_Void();
12360 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
= 0;
12362 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12368 PyObject
* obj0
= 0 ;
12369 PyObject
* obj1
= 0 ;
12370 char * kwnames
[] = {
12371 (char *) "self",(char *) "style", NULL
12374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12379 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12381 if (!SWIG_IsOK(ecode2
)) {
12382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12384 arg2
= static_cast< wxFontStyle
>(val2
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 (arg1
)->SetStyle(arg2
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_Py_Void();
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12401 wxFontWeight arg2
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char * kwnames
[] = {
12409 (char *) "self",(char *) "weight", NULL
12412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12414 if (!SWIG_IsOK(res1
)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12417 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12419 if (!SWIG_IsOK(ecode2
)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12422 arg2
= static_cast< wxFontWeight
>(val2
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 (arg1
)->SetWeight(arg2
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12438 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 PyObject
* obj1
= 0 ;
12446 char * kwnames
[] = {
12447 (char *) "self",(char *) "underlined", NULL
12450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12452 if (!SWIG_IsOK(res1
)) {
12453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12455 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12457 if (!SWIG_IsOK(ecode2
)) {
12458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12460 arg2
= static_cast< bool >(val2
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetUnderlined(arg2
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "self",(char *) "facename", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12492 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12494 wxString
* sptr
= wxString_in_helper(obj1
);
12495 if (sptr
== NULL
) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (bool)(arg1
)->SetFaceName(arg2
);
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12517 wxFontFamily arg2
;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "self",(char *) "family", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12533 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12535 if (!SWIG_IsOK(ecode2
)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12538 arg2
= static_cast< wxFontFamily
>(val2
);
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 (arg1
)->SetFamily(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= SWIG_Py_Void();
12552 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= 0;
12554 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12555 wxFontEncoding arg2
;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char * kwnames
[] = {
12563 (char *) "self",(char *) "encoding", NULL
12566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12571 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12573 if (!SWIG_IsOK(ecode2
)) {
12574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12576 arg2
= static_cast< wxFontEncoding
>(val2
);
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetEncoding(arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12593 wxString
*arg2
= 0 ;
12597 bool temp2
= false ;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "self",(char *) "s", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12606 if (!SWIG_IsOK(res1
)) {
12607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12609 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12611 arg2
= wxString_in_helper(obj1
);
12612 if (arg2
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12639 PyObject
*resultobj
= 0;
12640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12672 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12673 PyObject
*resultobj
= 0;
12674 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12678 PyObject
*swig_obj
[1] ;
12680 if (!args
) SWIG_fail
;
12681 swig_obj
[0] = args
;
12682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12686 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= wxNativeFontInfo___str__(arg1
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12706 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
= 0;
12708 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12709 wxString
*arg2
= 0 ;
12713 bool temp2
= false ;
12714 PyObject
* obj0
= 0 ;
12715 PyObject
* obj1
= 0 ;
12716 char * kwnames
[] = {
12717 (char *) "self",(char *) "s", NULL
12720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12725 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12727 arg2
= wxString_in_helper(obj1
);
12728 if (arg2
== NULL
) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12754 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12755 PyObject
*resultobj
= 0;
12756 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12760 PyObject
*swig_obj
[1] ;
12762 if (!args
) SWIG_fail
;
12763 swig_obj
[0] = args
;
12764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12788 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12791 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12792 return SWIG_Py_Void();
12795 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 return SWIG_Python_InitShadowInstance(args
);
12799 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12800 PyObject
*resultobj
= 0;
12801 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12802 wxString
*arg2
= (wxString
*) 0 ;
12805 bool temp2
= false ;
12806 PyObject
*swig_obj
[2] ;
12808 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12813 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12815 arg2
= wxString_in_helper(swig_obj
[1]);
12816 if (arg2
== NULL
) SWIG_fail
;
12819 if (arg1
) (arg1
)->facename
= *arg2
;
12821 resultobj
= SWIG_Py_Void();
12836 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12837 PyObject
*resultobj
= 0;
12838 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12839 wxString
*result
= 0 ;
12842 PyObject
*swig_obj
[1] ;
12844 if (!args
) SWIG_fail
;
12845 swig_obj
[0] = args
;
12846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12847 if (!SWIG_IsOK(res1
)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12850 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12851 result
= (wxString
*)& ((arg1
)->facename
);
12854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12865 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12866 PyObject
*resultobj
= 0;
12867 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12868 wxFontEncoding arg2
;
12873 PyObject
*swig_obj
[2] ;
12875 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12880 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12881 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12882 if (!SWIG_IsOK(ecode2
)) {
12883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12885 arg2
= static_cast< wxFontEncoding
>(val2
);
12886 if (arg1
) (arg1
)->encoding
= arg2
;
12888 resultobj
= SWIG_Py_Void();
12895 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 PyObject
*resultobj
= 0;
12897 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12898 wxFontEncoding result
;
12901 PyObject
*swig_obj
[1] ;
12903 if (!args
) SWIG_fail
;
12904 swig_obj
[0] = args
;
12905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12906 if (!SWIG_IsOK(res1
)) {
12907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12909 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12910 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12911 resultobj
= SWIG_From_int(static_cast< int >(result
));
12918 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxNativeEncodingInfo
*result
= 0 ;
12922 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12936 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12937 PyObject
*resultobj
= 0;
12938 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12941 PyObject
*swig_obj
[1] ;
12943 if (!args
) SWIG_fail
;
12944 swig_obj
[0] = args
;
12945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12949 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_Py_Void();
12964 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
= 0;
12966 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12967 wxString
*arg2
= 0 ;
12971 bool temp2
= false ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char * kwnames
[] = {
12975 (char *) "self",(char *) "s", NULL
12978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12980 if (!SWIG_IsOK(res1
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12983 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12985 arg2
= wxString_in_helper(obj1
);
12986 if (arg2
== NULL
) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13013 PyObject
*resultobj
= 0;
13014 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13018 PyObject
*swig_obj
[1] ;
13020 if (!args
) SWIG_fail
;
13021 swig_obj
[0] = args
;
13022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13023 if (!SWIG_IsOK(res1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13026 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13046 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13049 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13050 return SWIG_Py_Void();
13053 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 return SWIG_Python_InitShadowInstance(args
);
13057 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
= 0;
13059 wxFontEncoding arg1
;
13060 wxNativeEncodingInfo
*result
= 0 ;
13063 PyObject
* obj0
= 0 ;
13064 char * kwnames
[] = {
13065 (char *) "encoding", NULL
13068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13070 if (!SWIG_IsOK(ecode1
)) {
13071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13073 arg1
= static_cast< wxFontEncoding
>(val1
);
13075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13087 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= 0;
13089 wxNativeEncodingInfo
*arg1
= 0 ;
13093 PyObject
* obj0
= 0 ;
13094 char * kwnames
[] = {
13095 (char *) "info", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13099 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13100 if (!SWIG_IsOK(res1
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13106 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13122 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13123 PyObject
*resultobj
= 0;
13124 wxFontMapper
*result
= 0 ;
13126 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (wxFontMapper
*)new wxFontMapper();
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13140 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13141 PyObject
*resultobj
= 0;
13142 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13145 PyObject
*swig_obj
[1] ;
13147 if (!args
) SWIG_fail
;
13148 swig_obj
[0] = args
;
13149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13153 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_Py_Void();
13168 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 PyObject
*resultobj
= 0;
13170 wxFontMapper
*result
= 0 ;
13172 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxFontMapper
*)wxFontMapper::Get();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13186 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13189 wxFontMapper
*result
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 char * kwnames
[] = {
13194 (char *) "mapper", NULL
13197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13202 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13216 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
= 0;
13218 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13219 wxString
*arg2
= 0 ;
13220 bool arg3
= (bool) true ;
13221 wxFontEncoding result
;
13224 bool temp2
= false ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 char * kwnames
[] = {
13231 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13239 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13241 arg2
= wxString_in_helper(obj1
);
13242 if (arg2
== NULL
) SWIG_fail
;
13246 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13247 if (!SWIG_IsOK(ecode3
)) {
13248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13250 arg3
= static_cast< bool >(val3
);
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_From_int(static_cast< int >(result
));
13273 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13274 PyObject
*resultobj
= 0;
13277 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13291 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
= 0;
13294 wxFontEncoding result
;
13297 PyObject
* obj0
= 0 ;
13298 char * kwnames
[] = {
13302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13303 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13304 if (!SWIG_IsOK(ecode1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13307 arg1
= static_cast< size_t >(val1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_From_int(static_cast< int >(result
));
13321 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxFontEncoding arg1
;
13327 PyObject
* obj0
= 0 ;
13328 char * kwnames
[] = {
13329 (char *) "encoding", NULL
13332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13333 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13334 if (!SWIG_IsOK(ecode1
)) {
13335 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13337 arg1
= static_cast< wxFontEncoding
>(val1
);
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= wxFontMapper::GetEncodingName(arg1
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13357 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
= 0;
13359 wxFontEncoding arg1
;
13363 PyObject
* obj0
= 0 ;
13364 char * kwnames
[] = {
13365 (char *) "encoding", NULL
13368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13370 if (!SWIG_IsOK(ecode1
)) {
13371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13373 arg1
= static_cast< wxFontEncoding
>(val1
);
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= wxFontMapper::GetEncodingDescription(arg1
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13393 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
= 0;
13395 wxString
*arg1
= 0 ;
13396 wxFontEncoding result
;
13397 bool temp1
= false ;
13398 PyObject
* obj0
= 0 ;
13399 char * kwnames
[] = {
13400 (char *) "name", NULL
13403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13405 arg1
= wxString_in_helper(obj0
);
13406 if (arg1
== NULL
) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 resultobj
= SWIG_From_int(static_cast< int >(result
));
13430 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= 0;
13432 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13433 wxString
*arg2
= 0 ;
13436 bool temp2
= false ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "self",(char *) "prefix", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13445 if (!SWIG_IsOK(res1
)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13448 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13450 arg2
= wxString_in_helper(obj1
);
13451 if (arg2
== NULL
) SWIG_fail
;
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13475 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13476 PyObject
*resultobj
= 0;
13479 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= wxFontMapper::GetDefaultConfigPath();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13499 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
= 0;
13501 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13502 wxFontEncoding arg2
;
13503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13505 bool arg4
= (bool) true ;
13506 PyObject
*result
= 0 ;
13511 bool temp3
= false ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 PyObject
* obj3
= 0 ;
13518 char * kwnames
[] = {
13519 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13527 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13529 if (!SWIG_IsOK(ecode2
)) {
13530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13532 arg2
= static_cast< wxFontEncoding
>(val2
);
13535 arg3
= wxString_in_helper(obj2
);
13536 if (arg3
== NULL
) SWIG_fail
;
13541 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13542 if (!SWIG_IsOK(ecode4
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13545 arg4
= static_cast< bool >(val4
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
;
13568 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
= 0;
13570 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13571 wxFontEncoding arg2
;
13572 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13573 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13579 bool temp3
= false ;
13580 PyObject
* obj0
= 0 ;
13581 PyObject
* obj1
= 0 ;
13582 PyObject
* obj2
= 0 ;
13583 char * kwnames
[] = {
13584 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13592 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13594 if (!SWIG_IsOK(ecode2
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13597 arg2
= static_cast< wxFontEncoding
>(val2
);
13600 arg3
= wxString_in_helper(obj2
);
13601 if (arg3
== NULL
) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13628 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
= 0;
13630 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13631 wxWindow
*arg2
= (wxWindow
*) 0 ;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "self",(char *) "parent", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13647 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res2
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13655 (arg1
)->SetDialogParent(arg2
);
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= SWIG_Py_Void();
13666 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= 0;
13668 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13669 wxString
*arg2
= 0 ;
13672 bool temp2
= false ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 char * kwnames
[] = {
13676 (char *) "self",(char *) "title", NULL
13679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13684 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13686 arg2
= wxString_in_helper(obj1
);
13687 if (arg2
== NULL
) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_Py_Void();
13711 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13714 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13715 return SWIG_Py_Void();
13718 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13719 return SWIG_Python_InitShadowInstance(args
);
13722 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
= 0;
13728 bool arg5
= (bool) false ;
13729 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13730 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13731 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13732 wxFont
*result
= 0 ;
13743 bool temp6
= false ;
13746 PyObject
* obj0
= 0 ;
13747 PyObject
* obj1
= 0 ;
13748 PyObject
* obj2
= 0 ;
13749 PyObject
* obj3
= 0 ;
13750 PyObject
* obj4
= 0 ;
13751 PyObject
* obj5
= 0 ;
13752 PyObject
* obj6
= 0 ;
13753 char * kwnames
[] = {
13754 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13759 if (!SWIG_IsOK(ecode1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13762 arg1
= static_cast< int >(val1
);
13763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13764 if (!SWIG_IsOK(ecode2
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13767 arg2
= static_cast< int >(val2
);
13768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13769 if (!SWIG_IsOK(ecode3
)) {
13770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13772 arg3
= static_cast< int >(val3
);
13773 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13774 if (!SWIG_IsOK(ecode4
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13777 arg4
= static_cast< int >(val4
);
13779 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13780 if (!SWIG_IsOK(ecode5
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13783 arg5
= static_cast< bool >(val5
);
13787 arg6
= wxString_in_helper(obj5
);
13788 if (arg6
== NULL
) SWIG_fail
;
13793 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13794 if (!SWIG_IsOK(ecode7
)) {
13795 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13797 arg7
= static_cast< wxFontEncoding
>(val7
);
13800 if (!wxPyCheckForApp()) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13821 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13822 PyObject
*resultobj
= 0;
13823 wxFont
*arg1
= (wxFont
*) 0 ;
13826 PyObject
*swig_obj
[1] ;
13828 if (!args
) SWIG_fail
;
13829 swig_obj
[0] = args
;
13830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13831 if (!SWIG_IsOK(res1
)) {
13832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13834 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_Py_Void();
13849 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13851 wxNativeFontInfo
*arg1
= 0 ;
13852 wxFont
*result
= 0 ;
13855 PyObject
* obj0
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "info", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13868 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13870 if (!wxPyCheckForApp()) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13883 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
= 0;
13885 wxString
*arg1
= 0 ;
13886 wxFont
*result
= 0 ;
13887 bool temp1
= false ;
13888 PyObject
* obj0
= 0 ;
13889 char * kwnames
[] = {
13890 (char *) "info", NULL
13893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13895 arg1
= wxString_in_helper(obj0
);
13896 if (arg1
== NULL
) SWIG_fail
;
13900 if (!wxPyCheckForApp()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13921 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13924 wxFontFamily arg2
;
13925 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13926 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13927 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13928 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13929 wxFont
*result
= 0 ;
13936 bool temp4
= false ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 PyObject
* obj2
= 0 ;
13942 PyObject
* obj3
= 0 ;
13943 PyObject
* obj4
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13950 if (!SWIG_IsOK(ecode1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13953 arg1
= static_cast< int >(val1
);
13954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13955 if (!SWIG_IsOK(ecode2
)) {
13956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13958 arg2
= static_cast< wxFontFamily
>(val2
);
13960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13961 if (!SWIG_IsOK(ecode3
)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13964 arg3
= static_cast< int >(val3
);
13968 arg4
= wxString_in_helper(obj3
);
13969 if (arg4
== NULL
) SWIG_fail
;
13974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13975 if (!SWIG_IsOK(ecode5
)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13978 arg5
= static_cast< wxFontEncoding
>(val5
);
13981 if (!wxPyCheckForApp()) SWIG_fail
;
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14002 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
= 0;
14008 bool arg5
= (bool) false ;
14009 wxString
const &arg6_defvalue
= wxEmptyString
;
14010 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14011 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14012 wxFont
*result
= 0 ;
14022 bool temp6
= false ;
14025 PyObject
* obj0
= 0 ;
14026 PyObject
* obj1
= 0 ;
14027 PyObject
* obj2
= 0 ;
14028 PyObject
* obj3
= 0 ;
14029 PyObject
* obj4
= 0 ;
14030 PyObject
* obj5
= 0 ;
14031 PyObject
* obj6
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14039 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14045 arg2
= static_cast< int >(val2
);
14046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14047 if (!SWIG_IsOK(ecode3
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14050 arg3
= static_cast< int >(val3
);
14051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14052 if (!SWIG_IsOK(ecode4
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14055 arg4
= static_cast< int >(val4
);
14057 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14058 if (!SWIG_IsOK(ecode5
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14061 arg5
= static_cast< bool >(val5
);
14065 arg6
= wxString_in_helper(obj5
);
14066 if (arg6
== NULL
) SWIG_fail
;
14071 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14072 if (!SWIG_IsOK(ecode7
)) {
14073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14075 arg7
= static_cast< wxFontEncoding
>(val7
);
14078 if (!wxPyCheckForApp()) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14099 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= 0;
14102 wxFontFamily arg2
;
14103 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14104 wxString
const &arg4_defvalue
= wxEmptyString
;
14105 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14106 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14107 wxFont
*result
= 0 ;
14113 bool temp4
= false ;
14116 PyObject
* obj0
= 0 ;
14117 PyObject
* obj1
= 0 ;
14118 PyObject
* obj2
= 0 ;
14119 PyObject
* obj3
= 0 ;
14120 PyObject
* obj4
= 0 ;
14121 char * kwnames
[] = {
14122 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14128 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14131 if (!SWIG_IsOK(ecode2
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14134 arg2
= static_cast< wxFontFamily
>(val2
);
14136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14137 if (!SWIG_IsOK(ecode3
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14140 arg3
= static_cast< int >(val3
);
14144 arg4
= wxString_in_helper(obj3
);
14145 if (arg4
== NULL
) SWIG_fail
;
14150 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14151 if (!SWIG_IsOK(ecode5
)) {
14152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14154 arg5
= static_cast< wxFontEncoding
>(val5
);
14157 if (!wxPyCheckForApp()) SWIG_fail
;
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14178 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14179 PyObject
*resultobj
= 0;
14180 wxFont
*arg1
= (wxFont
*) 0 ;
14184 PyObject
*swig_obj
[1] ;
14186 if (!args
) SWIG_fail
;
14187 swig_obj
[0] = args
;
14188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14192 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= 0;
14210 wxFont
*arg1
= (wxFont
*) 0 ;
14211 wxFont
*arg2
= (wxFont
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "other", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14228 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14230 if (!SWIG_IsOK(res2
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14233 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
= 0;
14251 wxFont
*arg1
= (wxFont
*) 0 ;
14252 wxFont
*arg2
= (wxFont
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char * kwnames
[] = {
14261 (char *) "self",(char *) "other", NULL
14264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14266 if (!SWIG_IsOK(res1
)) {
14267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14269 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14271 if (!SWIG_IsOK(res2
)) {
14272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14274 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14291 PyObject
*resultobj
= 0;
14292 wxFont
*arg1
= (wxFont
*) 0 ;
14296 PyObject
*swig_obj
[1] ;
14298 if (!args
) SWIG_fail
;
14299 swig_obj
[0] = args
;
14300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14301 if (!SWIG_IsOK(res1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14304 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_From_int(static_cast< int >(result
));
14318 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14319 PyObject
*resultobj
= 0;
14320 wxFont
*arg1
= (wxFont
*) 0 ;
14324 PyObject
*swig_obj
[1] ;
14326 if (!args
) SWIG_fail
;
14327 swig_obj
[0] = args
;
14328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14329 if (!SWIG_IsOK(res1
)) {
14330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14332 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14346 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14347 PyObject
*resultobj
= 0;
14348 wxFont
*arg1
= (wxFont
*) 0 ;
14352 PyObject
*swig_obj
[1] ;
14354 if (!args
) SWIG_fail
;
14355 swig_obj
[0] = args
;
14356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14360 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14376 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14377 PyObject
*resultobj
= 0;
14378 wxFont
*arg1
= (wxFont
*) 0 ;
14382 PyObject
*swig_obj
[1] ;
14384 if (!args
) SWIG_fail
;
14385 swig_obj
[0] = args
;
14386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14387 if (!SWIG_IsOK(res1
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14390 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= SWIG_From_int(static_cast< int >(result
));
14404 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14405 PyObject
*resultobj
= 0;
14406 wxFont
*arg1
= (wxFont
*) 0 ;
14410 PyObject
*swig_obj
[1] ;
14412 if (!args
) SWIG_fail
;
14413 swig_obj
[0] = args
;
14414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14415 if (!SWIG_IsOK(res1
)) {
14416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14418 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= SWIG_From_int(static_cast< int >(result
));
14432 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 PyObject
*resultobj
= 0;
14434 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
*swig_obj
[1] ;
14440 if (!args
) SWIG_fail
;
14441 swig_obj
[0] = args
;
14442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14443 if (!SWIG_IsOK(res1
)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14446 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_int(static_cast< int >(result
));
14460 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14461 PyObject
*resultobj
= 0;
14462 wxFont
*arg1
= (wxFont
*) 0 ;
14466 PyObject
*swig_obj
[1] ;
14468 if (!args
) SWIG_fail
;
14469 swig_obj
[0] = args
;
14470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14491 PyObject
*resultobj
= 0;
14492 wxFont
*arg1
= (wxFont
*) 0 ;
14496 PyObject
*swig_obj
[1] ;
14498 if (!args
) SWIG_fail
;
14499 swig_obj
[0] = args
;
14500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14501 if (!SWIG_IsOK(res1
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14504 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= ((wxFont
const *)arg1
)->GetFaceName();
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14524 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14525 PyObject
*resultobj
= 0;
14526 wxFont
*arg1
= (wxFont
*) 0 ;
14527 wxFontEncoding result
;
14530 PyObject
*swig_obj
[1] ;
14532 if (!args
) SWIG_fail
;
14533 swig_obj
[0] = args
;
14534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14535 if (!SWIG_IsOK(res1
)) {
14536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14538 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_From_int(static_cast< int >(result
));
14552 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14553 PyObject
*resultobj
= 0;
14554 wxFont
*arg1
= (wxFont
*) 0 ;
14555 wxNativeFontInfo
*result
= 0 ;
14558 PyObject
*swig_obj
[1] ;
14560 if (!args
) SWIG_fail
;
14561 swig_obj
[0] = args
;
14562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14566 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14580 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxFont
*arg1
= (wxFont
*) 0 ;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14611 PyObject
*resultobj
= 0;
14612 wxFont
*arg1
= (wxFont
*) 0 ;
14616 PyObject
*swig_obj
[1] ;
14618 if (!args
) SWIG_fail
;
14619 swig_obj
[0] = args
;
14620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14621 if (!SWIG_IsOK(res1
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14624 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14644 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14645 PyObject
*resultobj
= 0;
14646 wxFont
*arg1
= (wxFont
*) 0 ;
14650 PyObject
*swig_obj
[1] ;
14652 if (!args
) SWIG_fail
;
14653 swig_obj
[0] = args
;
14654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14655 if (!SWIG_IsOK(res1
)) {
14656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14658 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14678 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14679 PyObject
*resultobj
= 0;
14680 wxFont
*arg1
= (wxFont
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 char * kwnames
[] = {
14689 (char *) "self",(char *) "pointSize", NULL
14692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14697 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14699 if (!SWIG_IsOK(ecode2
)) {
14700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14702 arg2
= static_cast< int >(val2
);
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 (arg1
)->SetPointSize(arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_Py_Void();
14716 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
= 0;
14718 wxFont
*arg1
= (wxFont
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char * kwnames
[] = {
14726 (char *) "self",(char *) "pixelSize", NULL
14729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14731 if (!SWIG_IsOK(res1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14734 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_Py_Void();
14752 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= 0;
14754 wxFont
*arg1
= (wxFont
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 PyObject
* obj1
= 0 ;
14762 char * kwnames
[] = {
14763 (char *) "self",(char *) "family", NULL
14766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14771 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14773 if (!SWIG_IsOK(ecode2
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14776 arg2
= static_cast< int >(val2
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetFamily(arg2
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxFont
*arg1
= (wxFont
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "style", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14809 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14814 arg2
= static_cast< int >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetStyle(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxFont
*arg1
= (wxFont
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 PyObject
* obj1
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "weight", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14847 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14849 if (!SWIG_IsOK(ecode2
)) {
14850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14852 arg2
= static_cast< int >(val2
);
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 (arg1
)->SetWeight(arg2
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_Py_Void();
14866 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
= 0;
14868 wxFont
*arg1
= (wxFont
*) 0 ;
14869 wxString
*arg2
= 0 ;
14873 bool temp2
= false ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char * kwnames
[] = {
14877 (char *) "self",(char *) "faceName", NULL
14880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14885 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14887 arg2
= wxString_in_helper(obj1
);
14888 if (arg2
== NULL
) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
= 0;
14916 wxFont
*arg1
= (wxFont
*) 0 ;
14922 PyObject
* obj0
= 0 ;
14923 PyObject
* obj1
= 0 ;
14924 char * kwnames
[] = {
14925 (char *) "self",(char *) "underlined", NULL
14928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14930 if (!SWIG_IsOK(res1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14933 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14935 if (!SWIG_IsOK(ecode2
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14938 arg2
= static_cast< bool >(val2
);
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->SetUnderlined(arg2
);
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14945 resultobj
= SWIG_Py_Void();
14952 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
= 0;
14954 wxFont
*arg1
= (wxFont
*) 0 ;
14955 wxFontEncoding arg2
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char * kwnames
[] = {
14963 (char *) "self",(char *) "encoding", NULL
14966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14968 if (!SWIG_IsOK(res1
)) {
14969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14971 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14973 if (!SWIG_IsOK(ecode2
)) {
14974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14976 arg2
= static_cast< wxFontEncoding
>(val2
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->SetEncoding(arg2
);
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_Py_Void();
14990 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxFont
*arg1
= (wxFont
*) 0 ;
14993 wxNativeFontInfo
*arg2
= 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char * kwnames
[] = {
15001 (char *) "self",(char *) "info", NULL
15004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15009 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15011 if (!SWIG_IsOK(res2
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15017 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_Py_Void();
15031 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15034 wxString
*arg2
= 0 ;
15038 bool temp2
= false ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "self",(char *) "info", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15052 arg2
= wxString_in_helper(obj1
);
15053 if (arg2
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15079 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15082 wxString
*arg2
= 0 ;
15086 bool temp2
= false ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "info", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15098 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15100 arg2
= wxString_in_helper(obj1
);
15101 if (arg2
== NULL
) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15127 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 PyObject
*resultobj
= 0;
15129 wxFont
*arg1
= (wxFont
*) 0 ;
15133 PyObject
*swig_obj
[1] ;
15135 if (!args
) SWIG_fail
;
15136 swig_obj
[0] = args
;
15137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15138 if (!SWIG_IsOK(res1
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15141 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15161 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15162 PyObject
*resultobj
= 0;
15163 wxFont
*arg1
= (wxFont
*) 0 ;
15167 PyObject
*swig_obj
[1] ;
15169 if (!args
) SWIG_fail
;
15170 swig_obj
[0] = args
;
15171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15172 if (!SWIG_IsOK(res1
)) {
15173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15175 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= ((wxFont
const *)arg1
)->GetStyleString();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15195 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxFont
*arg1
= (wxFont
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= ((wxFont
const *)arg1
)->GetWeightString();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15229 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
= 0;
15231 wxFont
*arg1
= (wxFont
*) 0 ;
15232 bool arg2
= (bool) true ;
15237 PyObject
* obj0
= 0 ;
15238 PyObject
* obj1
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "no", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15250 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15251 if (!SWIG_IsOK(ecode2
)) {
15252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15254 arg2
= static_cast< bool >(val2
);
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 (arg1
)->SetNoAntiAliasing(arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_Py_Void();
15269 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15270 PyObject
*resultobj
= 0;
15271 wxFont
*arg1
= (wxFont
*) 0 ;
15275 PyObject
*swig_obj
[1] ;
15277 if (!args
) SWIG_fail
;
15278 swig_obj
[0] = args
;
15279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15280 if (!SWIG_IsOK(res1
)) {
15281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15299 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxFontEncoding result
;
15303 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_From_int(static_cast< int >(result
));
15318 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
= 0;
15320 wxFontEncoding arg1
;
15323 PyObject
* obj0
= 0 ;
15324 char * kwnames
[] = {
15325 (char *) "encoding", NULL
15328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15330 if (!SWIG_IsOK(ecode1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15333 arg1
= static_cast< wxFontEncoding
>(val1
);
15335 if (!wxPyCheckForApp()) SWIG_fail
;
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 wxFont::SetDefaultEncoding(arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_Py_Void();
15348 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15351 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15352 return SWIG_Py_Void();
15355 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 return SWIG_Python_InitShadowInstance(args
);
15359 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15360 PyObject
*resultobj
= 0;
15361 wxPyFontEnumerator
*result
= 0 ;
15363 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15365 if (!wxPyCheckForApp()) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15378 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15379 PyObject
*resultobj
= 0;
15380 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15383 PyObject
*swig_obj
[1] ;
15385 if (!args
) SWIG_fail
;
15386 swig_obj
[0] = args
;
15387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15391 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_Py_Void();
15406 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= 0;
15408 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15409 PyObject
*arg2
= (PyObject
*) 0 ;
15410 PyObject
*arg3
= (PyObject
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 PyObject
* obj3
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15429 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15432 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15433 if (!SWIG_IsOK(ecode4
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15436 arg4
= static_cast< bool >(val4
);
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= SWIG_Py_Void();
15450 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
= 0;
15452 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15453 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15454 bool arg3
= (bool) false ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 PyObject
* obj2
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15474 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15477 if (!SWIG_IsOK(ecode2
)) {
15478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15480 arg2
= static_cast< wxFontEncoding
>(val2
);
15483 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15484 if (!SWIG_IsOK(ecode3
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15487 arg3
= static_cast< bool >(val3
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15507 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15508 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15512 bool temp2
= false ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "facename", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15524 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15527 arg2
= wxString_in_helper(obj1
);
15528 if (arg2
== NULL
) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15555 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15556 PyObject
*resultobj
= 0;
15557 PyObject
*result
= 0 ;
15559 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= result
;
15573 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15574 PyObject
*resultobj
= 0;
15575 PyObject
*result
= 0 ;
15577 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= result
;
15591 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxString
*arg1
= 0 ;
15595 bool temp1
= false ;
15596 PyObject
* obj0
= 0 ;
15597 char * kwnames
[] = {
15598 (char *) "str", NULL
15601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15603 arg1
= wxString_in_helper(obj0
);
15604 if (arg1
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15630 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15634 return SWIG_Py_Void();
15637 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15638 return SWIG_Python_InitShadowInstance(args
);
15641 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15649 PyObject
*swig_obj
[2] ;
15651 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15653 if (!SWIG_IsOK(res1
)) {
15654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15656 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15657 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15658 if (!SWIG_IsOK(ecode2
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15661 arg2
= static_cast< int >(val2
);
15662 if (arg1
) (arg1
)->Language
= arg2
;
15664 resultobj
= SWIG_Py_Void();
15671 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 PyObject
*resultobj
= 0;
15673 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15677 PyObject
*swig_obj
[1] ;
15679 if (!args
) SWIG_fail
;
15680 swig_obj
[0] = args
;
15681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15685 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15686 result
= (int) ((arg1
)->Language
);
15687 resultobj
= SWIG_From_int(static_cast< int >(result
));
15694 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15695 PyObject
*resultobj
= 0;
15696 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15697 wxString
*arg2
= (wxString
*) 0 ;
15700 bool temp2
= false ;
15701 PyObject
*swig_obj
[2] ;
15703 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15708 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15710 arg2
= wxString_in_helper(swig_obj
[1]);
15711 if (arg2
== NULL
) SWIG_fail
;
15714 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15716 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15732 PyObject
*resultobj
= 0;
15733 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15734 wxString
*result
= 0 ;
15737 PyObject
*swig_obj
[1] ;
15739 if (!args
) SWIG_fail
;
15740 swig_obj
[0] = args
;
15741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15742 if (!SWIG_IsOK(res1
)) {
15743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15745 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15746 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15760 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15761 PyObject
*resultobj
= 0;
15762 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15763 wxString
*arg2
= (wxString
*) 0 ;
15766 bool temp2
= false ;
15767 PyObject
*swig_obj
[2] ;
15769 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15771 if (!SWIG_IsOK(res1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15774 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15776 arg2
= wxString_in_helper(swig_obj
[1]);
15777 if (arg2
== NULL
) SWIG_fail
;
15780 if (arg1
) (arg1
)->Description
= *arg2
;
15782 resultobj
= SWIG_Py_Void();
15797 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15800 wxString
*result
= 0 ;
15803 PyObject
*swig_obj
[1] ;
15805 if (!args
) SWIG_fail
;
15806 swig_obj
[0] = args
;
15807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15808 if (!SWIG_IsOK(res1
)) {
15809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15811 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15812 result
= (wxString
*)& ((arg1
)->Description
);
15815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15826 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15829 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15830 return SWIG_Py_Void();
15833 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15834 PyObject
*resultobj
= 0;
15835 int arg1
= (int) -1 ;
15836 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15837 wxLocale
*result
= 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char * kwnames
[] = {
15845 (char *) "language",(char *) "flags", NULL
15848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15851 if (!SWIG_IsOK(ecode1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15854 arg1
= static_cast< int >(val1
);
15857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15858 if (!SWIG_IsOK(ecode2
)) {
15859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15861 arg2
= static_cast< int >(val2
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15876 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxLocale
*arg1
= (wxLocale
*) 0 ;
15881 PyObject
*swig_obj
[1] ;
15883 if (!args
) SWIG_fail
;
15884 swig_obj
[0] = args
;
15885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15889 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_Py_Void();
15904 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxLocale
*arg1
= (wxLocale
*) 0 ;
15907 wxString
*arg2
= 0 ;
15908 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15909 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15912 bool arg5
= (bool) true ;
15913 bool arg6
= (bool) false ;
15917 bool temp2
= false ;
15918 bool temp3
= false ;
15919 bool temp4
= false ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 PyObject
* obj3
= 0 ;
15928 PyObject
* obj4
= 0 ;
15929 PyObject
* obj5
= 0 ;
15930 char * kwnames
[] = {
15931 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15939 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15941 arg2
= wxString_in_helper(obj1
);
15942 if (arg2
== NULL
) SWIG_fail
;
15947 arg3
= wxString_in_helper(obj2
);
15948 if (arg3
== NULL
) SWIG_fail
;
15954 arg4
= wxString_in_helper(obj3
);
15955 if (arg4
== NULL
) SWIG_fail
;
15960 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15961 if (!SWIG_IsOK(ecode5
)) {
15962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15964 arg5
= static_cast< bool >(val5
);
15967 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15968 if (!SWIG_IsOK(ecode6
)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15971 arg6
= static_cast< bool >(val6
);
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15975 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16012 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
= 0;
16014 wxLocale
*arg1
= (wxLocale
*) 0 ;
16015 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16016 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16024 PyObject
* obj0
= 0 ;
16025 PyObject
* obj1
= 0 ;
16026 PyObject
* obj2
= 0 ;
16027 char * kwnames
[] = {
16028 (char *) "self",(char *) "language",(char *) "flags", NULL
16031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16033 if (!SWIG_IsOK(res1
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16036 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16039 if (!SWIG_IsOK(ecode2
)) {
16040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16042 arg2
= static_cast< int >(val2
);
16045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16046 if (!SWIG_IsOK(ecode3
)) {
16047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16049 arg3
= static_cast< int >(val3
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16067 PyObject
*resultobj
= 0;
16070 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (int)wxLocale::GetSystemLanguage();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int(static_cast< int >(result
));
16084 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16085 PyObject
*resultobj
= 0;
16086 wxFontEncoding result
;
16088 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_From_int(static_cast< int >(result
));
16102 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 PyObject
*resultobj
= 0;
16106 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= wxLocale::GetSystemEncodingName();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16126 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16127 PyObject
*resultobj
= 0;
16128 wxLocale
*arg1
= (wxLocale
*) 0 ;
16132 PyObject
*swig_obj
[1] ;
16134 if (!args
) SWIG_fail
;
16135 swig_obj
[0] = args
;
16136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16137 if (!SWIG_IsOK(res1
)) {
16138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16140 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16156 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 PyObject
*resultobj
= 0;
16158 wxLocale
*arg1
= (wxLocale
*) 0 ;
16162 PyObject
*swig_obj
[1] ;
16164 if (!args
) SWIG_fail
;
16165 swig_obj
[0] = args
;
16166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16167 if (!SWIG_IsOK(res1
)) {
16168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16170 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 result
= ((wxLocale
const *)arg1
)->GetLocale();
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16190 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16191 PyObject
*resultobj
= 0;
16192 wxLocale
*arg1
= (wxLocale
*) 0 ;
16196 PyObject
*swig_obj
[1] ;
16198 if (!args
) SWIG_fail
;
16199 swig_obj
[0] = args
;
16200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16201 if (!SWIG_IsOK(res1
)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16204 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int(static_cast< int >(result
));
16218 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxLocale
*arg1
= (wxLocale
*) 0 ;
16224 PyObject
*swig_obj
[1] ;
16226 if (!args
) SWIG_fail
;
16227 swig_obj
[0] = args
;
16228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16229 if (!SWIG_IsOK(res1
)) {
16230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16232 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= ((wxLocale
const *)arg1
)->GetSysName();
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16252 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16253 PyObject
*resultobj
= 0;
16254 wxLocale
*arg1
= (wxLocale
*) 0 ;
16258 PyObject
*swig_obj
[1] ;
16260 if (!args
) SWIG_fail
;
16261 swig_obj
[0] = args
;
16262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16266 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16286 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16287 PyObject
*resultobj
= 0;
16288 wxString
*arg1
= 0 ;
16289 bool temp1
= false ;
16290 PyObject
* obj0
= 0 ;
16291 char * kwnames
[] = {
16292 (char *) "prefix", NULL
16295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16297 arg1
= wxString_in_helper(obj0
);
16298 if (arg1
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_Py_Void();
16322 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
= 0;
16324 wxLocale
*arg1
= (wxLocale
*) 0 ;
16325 wxString
*arg2
= 0 ;
16329 bool temp2
= false ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 char * kwnames
[] = {
16333 (char *) "self",(char *) "szDomain", NULL
16336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16338 if (!SWIG_IsOK(res1
)) {
16339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16341 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16343 arg2
= wxString_in_helper(obj1
);
16344 if (arg2
== NULL
) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16370 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
= 0;
16376 PyObject
* obj0
= 0 ;
16377 char * kwnames
[] = {
16378 (char *) "lang", NULL
16381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16383 if (!SWIG_IsOK(ecode1
)) {
16384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16386 arg1
= static_cast< int >(val1
);
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)wxLocale::IsAvailable(arg1
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16402 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 wxLocale
*arg1
= (wxLocale
*) 0 ;
16405 wxString
*arg2
= 0 ;
16409 bool temp2
= false ;
16410 PyObject
* obj0
= 0 ;
16411 PyObject
* obj1
= 0 ;
16412 char * kwnames
[] = {
16413 (char *) "self",(char *) "szDomain", NULL
16416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16418 if (!SWIG_IsOK(res1
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16421 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16423 arg2
= wxString_in_helper(obj1
);
16424 if (arg2
== NULL
) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
= 0;
16453 wxLanguageInfo
*result
= 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char * kwnames
[] = {
16458 (char *) "lang", NULL
16461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16462 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16463 if (!SWIG_IsOK(ecode1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16466 arg1
= static_cast< int >(val1
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16480 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
= 0;
16486 PyObject
* obj0
= 0 ;
16487 char * kwnames
[] = {
16488 (char *) "lang", NULL
16491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16493 if (!SWIG_IsOK(ecode1
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16496 arg1
= static_cast< int >(val1
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= wxLocale::GetLanguageName(arg1
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16516 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
= 0;
16518 wxString
*arg1
= 0 ;
16519 wxLanguageInfo
*result
= 0 ;
16520 bool temp1
= false ;
16521 PyObject
* obj0
= 0 ;
16522 char * kwnames
[] = {
16523 (char *) "locale", NULL
16526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16528 arg1
= wxString_in_helper(obj0
);
16529 if (arg1
== NULL
) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16553 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= 0;
16555 wxLanguageInfo
*arg1
= 0 ;
16558 PyObject
* obj0
= 0 ;
16559 char * kwnames
[] = {
16560 (char *) "info", NULL
16563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16564 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16565 if (!SWIG_IsOK(res1
)) {
16566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16571 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_Py_Void();
16585 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
= 0;
16587 wxLocale
*arg1
= (wxLocale
*) 0 ;
16588 wxString
*arg2
= 0 ;
16589 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16590 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16594 bool temp2
= false ;
16595 bool temp3
= false ;
16596 PyObject
* obj0
= 0 ;
16597 PyObject
* obj1
= 0 ;
16598 PyObject
* obj2
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16608 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16610 arg2
= wxString_in_helper(obj1
);
16611 if (arg2
== NULL
) SWIG_fail
;
16616 arg3
= wxString_in_helper(obj2
);
16617 if (arg3
== NULL
) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16657 PyObject
*resultobj
= 0;
16658 wxLocale
*arg1
= (wxLocale
*) 0 ;
16659 wxString
*result
= 0 ;
16662 PyObject
*swig_obj
[1] ;
16664 if (!args
) SWIG_fail
;
16665 swig_obj
[0] = args
;
16666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16667 if (!SWIG_IsOK(res1
)) {
16668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16670 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16675 result
= (wxString
*) &_result_ref
;
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16684 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16693 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16696 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16697 return SWIG_Py_Void();
16700 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16701 return SWIG_Python_InitShadowInstance(args
);
16704 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 int arg1
= (int) -1 ;
16707 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16708 wxPyLocale
*result
= 0 ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 char * kwnames
[] = {
16716 (char *) "language",(char *) "flags", NULL
16719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16722 if (!SWIG_IsOK(ecode1
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16725 arg1
= static_cast< int >(val1
);
16728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16729 if (!SWIG_IsOK(ecode2
)) {
16730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16732 arg2
= static_cast< int >(val2
);
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16747 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16748 PyObject
*resultobj
= 0;
16749 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16752 PyObject
*swig_obj
[1] ;
16754 if (!args
) SWIG_fail
;
16755 swig_obj
[0] = args
;
16756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16757 if (!SWIG_IsOK(res1
)) {
16758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16760 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= SWIG_Py_Void();
16775 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
= 0;
16777 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16778 PyObject
*arg2
= (PyObject
*) 0 ;
16779 PyObject
*arg3
= (PyObject
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 char * kwnames
[] = {
16786 (char *) "self",(char *) "self",(char *) "_class", NULL
16789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16794 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16800 wxPyEndAllowThreads(__tstate
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= SWIG_Py_Void();
16810 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
= 0;
16812 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16813 wxChar
*arg2
= (wxChar
*) 0 ;
16814 wxChar
*arg3
= (wxChar
*) NULL
;
16815 wxChar
*result
= 0 ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16834 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16836 if (!SWIG_IsOK(res2
)) {
16837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16839 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16842 if (!SWIG_IsOK(res3
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16845 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16860 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16861 PyObject
*resultobj
= 0;
16862 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16863 wxChar
*arg2
= (wxChar
*) 0 ;
16864 wxChar
*arg3
= (wxChar
*) 0 ;
16866 wxChar
*arg5
= (wxChar
*) NULL
;
16867 wxChar
*result
= 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 PyObject
* obj2
= 0 ;
16881 PyObject
* obj3
= 0 ;
16882 PyObject
* obj4
= 0 ;
16883 char * kwnames
[] = {
16884 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16889 if (!SWIG_IsOK(res1
)) {
16890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16892 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16894 if (!SWIG_IsOK(res2
)) {
16895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16897 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16898 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16899 if (!SWIG_IsOK(res3
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16902 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16903 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16904 if (!SWIG_IsOK(ecode4
)) {
16905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16907 arg4
= static_cast< size_t >(val4
);
16909 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16910 if (!SWIG_IsOK(res5
)) {
16911 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16913 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16928 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16932 return SWIG_Py_Void();
16935 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16936 return SWIG_Python_InitShadowInstance(args
);
16939 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16940 PyObject
*resultobj
= 0;
16941 wxLocale
*result
= 0 ;
16943 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (wxLocale
*)wxGetLocale();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16957 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16958 PyObject
*resultobj
= 0;
16959 wxString
*arg1
= 0 ;
16961 bool temp1
= false ;
16963 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16965 arg1
= wxString_in_helper(swig_obj
[0]);
16966 if (arg1
== NULL
) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= wxGetTranslation((wxString
const &)*arg1
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16996 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16997 PyObject
*resultobj
= 0;
16998 wxString
*arg1
= 0 ;
16999 wxString
*arg2
= 0 ;
17001 bool temp1
= false ;
17002 bool temp2
= false ;
17004 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17006 arg1
= wxString_in_helper(swig_obj
[0]);
17007 if (arg1
== NULL
) SWIG_fail
;
17011 arg2
= wxString_in_helper(swig_obj
[1]);
17012 if (arg2
== NULL
) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17050 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17051 PyObject
*resultobj
= 0;
17052 wxString
*arg1
= 0 ;
17053 wxString
*arg2
= 0 ;
17056 bool temp1
= false ;
17057 bool temp2
= false ;
17061 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17063 arg1
= wxString_in_helper(swig_obj
[0]);
17064 if (arg1
== NULL
) SWIG_fail
;
17068 arg2
= wxString_in_helper(swig_obj
[1]);
17069 if (arg2
== NULL
) SWIG_fail
;
17072 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17073 if (!SWIG_IsOK(ecode3
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17076 arg3
= static_cast< size_t >(val3
);
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17112 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17113 PyObject
*resultobj
= 0;
17114 wxString
*arg1
= 0 ;
17115 wxString
*arg2
= 0 ;
17117 wxString
*arg4
= 0 ;
17119 bool temp1
= false ;
17120 bool temp2
= false ;
17123 bool temp4
= false ;
17125 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17127 arg1
= wxString_in_helper(swig_obj
[0]);
17128 if (arg1
== NULL
) SWIG_fail
;
17132 arg2
= wxString_in_helper(swig_obj
[1]);
17133 if (arg2
== NULL
) SWIG_fail
;
17136 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17137 if (!SWIG_IsOK(ecode3
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17140 arg3
= static_cast< size_t >(val3
);
17142 arg4
= wxString_in_helper(swig_obj
[3]);
17143 if (arg4
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17189 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17196 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17199 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17202 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17205 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17209 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17214 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17215 PyObject
*resultobj
= 0;
17216 wxEncodingConverter
*result
= 0 ;
17218 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17232 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17233 PyObject
*resultobj
= 0;
17234 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17237 PyObject
*swig_obj
[1] ;
17239 if (!args
) SWIG_fail
;
17240 swig_obj
[0] = args
;
17241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17242 if (!SWIG_IsOK(res1
)) {
17243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17245 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_Py_Void();
17260 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17263 wxFontEncoding arg2
;
17264 wxFontEncoding arg3
;
17265 int arg4
= (int) wxCONVERT_STRICT
;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 PyObject
* obj2
= 0 ;
17278 PyObject
* obj3
= 0 ;
17279 char * kwnames
[] = {
17280 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17285 if (!SWIG_IsOK(res1
)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17288 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17290 if (!SWIG_IsOK(ecode2
)) {
17291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17293 arg2
= static_cast< wxFontEncoding
>(val2
);
17294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17295 if (!SWIG_IsOK(ecode3
)) {
17296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17298 arg3
= static_cast< wxFontEncoding
>(val3
);
17300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17301 if (!SWIG_IsOK(ecode4
)) {
17302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17304 arg4
= static_cast< int >(val4
);
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17321 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
= 0;
17323 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17324 wxString
*arg2
= 0 ;
17328 bool temp2
= false ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char * kwnames
[] = {
17332 (char *) "self",(char *) "input", NULL
17335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17337 if (!SWIG_IsOK(res1
)) {
17338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17340 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17342 arg2
= wxString_in_helper(obj1
);
17343 if (arg2
== NULL
) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17373 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxFontEncoding arg1
;
17376 int arg2
= (int) wxPLATFORM_CURRENT
;
17377 wxFontEncodingArray result
;
17382 PyObject
* obj0
= 0 ;
17383 PyObject
* obj1
= 0 ;
17384 char * kwnames
[] = {
17385 (char *) "enc",(char *) "platform", NULL
17388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17390 if (!SWIG_IsOK(ecode1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17393 arg1
= static_cast< wxFontEncoding
>(val1
);
17395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17396 if (!SWIG_IsOK(ecode2
)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17399 arg2
= static_cast< int >(val2
);
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= PyList_New(0);
17409 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17410 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17411 PyList_Append(resultobj
, number
);
17421 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 wxFontEncoding arg1
;
17424 wxFontEncodingArray result
;
17427 PyObject
* obj0
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "enc", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17434 if (!SWIG_IsOK(ecode1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17437 arg1
= static_cast< wxFontEncoding
>(val1
);
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= PyList_New(0);
17446 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17447 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17448 PyList_Append(resultobj
, number
);
17458 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
= 0;
17460 wxFontEncoding arg1
;
17461 wxFontEncoding arg2
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char * kwnames
[] = {
17470 (char *) "encIn",(char *) "encOut", NULL
17473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17475 if (!SWIG_IsOK(ecode1
)) {
17476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17478 arg1
= static_cast< wxFontEncoding
>(val1
);
17479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17480 if (!SWIG_IsOK(ecode2
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17483 arg2
= static_cast< wxFontEncoding
>(val2
);
17485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17486 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17499 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17502 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17503 return SWIG_Py_Void();
17506 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17507 return SWIG_Python_InitShadowInstance(args
);
17510 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17511 PyObject
*resultobj
= 0;
17512 wxDC
*arg1
= (wxDC
*) 0 ;
17515 PyObject
*swig_obj
[1] ;
17517 if (!args
) SWIG_fail
;
17518 swig_obj
[0] = args
;
17519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17520 if (!SWIG_IsOK(res1
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_Py_Void();
17538 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
= 0;
17540 wxDC
*arg1
= (wxDC
*) 0 ;
17543 wxColour
*arg4
= 0 ;
17544 int arg5
= (int) wxFLOOD_SURFACE
;
17555 PyObject
* obj0
= 0 ;
17556 PyObject
* obj1
= 0 ;
17557 PyObject
* obj2
= 0 ;
17558 PyObject
* obj3
= 0 ;
17559 PyObject
* obj4
= 0 ;
17560 char * kwnames
[] = {
17561 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17571 if (!SWIG_IsOK(ecode2
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17574 arg2
= static_cast< int >(val2
);
17575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17576 if (!SWIG_IsOK(ecode3
)) {
17577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17579 arg3
= static_cast< int >(val3
);
17582 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17586 if (!SWIG_IsOK(ecode5
)) {
17587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17589 arg5
= static_cast< int >(val5
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxDC
*arg1
= (wxDC
*) 0 ;
17609 wxPoint
*arg2
= 0 ;
17610 wxColour
*arg3
= 0 ;
17611 int arg4
= (int) wxFLOOD_SURFACE
;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 PyObject
* obj3
= 0 ;
17623 char * kwnames
[] = {
17624 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17629 if (!SWIG_IsOK(res1
)) {
17630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17643 if (!SWIG_IsOK(ecode4
)) {
17644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17646 arg4
= static_cast< int >(val4
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17663 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
= 0;
17665 wxDC
*arg1
= (wxDC
*) 0 ;
17667 wxColour
*arg3
= 0 ;
17668 wxColour
*arg4
= 0 ;
17669 wxPoint
*arg5
= 0 ;
17676 PyObject
* obj0
= 0 ;
17677 PyObject
* obj1
= 0 ;
17678 PyObject
* obj2
= 0 ;
17679 PyObject
* obj3
= 0 ;
17680 PyObject
* obj4
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17697 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17701 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_Py_Void();
17720 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17724 wxColour
*arg3
= 0 ;
17725 wxColour
*arg4
= 0 ;
17726 wxDirection arg5
= (wxDirection
) wxEAST
;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 PyObject
* obj3
= 0 ;
17738 PyObject
* obj4
= 0 ;
17739 char * kwnames
[] = {
17740 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17755 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17759 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17763 if (!SWIG_IsOK(ecode5
)) {
17764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17766 arg5
= static_cast< wxDirection
>(val5
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_Py_Void();
17781 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
= 0;
17783 wxDC
*arg1
= (wxDC
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 PyObject
* obj2
= 0 ;
17796 char * kwnames
[] = {
17797 (char *) "self",(char *) "x",(char *) "y", NULL
17800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17807 if (!SWIG_IsOK(ecode2
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17810 arg2
= static_cast< int >(val2
);
17811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17812 if (!SWIG_IsOK(ecode3
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17815 arg3
= static_cast< int >(val3
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17829 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
= 0;
17831 wxDC
*arg1
= (wxDC
*) 0 ;
17832 wxPoint
*arg2
= 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char * kwnames
[] = {
17840 (char *) "self",(char *) "pt", NULL
17843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17845 if (!SWIG_IsOK(res1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17866 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= 0;
17868 wxDC
*arg1
= (wxDC
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 PyObject
* obj3
= 0 ;
17887 PyObject
* obj4
= 0 ;
17888 char * kwnames
[] = {
17889 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17894 if (!SWIG_IsOK(res1
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17899 if (!SWIG_IsOK(ecode2
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17902 arg2
= static_cast< int >(val2
);
17903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17904 if (!SWIG_IsOK(ecode3
)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17907 arg3
= static_cast< int >(val3
);
17908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17909 if (!SWIG_IsOK(ecode4
)) {
17910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17912 arg4
= static_cast< int >(val4
);
17913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17914 if (!SWIG_IsOK(ecode5
)) {
17915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17917 arg5
= static_cast< int >(val5
);
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_Py_Void();
17931 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
= 0;
17933 wxDC
*arg1
= (wxDC
*) 0 ;
17934 wxPoint
*arg2
= 0 ;
17935 wxPoint
*arg3
= 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 PyObject
* obj2
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17959 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_Py_Void();
17974 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= 0;
17976 wxDC
*arg1
= (wxDC
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 PyObject
* obj2
= 0 ;
17988 char * kwnames
[] = {
17989 (char *) "self",(char *) "x",(char *) "y", NULL
17992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17999 if (!SWIG_IsOK(ecode2
)) {
18000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18002 arg2
= static_cast< int >(val2
);
18003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18004 if (!SWIG_IsOK(ecode3
)) {
18005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18007 arg3
= static_cast< int >(val3
);
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->CrossHair(arg2
,arg3
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_Py_Void();
18021 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxDC
*arg1
= (wxDC
*) 0 ;
18024 wxPoint
*arg2
= 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char * kwnames
[] = {
18031 (char *) "self",(char *) "pt", NULL
18034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_Py_Void();
18057 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
= 0;
18059 wxDC
*arg1
= (wxDC
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 PyObject
* obj2
= 0 ;
18083 PyObject
* obj3
= 0 ;
18084 PyObject
* obj4
= 0 ;
18085 PyObject
* obj5
= 0 ;
18086 PyObject
* obj6
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18098 if (!SWIG_IsOK(ecode2
)) {
18099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18101 arg2
= static_cast< int >(val2
);
18102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18103 if (!SWIG_IsOK(ecode3
)) {
18104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18106 arg3
= static_cast< int >(val3
);
18107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18108 if (!SWIG_IsOK(ecode4
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18111 arg4
= static_cast< int >(val4
);
18112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18113 if (!SWIG_IsOK(ecode5
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18116 arg5
= static_cast< int >(val5
);
18117 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18118 if (!SWIG_IsOK(ecode6
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18121 arg6
= static_cast< int >(val6
);
18122 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18123 if (!SWIG_IsOK(ecode7
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18126 arg7
= static_cast< int >(val7
);
18128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18129 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_Py_Void();
18140 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
= 0;
18142 wxDC
*arg1
= (wxDC
*) 0 ;
18143 wxPoint
*arg2
= 0 ;
18144 wxPoint
*arg3
= 0 ;
18145 wxPoint
*arg4
= 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 PyObject
* obj3
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18175 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxDC
*arg1
= (wxDC
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18223 if (!SWIG_IsOK(ecode2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18226 arg2
= static_cast< int >(val2
);
18227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18228 if (!SWIG_IsOK(ecode3
)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18231 arg3
= static_cast< int >(val3
);
18232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18233 if (!SWIG_IsOK(ecode4
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18236 arg4
= static_cast< int >(val4
);
18237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18238 if (!SWIG_IsOK(ecode5
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18241 arg5
= static_cast< int >(val5
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "rect", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18276 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxDC
*arg1
= (wxDC
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 PyObject
* obj3
= 0 ;
18318 PyObject
* obj4
= 0 ;
18319 PyObject
* obj5
= 0 ;
18320 PyObject
* obj6
= 0 ;
18321 char * kwnames
[] = {
18322 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18327 if (!SWIG_IsOK(res1
)) {
18328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18332 if (!SWIG_IsOK(ecode2
)) {
18333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18335 arg2
= static_cast< int >(val2
);
18336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18337 if (!SWIG_IsOK(ecode3
)) {
18338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18340 arg3
= static_cast< int >(val3
);
18341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18342 if (!SWIG_IsOK(ecode4
)) {
18343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18345 arg4
= static_cast< int >(val4
);
18346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18347 if (!SWIG_IsOK(ecode5
)) {
18348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18350 arg5
= static_cast< int >(val5
);
18351 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18352 if (!SWIG_IsOK(ecode6
)) {
18353 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18355 arg6
= static_cast< double >(val6
);
18356 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18357 if (!SWIG_IsOK(ecode7
)) {
18358 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18360 arg7
= static_cast< double >(val7
);
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 resultobj
= SWIG_Py_Void();
18374 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
= 0;
18376 wxDC
*arg1
= (wxDC
*) 0 ;
18377 wxPoint
*arg2
= 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 PyObject
* obj2
= 0 ;
18392 PyObject
* obj3
= 0 ;
18393 PyObject
* obj4
= 0 ;
18394 char * kwnames
[] = {
18395 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18410 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18412 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18413 if (!SWIG_IsOK(ecode4
)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18416 arg4
= static_cast< double >(val4
);
18417 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18418 if (!SWIG_IsOK(ecode5
)) {
18419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18421 arg5
= static_cast< double >(val5
);
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_Py_Void();
18435 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxDC
*arg1
= (wxDC
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "x",(char *) "y", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18460 if (!SWIG_IsOK(ecode2
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18463 arg2
= static_cast< int >(val2
);
18464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18465 if (!SWIG_IsOK(ecode3
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18468 arg3
= static_cast< int >(val3
);
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 (arg1
)->DrawPoint(arg2
,arg3
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_Py_Void();
18482 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
= 0;
18484 wxDC
*arg1
= (wxDC
*) 0 ;
18485 wxPoint
*arg2
= 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "pt", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_Py_Void();
18518 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= 0;
18520 wxDC
*arg1
= (wxDC
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 PyObject
* obj2
= 0 ;
18538 PyObject
* obj3
= 0 ;
18539 PyObject
* obj4
= 0 ;
18540 char * kwnames
[] = {
18541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18546 if (!SWIG_IsOK(res1
)) {
18547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18551 if (!SWIG_IsOK(ecode2
)) {
18552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18554 arg2
= static_cast< int >(val2
);
18555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18556 if (!SWIG_IsOK(ecode3
)) {
18557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18559 arg3
= static_cast< int >(val3
);
18560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18561 if (!SWIG_IsOK(ecode4
)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18564 arg4
= static_cast< int >(val4
);
18565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18566 if (!SWIG_IsOK(ecode5
)) {
18567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18569 arg5
= static_cast< int >(val5
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_Py_Void();
18583 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxDC
*arg1
= (wxDC
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "rect", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18604 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_Py_Void();
18619 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxDC
*arg1
= (wxDC
*) 0 ;
18622 wxPoint
*arg2
= 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 PyObject
* obj2
= 0 ;
18631 char * kwnames
[] = {
18632 (char *) "self",(char *) "pt",(char *) "sz", NULL
18635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18637 if (!SWIG_IsOK(res1
)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18647 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_Py_Void();
18662 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxDC
*arg1
= (wxDC
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 PyObject
* obj3
= 0 ;
18686 PyObject
* obj4
= 0 ;
18687 PyObject
* obj5
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18699 if (!SWIG_IsOK(ecode2
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18702 arg2
= static_cast< int >(val2
);
18703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18704 if (!SWIG_IsOK(ecode3
)) {
18705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18707 arg3
= static_cast< int >(val3
);
18708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18709 if (!SWIG_IsOK(ecode4
)) {
18710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18712 arg4
= static_cast< int >(val4
);
18713 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18714 if (!SWIG_IsOK(ecode5
)) {
18715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18717 arg5
= static_cast< int >(val5
);
18718 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18719 if (!SWIG_IsOK(ecode6
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18722 arg6
= static_cast< double >(val6
);
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_Py_Void();
18736 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
= 0;
18738 wxDC
*arg1
= (wxDC
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 PyObject
* obj2
= 0 ;
18749 char * kwnames
[] = {
18750 (char *) "self",(char *) "r",(char *) "radius", NULL
18753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18755 if (!SWIG_IsOK(res1
)) {
18756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18761 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18763 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18764 if (!SWIG_IsOK(ecode3
)) {
18765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18767 arg3
= static_cast< double >(val3
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_Py_Void();
18781 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
= 0;
18783 wxDC
*arg1
= (wxDC
*) 0 ;
18784 wxPoint
*arg2
= 0 ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 PyObject
* obj2
= 0 ;
18796 PyObject
* obj3
= 0 ;
18797 char * kwnames
[] = {
18798 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18803 if (!SWIG_IsOK(res1
)) {
18804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18813 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18816 if (!SWIG_IsOK(ecode4
)) {
18817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18819 arg4
= static_cast< double >(val4
);
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= SWIG_Py_Void();
18833 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
= 0;
18835 wxDC
*arg1
= (wxDC
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 char * kwnames
[] = {
18852 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18857 if (!SWIG_IsOK(res1
)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18862 if (!SWIG_IsOK(ecode2
)) {
18863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18865 arg2
= static_cast< int >(val2
);
18866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18867 if (!SWIG_IsOK(ecode3
)) {
18868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18870 arg3
= static_cast< int >(val3
);
18871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18872 if (!SWIG_IsOK(ecode4
)) {
18873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18875 arg4
= static_cast< int >(val4
);
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_Py_Void();
18889 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
= 0;
18891 wxDC
*arg1
= (wxDC
*) 0 ;
18892 wxPoint
*arg2
= 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 PyObject
* obj2
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "pt",(char *) "radius", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18917 if (!SWIG_IsOK(ecode3
)) {
18918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18920 arg3
= static_cast< int >(val3
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
= 0;
18936 wxDC
*arg1
= (wxDC
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 PyObject
* obj4
= 0 ;
18956 char * kwnames
[] = {
18957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18962 if (!SWIG_IsOK(res1
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18967 if (!SWIG_IsOK(ecode2
)) {
18968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18970 arg2
= static_cast< int >(val2
);
18971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18972 if (!SWIG_IsOK(ecode3
)) {
18973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18975 arg3
= static_cast< int >(val3
);
18976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18977 if (!SWIG_IsOK(ecode4
)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18980 arg4
= static_cast< int >(val4
);
18981 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18982 if (!SWIG_IsOK(ecode5
)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18985 arg5
= static_cast< int >(val5
);
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_Py_Void();
18999 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
= 0;
19001 wxDC
*arg1
= (wxDC
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char * kwnames
[] = {
19009 (char *) "self",(char *) "rect", NULL
19012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19014 if (!SWIG_IsOK(res1
)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19020 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_Py_Void();
19035 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
= 0;
19037 wxDC
*arg1
= (wxDC
*) 0 ;
19038 wxPoint
*arg2
= 0 ;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char * kwnames
[] = {
19048 (char *) "self",(char *) "pt",(char *) "sz", NULL
19051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19053 if (!SWIG_IsOK(res1
)) {
19054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19063 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_Py_Void();
19078 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
= 0;
19080 wxDC
*arg1
= (wxDC
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 PyObject
* obj1
= 0 ;
19094 PyObject
* obj2
= 0 ;
19095 PyObject
* obj3
= 0 ;
19096 char * kwnames
[] = {
19097 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19102 if (!SWIG_IsOK(res1
)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19107 if (!SWIG_IsOK(res2
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19113 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19115 if (!SWIG_IsOK(ecode3
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19118 arg3
= static_cast< int >(val3
);
19119 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19120 if (!SWIG_IsOK(ecode4
)) {
19121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19123 arg4
= static_cast< int >(val4
);
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_Py_Void();
19137 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
= 0;
19139 wxDC
*arg1
= (wxDC
*) 0 ;
19141 wxPoint
*arg3
= 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "icon",(char *) "pt", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19161 if (!SWIG_IsOK(res2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19167 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_Py_Void();
19185 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxDC
*arg1
= (wxDC
*) 0 ;
19188 wxBitmap
*arg2
= 0 ;
19191 bool arg5
= (bool) false ;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 PyObject
* obj2
= 0 ;
19205 PyObject
* obj3
= 0 ;
19206 PyObject
* obj4
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19224 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19226 if (!SWIG_IsOK(ecode3
)) {
19227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19229 arg3
= static_cast< int >(val3
);
19230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19231 if (!SWIG_IsOK(ecode4
)) {
19232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19234 arg4
= static_cast< int >(val4
);
19236 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19237 if (!SWIG_IsOK(ecode5
)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19240 arg5
= static_cast< bool >(val5
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19258 wxBitmap
*arg2
= 0 ;
19259 wxPoint
*arg3
= 0 ;
19260 bool arg4
= (bool) false ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 PyObject
* obj2
= 0 ;
19271 PyObject
* obj3
= 0 ;
19272 char * kwnames
[] = {
19273 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19278 if (!SWIG_IsOK(res1
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19283 if (!SWIG_IsOK(res2
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19295 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19296 if (!SWIG_IsOK(ecode4
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19299 arg4
= static_cast< bool >(val4
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 resultobj
= SWIG_Py_Void();
19314 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= 0;
19316 wxDC
*arg1
= (wxDC
*) 0 ;
19317 wxString
*arg2
= 0 ;
19322 bool temp2
= false ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 PyObject
* obj2
= 0 ;
19330 PyObject
* obj3
= 0 ;
19331 char * kwnames
[] = {
19332 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19342 arg2
= wxString_in_helper(obj1
);
19343 if (arg2
== NULL
) SWIG_fail
;
19346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19347 if (!SWIG_IsOK(ecode3
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19350 arg3
= static_cast< int >(val3
);
19351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19352 if (!SWIG_IsOK(ecode4
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19355 arg4
= static_cast< int >(val4
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19377 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= 0;
19379 wxDC
*arg1
= (wxDC
*) 0 ;
19380 wxString
*arg2
= 0 ;
19381 wxPoint
*arg3
= 0 ;
19384 bool temp2
= false ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 PyObject
* obj2
= 0 ;
19389 char * kwnames
[] = {
19390 (char *) "self",(char *) "text",(char *) "pt", NULL
19393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19400 arg2
= wxString_in_helper(obj1
);
19401 if (arg2
== NULL
) SWIG_fail
;
19406 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxDC
*arg1
= (wxDC
*) 0 ;
19432 wxString
*arg2
= 0 ;
19438 bool temp2
= false ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 PyObject
* obj4
= 0 ;
19450 char * kwnames
[] = {
19451 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19456 if (!SWIG_IsOK(res1
)) {
19457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19461 arg2
= wxString_in_helper(obj1
);
19462 if (arg2
== NULL
) SWIG_fail
;
19465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19466 if (!SWIG_IsOK(ecode3
)) {
19467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19469 arg3
= static_cast< int >(val3
);
19470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19471 if (!SWIG_IsOK(ecode4
)) {
19472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19474 arg4
= static_cast< int >(val4
);
19475 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19476 if (!SWIG_IsOK(ecode5
)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19479 arg5
= static_cast< double >(val5
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= SWIG_Py_Void();
19501 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
= 0;
19503 wxDC
*arg1
= (wxDC
*) 0 ;
19504 wxString
*arg2
= 0 ;
19505 wxPoint
*arg3
= 0 ;
19509 bool temp2
= false ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 PyObject
* obj3
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19528 arg2
= wxString_in_helper(obj1
);
19529 if (arg2
== NULL
) SWIG_fail
;
19534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19536 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19537 if (!SWIG_IsOK(ecode4
)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19540 arg4
= static_cast< double >(val4
);
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19562 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxDC
*arg1
= (wxDC
*) 0 ;
19569 wxDC
*arg6
= (wxDC
*) 0 ;
19572 int arg9
= (int) wxCOPY
;
19573 bool arg10
= (bool) false ;
19574 int arg11
= (int) -1 ;
19575 int arg12
= (int) -1 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 PyObject
* obj2
= 0 ;
19604 PyObject
* obj3
= 0 ;
19605 PyObject
* obj4
= 0 ;
19606 PyObject
* obj5
= 0 ;
19607 PyObject
* obj6
= 0 ;
19608 PyObject
* obj7
= 0 ;
19609 PyObject
* obj8
= 0 ;
19610 PyObject
* obj9
= 0 ;
19611 PyObject
* obj10
= 0 ;
19612 PyObject
* obj11
= 0 ;
19613 char * kwnames
[] = {
19614 (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
19617 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
;
19618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19624 if (!SWIG_IsOK(ecode2
)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19627 arg2
= static_cast< int >(val2
);
19628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19629 if (!SWIG_IsOK(ecode3
)) {
19630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19632 arg3
= static_cast< int >(val3
);
19633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19634 if (!SWIG_IsOK(ecode4
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19637 arg4
= static_cast< int >(val4
);
19638 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19639 if (!SWIG_IsOK(ecode5
)) {
19640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19642 arg5
= static_cast< int >(val5
);
19643 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19644 if (!SWIG_IsOK(res6
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19647 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19648 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19649 if (!SWIG_IsOK(ecode7
)) {
19650 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19652 arg7
= static_cast< int >(val7
);
19653 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19654 if (!SWIG_IsOK(ecode8
)) {
19655 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19657 arg8
= static_cast< int >(val8
);
19659 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19660 if (!SWIG_IsOK(ecode9
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19663 arg9
= static_cast< int >(val9
);
19666 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19667 if (!SWIG_IsOK(ecode10
)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19670 arg10
= static_cast< bool >(val10
);
19673 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19674 if (!SWIG_IsOK(ecode11
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19677 arg11
= static_cast< int >(val11
);
19680 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19681 if (!SWIG_IsOK(ecode12
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19684 arg12
= static_cast< int >(val12
);
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19701 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19702 PyObject
*resultobj
= 0;
19703 wxDC
*arg1
= (wxDC
*) 0 ;
19704 wxPoint
*arg2
= 0 ;
19706 wxDC
*arg4
= (wxDC
*) 0 ;
19707 wxPoint
*arg5
= 0 ;
19708 int arg6
= (int) wxCOPY
;
19709 bool arg7
= (bool) false ;
19710 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19711 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 PyObject
* obj2
= 0 ;
19728 PyObject
* obj3
= 0 ;
19729 PyObject
* obj4
= 0 ;
19730 PyObject
* obj5
= 0 ;
19731 PyObject
* obj6
= 0 ;
19732 PyObject
* obj7
= 0 ;
19733 char * kwnames
[] = {
19734 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19739 if (!SWIG_IsOK(res1
)) {
19740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19749 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19751 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19752 if (!SWIG_IsOK(res4
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19755 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19761 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19762 if (!SWIG_IsOK(ecode6
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19765 arg6
= static_cast< int >(val6
);
19768 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19769 if (!SWIG_IsOK(ecode7
)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19772 arg7
= static_cast< bool >(val7
);
19777 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19795 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
= 0;
19797 wxDC
*arg1
= (wxDC
*) 0 ;
19798 wxRect
*arg2
= (wxRect
*) NULL
;
19799 SwigValueWrapper
<wxBitmap
> result
;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 char * kwnames
[] = {
19807 (char *) "self",(char *) "subrect", NULL
19810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19812 if (!SWIG_IsOK(res1
)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19817 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19818 if (!SWIG_IsOK(res2
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19821 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19836 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
= 0;
19838 wxDC
*arg1
= (wxDC
*) 0 ;
19853 PyObject
* obj0
= 0 ;
19854 PyObject
* obj1
= 0 ;
19855 PyObject
* obj2
= 0 ;
19856 PyObject
* obj3
= 0 ;
19857 PyObject
* obj4
= 0 ;
19858 char * kwnames
[] = {
19859 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19869 if (!SWIG_IsOK(ecode2
)) {
19870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19872 arg2
= static_cast< int >(val2
);
19873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19874 if (!SWIG_IsOK(ecode3
)) {
19875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19877 arg3
= static_cast< int >(val3
);
19878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19879 if (!SWIG_IsOK(ecode4
)) {
19880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19882 arg4
= static_cast< int >(val4
);
19883 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19884 if (!SWIG_IsOK(ecode5
)) {
19885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19887 arg5
= static_cast< int >(val5
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19901 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxDC
*arg1
= (wxDC
*) 0 ;
19904 wxPoint
*arg2
= 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "pt",(char *) "sz", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19929 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_Py_Void();
19944 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
= 0;
19946 wxDC
*arg1
= (wxDC
*) 0 ;
19947 wxRegion
*arg2
= 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "region", NULL
19958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19960 if (!SWIG_IsOK(res1
)) {
19961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19965 if (!SWIG_IsOK(res2
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19971 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_Py_Void();
19985 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
= 0;
19987 wxDC
*arg1
= (wxDC
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "rect", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= SWIG_Py_Void();
20021 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= 0;
20023 wxDC
*arg1
= (wxDC
*) 0 ;
20025 wxPoint
*arg3
= (wxPoint
*) 0 ;
20026 int arg4
= (int) 0 ;
20027 int arg5
= (int) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 PyObject
* obj2
= 0 ;
20037 PyObject
* obj3
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20049 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20050 if (arg3
== NULL
) SWIG_fail
;
20053 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20054 if (!SWIG_IsOK(ecode4
)) {
20055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20057 arg4
= static_cast< int >(val4
);
20060 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20061 if (!SWIG_IsOK(ecode5
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20064 arg5
= static_cast< int >(val5
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_Py_Void();
20074 if (arg3
) delete [] arg3
;
20079 if (arg3
) delete [] arg3
;
20085 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
= 0;
20087 wxDC
*arg1
= (wxDC
*) 0 ;
20089 wxPoint
*arg3
= (wxPoint
*) 0 ;
20090 int arg4
= (int) 0 ;
20091 int arg5
= (int) 0 ;
20092 int arg6
= (int) wxODDEVEN_RULE
;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 PyObject
* obj2
= 0 ;
20104 PyObject
* obj3
= 0 ;
20105 PyObject
* obj4
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20118 if (arg3
== NULL
) SWIG_fail
;
20121 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20122 if (!SWIG_IsOK(ecode4
)) {
20123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20125 arg4
= static_cast< int >(val4
);
20128 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20129 if (!SWIG_IsOK(ecode5
)) {
20130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20132 arg5
= static_cast< int >(val5
);
20135 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20136 if (!SWIG_IsOK(ecode6
)) {
20137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20139 arg6
= static_cast< int >(val6
);
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20147 resultobj
= SWIG_Py_Void();
20149 if (arg3
) delete [] arg3
;
20154 if (arg3
) delete [] arg3
;
20160 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
= 0;
20162 wxDC
*arg1
= (wxDC
*) 0 ;
20163 wxString
*arg2
= 0 ;
20165 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20166 int arg5
= (int) -1 ;
20169 bool temp2
= false ;
20175 PyObject
* obj0
= 0 ;
20176 PyObject
* obj1
= 0 ;
20177 PyObject
* obj2
= 0 ;
20178 PyObject
* obj3
= 0 ;
20179 PyObject
* obj4
= 0 ;
20180 char * kwnames
[] = {
20181 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20186 if (!SWIG_IsOK(res1
)) {
20187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20191 arg2
= wxString_in_helper(obj1
);
20192 if (arg2
== NULL
) SWIG_fail
;
20197 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20201 if (!SWIG_IsOK(ecode4
)) {
20202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20204 arg4
= static_cast< int >(val4
);
20207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20208 if (!SWIG_IsOK(ecode5
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20211 arg5
= static_cast< int >(val5
);
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20216 wxPyEndAllowThreads(__tstate
);
20217 if (PyErr_Occurred()) SWIG_fail
;
20219 resultobj
= SWIG_Py_Void();
20234 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
= 0;
20236 wxDC
*arg1
= (wxDC
*) 0 ;
20237 wxString
*arg2
= 0 ;
20238 wxBitmap
*arg3
= 0 ;
20240 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20241 int arg6
= (int) -1 ;
20245 bool temp2
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 PyObject
* obj3
= 0 ;
20257 PyObject
* obj4
= 0 ;
20258 PyObject
* obj5
= 0 ;
20259 char * kwnames
[] = {
20260 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20270 arg2
= wxString_in_helper(obj1
);
20271 if (arg2
== NULL
) SWIG_fail
;
20274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20275 if (!SWIG_IsOK(res3
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20281 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20284 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20288 if (!SWIG_IsOK(ecode5
)) {
20289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20291 arg5
= static_cast< int >(val5
);
20294 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20295 if (!SWIG_IsOK(ecode6
)) {
20296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20298 arg6
= static_cast< int >(val6
);
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20321 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxDC
*arg1
= (wxDC
*) 0 ;
20325 wxPoint
*arg3
= (wxPoint
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "points", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20342 if (arg3
== NULL
) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 (arg1
)->DrawSpline(arg2
,arg3
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 resultobj
= SWIG_Py_Void();
20352 if (arg3
) delete [] arg3
;
20357 if (arg3
) delete [] arg3
;
20363 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20368 PyObject
*swig_obj
[1] ;
20370 if (!args
) SWIG_fail
;
20371 swig_obj
[0] = args
;
20372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxDC
*arg1
= (wxDC
*) 0 ;
20393 wxString
*arg2
= 0 ;
20397 bool temp2
= false ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "message", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20411 arg2
= wxString_in_helper(obj1
);
20412 if (arg2
== NULL
) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20438 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20439 PyObject
*resultobj
= 0;
20440 wxDC
*arg1
= (wxDC
*) 0 ;
20443 PyObject
*swig_obj
[1] ;
20445 if (!args
) SWIG_fail
;
20446 swig_obj
[0] = args
;
20447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_Py_Void();
20465 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20466 PyObject
*resultobj
= 0;
20467 wxDC
*arg1
= (wxDC
*) 0 ;
20470 PyObject
*swig_obj
[1] ;
20472 if (!args
) SWIG_fail
;
20473 swig_obj
[0] = args
;
20474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20475 if (!SWIG_IsOK(res1
)) {
20476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 (arg1
)->StartPage();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_Py_Void();
20492 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20493 PyObject
*resultobj
= 0;
20494 wxDC
*arg1
= (wxDC
*) 0 ;
20497 PyObject
*swig_obj
[1] ;
20499 if (!args
) SWIG_fail
;
20500 swig_obj
[0] = args
;
20501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_Py_Void();
20519 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
= 0;
20521 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char * kwnames
[] = {
20530 (char *) "self",(char *) "font", NULL
20533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20535 if (!SWIG_IsOK(res1
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20540 if (!SWIG_IsOK(res2
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20546 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetFont((wxFont
const &)*arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxDC
*arg1
= (wxDC
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "self",(char *) "pen", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20581 if (!SWIG_IsOK(res2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20587 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetPen((wxPen
const &)*arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
= 0;
20603 wxDC
*arg1
= (wxDC
*) 0 ;
20604 wxBrush
*arg2
= 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char * kwnames
[] = {
20612 (char *) "self",(char *) "brush", NULL
20615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20617 if (!SWIG_IsOK(res1
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20622 if (!SWIG_IsOK(res2
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20628 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20642 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxDC
*arg1
= (wxDC
*) 0 ;
20645 wxBrush
*arg2
= 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char * kwnames
[] = {
20653 (char *) "self",(char *) "brush", NULL
20656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20663 if (!SWIG_IsOK(res2
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20669 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_Py_Void();
20683 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxDC
*arg1
= (wxDC
*) 0 ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "mode", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20704 if (!SWIG_IsOK(ecode2
)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20707 arg2
= static_cast< int >(val2
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->SetBackgroundMode(arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20721 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
= 0;
20723 wxDC
*arg1
= (wxDC
*) 0 ;
20724 wxPalette
*arg2
= 0 ;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char * kwnames
[] = {
20732 (char *) "self",(char *) "palette", NULL
20735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20742 if (!SWIG_IsOK(res2
)) {
20743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20748 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 resultobj
= SWIG_Py_Void();
20762 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20763 PyObject
*resultobj
= 0;
20764 wxDC
*arg1
= (wxDC
*) 0 ;
20767 PyObject
*swig_obj
[1] ;
20769 if (!args
) SWIG_fail
;
20770 swig_obj
[0] = args
;
20771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 (arg1
)->DestroyClippingRegion();
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= SWIG_Py_Void();
20789 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20790 PyObject
*resultobj
= 0;
20791 wxDC
*arg1
= (wxDC
*) 0 ;
20792 int *arg2
= (int *) 0 ;
20793 int *arg3
= (int *) 0 ;
20794 int *arg4
= (int *) 0 ;
20795 int *arg5
= (int *) 0 ;
20799 int res2
= SWIG_TMPOBJ
;
20801 int res3
= SWIG_TMPOBJ
;
20803 int res4
= SWIG_TMPOBJ
;
20805 int res5
= SWIG_TMPOBJ
;
20806 PyObject
*swig_obj
[1] ;
20812 if (!args
) SWIG_fail
;
20813 swig_obj
[0] = args
;
20814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_Py_Void();
20826 if (SWIG_IsTmpObj(res2
)) {
20827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20829 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20832 if (SWIG_IsTmpObj(res3
)) {
20833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20835 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20838 if (SWIG_IsTmpObj(res4
)) {
20839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20841 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20844 if (SWIG_IsTmpObj(res5
)) {
20845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20847 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20856 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20862 PyObject
*swig_obj
[1] ;
20864 if (!args
) SWIG_fail
;
20865 swig_obj
[0] = args
;
20866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20867 if (!SWIG_IsOK(res1
)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= wxDC_GetClippingRect(arg1
);
20874 wxPyEndAllowThreads(__tstate
);
20875 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20884 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 PyObject
*resultobj
= 0;
20886 wxDC
*arg1
= (wxDC
*) 0 ;
20890 PyObject
*swig_obj
[1] ;
20892 if (!args
) SWIG_fail
;
20893 swig_obj
[0] = args
;
20894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20895 if (!SWIG_IsOK(res1
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_From_int(static_cast< int >(result
));
20912 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 PyObject
*resultobj
= 0;
20914 wxDC
*arg1
= (wxDC
*) 0 ;
20918 PyObject
*swig_obj
[1] ;
20920 if (!args
) SWIG_fail
;
20921 swig_obj
[0] = args
;
20922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20923 if (!SWIG_IsOK(res1
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_From_int(static_cast< int >(result
));
20940 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20942 wxDC
*arg1
= (wxDC
*) 0 ;
20943 wxString
*arg2
= 0 ;
20944 int *arg3
= (int *) 0 ;
20945 int *arg4
= (int *) 0 ;
20948 bool temp2
= false ;
20950 int res3
= SWIG_TMPOBJ
;
20952 int res4
= SWIG_TMPOBJ
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char * kwnames
[] = {
20956 (char *) "self",(char *) "string", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20963 if (!SWIG_IsOK(res1
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20968 arg2
= wxString_in_helper(obj1
);
20969 if (arg2
== NULL
) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_Py_Void();
20979 if (SWIG_IsTmpObj(res3
)) {
20980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20982 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20985 if (SWIG_IsTmpObj(res4
)) {
20986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20988 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21005 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxDC
*arg1
= (wxDC
*) 0 ;
21008 wxString
*arg2
= 0 ;
21009 int *arg3
= (int *) 0 ;
21010 int *arg4
= (int *) 0 ;
21011 int *arg5
= (int *) 0 ;
21012 int *arg6
= (int *) 0 ;
21013 wxFont
*arg7
= (wxFont
*) NULL
;
21016 bool temp2
= false ;
21018 int res3
= SWIG_TMPOBJ
;
21020 int res4
= SWIG_TMPOBJ
;
21022 int res5
= SWIG_TMPOBJ
;
21024 int res6
= SWIG_TMPOBJ
;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 PyObject
* obj2
= 0 ;
21030 char * kwnames
[] = {
21031 (char *) "self",(char *) "string",(char *) "font", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21040 if (!SWIG_IsOK(res1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21045 arg2
= wxString_in_helper(obj1
);
21046 if (arg2
== NULL
) SWIG_fail
;
21050 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21051 if (!SWIG_IsOK(res7
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21054 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_Py_Void();
21063 if (SWIG_IsTmpObj(res3
)) {
21064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21066 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21069 if (SWIG_IsTmpObj(res4
)) {
21070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21072 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21073 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21075 if (SWIG_IsTmpObj(res5
)) {
21076 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21078 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21079 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21081 if (SWIG_IsTmpObj(res6
)) {
21082 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21084 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21101 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
= 0;
21103 wxDC
*arg1
= (wxDC
*) 0 ;
21104 wxString
*arg2
= 0 ;
21105 int *arg3
= (int *) 0 ;
21106 int *arg4
= (int *) 0 ;
21107 int *arg5
= (int *) 0 ;
21108 wxFont
*arg6
= (wxFont
*) NULL
;
21111 bool temp2
= false ;
21113 int res3
= SWIG_TMPOBJ
;
21115 int res4
= SWIG_TMPOBJ
;
21117 int res5
= SWIG_TMPOBJ
;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 PyObject
* obj2
= 0 ;
21123 char * kwnames
[] = {
21124 (char *) "self",(char *) "text",(char *) "font", NULL
21130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 arg2
= wxString_in_helper(obj1
);
21138 if (arg2
== NULL
) SWIG_fail
;
21142 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21143 if (!SWIG_IsOK(res6
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21146 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_Py_Void();
21155 if (SWIG_IsTmpObj(res3
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res4
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21164 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21167 if (SWIG_IsTmpObj(res5
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21170 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21187 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxDC
*arg1
= (wxDC
*) 0 ;
21190 wxString
*arg2
= 0 ;
21194 bool temp2
= false ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "text", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21208 arg2
= wxString_in_helper(obj1
);
21209 if (arg2
== NULL
) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= wxArrayInt2PyList_helper(result
);
21235 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21236 PyObject
*resultobj
= 0;
21237 wxDC
*arg1
= (wxDC
*) 0 ;
21241 PyObject
*swig_obj
[1] ;
21243 if (!args
) SWIG_fail
;
21244 swig_obj
[0] = args
;
21245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (arg1
)->GetSize();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21263 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21264 PyObject
*resultobj
= 0;
21265 wxDC
*arg1
= (wxDC
*) 0 ;
21266 int *arg2
= (int *) 0 ;
21267 int *arg3
= (int *) 0 ;
21271 int res2
= SWIG_TMPOBJ
;
21273 int res3
= SWIG_TMPOBJ
;
21274 PyObject
*swig_obj
[1] ;
21278 if (!args
) SWIG_fail
;
21279 swig_obj
[0] = args
;
21280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21281 if (!SWIG_IsOK(res1
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->GetSize(arg2
,arg3
);
21288 wxPyEndAllowThreads(__tstate
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= SWIG_Py_Void();
21292 if (SWIG_IsTmpObj(res2
)) {
21293 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21295 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21296 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21298 if (SWIG_IsTmpObj(res3
)) {
21299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21310 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21311 PyObject
*resultobj
= 0;
21312 wxDC
*arg1
= (wxDC
*) 0 ;
21316 PyObject
*swig_obj
[1] ;
21318 if (!args
) SWIG_fail
;
21319 swig_obj
[0] = args
;
21320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21338 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21339 PyObject
*resultobj
= 0;
21340 wxDC
*arg1
= (wxDC
*) 0 ;
21341 int *arg2
= (int *) 0 ;
21342 int *arg3
= (int *) 0 ;
21346 int res2
= SWIG_TMPOBJ
;
21348 int res3
= SWIG_TMPOBJ
;
21349 PyObject
*swig_obj
[1] ;
21353 if (!args
) SWIG_fail
;
21354 swig_obj
[0] = args
;
21355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21356 if (!SWIG_IsOK(res1
)) {
21357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21363 wxPyEndAllowThreads(__tstate
);
21364 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= SWIG_Py_Void();
21367 if (SWIG_IsTmpObj(res2
)) {
21368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21370 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21373 if (SWIG_IsTmpObj(res3
)) {
21374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21376 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21385 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= 0;
21387 wxDC
*arg1
= (wxDC
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char * kwnames
[] = {
21397 (char *) "self",(char *) "x", NULL
21400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21407 if (!SWIG_IsOK(ecode2
)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21410 arg2
= static_cast< int >(val2
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_From_int(static_cast< int >(result
));
21424 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 char * kwnames
[] = {
21436 (char *) "self",(char *) "y", NULL
21439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21446 if (!SWIG_IsOK(ecode2
)) {
21447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21449 arg2
= static_cast< int >(val2
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_int(static_cast< int >(result
));
21463 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char * kwnames
[] = {
21475 (char *) "self",(char *) "x", NULL
21478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21480 if (!SWIG_IsOK(res1
)) {
21481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21485 if (!SWIG_IsOK(ecode2
)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21488 arg2
= static_cast< int >(val2
);
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21495 resultobj
= SWIG_From_int(static_cast< int >(result
));
21502 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
= 0;
21504 wxDC
*arg1
= (wxDC
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 PyObject
* obj1
= 0 ;
21513 char * kwnames
[] = {
21514 (char *) "self",(char *) "y", NULL
21517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21524 if (!SWIG_IsOK(ecode2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21527 arg2
= static_cast< int >(val2
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_From_int(static_cast< int >(result
));
21541 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
= 0;
21543 wxDC
*arg1
= (wxDC
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char * kwnames
[] = {
21553 (char *) "self",(char *) "x", NULL
21556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21558 if (!SWIG_IsOK(res1
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21563 if (!SWIG_IsOK(ecode2
)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21566 arg2
= static_cast< int >(val2
);
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_From_int(static_cast< int >(result
));
21580 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
= 0;
21582 wxDC
*arg1
= (wxDC
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "self",(char *) "y", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21602 if (!SWIG_IsOK(ecode2
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21605 arg2
= static_cast< int >(val2
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_From_int(static_cast< int >(result
));
21619 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21621 wxDC
*arg1
= (wxDC
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "self",(char *) "x", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21641 if (!SWIG_IsOK(ecode2
)) {
21642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21644 arg2
= static_cast< int >(val2
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 resultobj
= SWIG_From_int(static_cast< int >(result
));
21658 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
= 0;
21660 wxDC
*arg1
= (wxDC
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char * kwnames
[] = {
21670 (char *) "self",(char *) "y", NULL
21673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21680 if (!SWIG_IsOK(ecode2
)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21683 arg2
= static_cast< int >(val2
);
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= SWIG_From_int(static_cast< int >(result
));
21697 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxDC
*arg1
= (wxDC
*) 0 ;
21703 PyObject
*swig_obj
[1] ;
21705 if (!args
) SWIG_fail
;
21706 swig_obj
[0] = args
;
21707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21728 PyObject
*resultobj
= 0;
21729 wxDC
*arg1
= (wxDC
*) 0 ;
21733 PyObject
*swig_obj
[1] ;
21735 if (!args
) SWIG_fail
;
21736 swig_obj
[0] = args
;
21737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21744 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21745 wxPyEndAllowThreads(__tstate
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21757 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21758 PyObject
*resultobj
= 0;
21759 wxDC
*arg1
= (wxDC
*) 0 ;
21763 PyObject
*swig_obj
[1] ;
21765 if (!args
) SWIG_fail
;
21766 swig_obj
[0] = args
;
21767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21768 if (!SWIG_IsOK(res1
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_From_int(static_cast< int >(result
));
21785 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21786 PyObject
*resultobj
= 0;
21787 wxDC
*arg1
= (wxDC
*) 0 ;
21791 PyObject
*swig_obj
[1] ;
21793 if (!args
) SWIG_fail
;
21794 swig_obj
[0] = args
;
21795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= ((wxDC
const *)arg1
)->GetPPI();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21813 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 PyObject
*resultobj
= 0;
21815 wxDC
*arg1
= (wxDC
*) 0 ;
21819 PyObject
*swig_obj
[1] ;
21821 if (!args
) SWIG_fail
;
21822 swig_obj
[0] = args
;
21823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21844 PyObject
*resultobj
= 0;
21845 wxDC
*arg1
= (wxDC
*) 0 ;
21849 PyObject
*swig_obj
[1] ;
21851 if (!args
) SWIG_fail
;
21852 swig_obj
[0] = args
;
21853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= SWIG_From_int(static_cast< int >(result
));
21871 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 PyObject
*resultobj
= 0;
21873 wxDC
*arg1
= (wxDC
*) 0 ;
21874 wxBrush
*result
= 0 ;
21877 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21890 result
= (wxBrush
*) &_result_ref
;
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 wxBrush
* resultptr
= new wxBrush(*result
);
21897 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21905 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 PyObject
*resultobj
= 0;
21907 wxDC
*arg1
= (wxDC
*) 0 ;
21908 wxBrush
*result
= 0 ;
21911 PyObject
*swig_obj
[1] ;
21913 if (!args
) SWIG_fail
;
21914 swig_obj
[0] = args
;
21915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21924 result
= (wxBrush
*) &_result_ref
;
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 wxBrush
* resultptr
= new wxBrush(*result
);
21931 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21939 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxDC
*arg1
= (wxDC
*) 0 ;
21942 wxFont
*result
= 0 ;
21945 PyObject
*swig_obj
[1] ;
21947 if (!args
) SWIG_fail
;
21948 swig_obj
[0] = args
;
21949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21958 result
= (wxFont
*) &_result_ref
;
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 wxFont
* resultptr
= new wxFont(*result
);
21965 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21973 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21974 PyObject
*resultobj
= 0;
21975 wxDC
*arg1
= (wxDC
*) 0 ;
21976 wxPen
*result
= 0 ;
21979 PyObject
*swig_obj
[1] ;
21981 if (!args
) SWIG_fail
;
21982 swig_obj
[0] = args
;
21983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21992 result
= (wxPen
*) &_result_ref
;
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21998 wxPen
* resultptr
= new wxPen(*result
);
21999 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22007 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22008 PyObject
*resultobj
= 0;
22009 wxDC
*arg1
= (wxDC
*) 0 ;
22010 wxColour
*result
= 0 ;
22013 PyObject
*swig_obj
[1] ;
22015 if (!args
) SWIG_fail
;
22016 swig_obj
[0] = args
;
22017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22026 result
= (wxColour
*) &_result_ref
;
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22038 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22039 PyObject
*resultobj
= 0;
22040 wxDC
*arg1
= (wxDC
*) 0 ;
22041 wxColour
*result
= 0 ;
22044 PyObject
*swig_obj
[1] ;
22046 if (!args
) SWIG_fail
;
22047 swig_obj
[0] = args
;
22048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22049 if (!SWIG_IsOK(res1
)) {
22050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22057 result
= (wxColour
*) &_result_ref
;
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22069 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxDC
*arg1
= (wxDC
*) 0 ;
22072 wxColour
*arg2
= 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char * kwnames
[] = {
22079 (char *) "self",(char *) "colour", NULL
22082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22090 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_Py_Void();
22105 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= 0;
22107 wxDC
*arg1
= (wxDC
*) 0 ;
22108 wxColour
*arg2
= 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "self",(char *) "colour", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22126 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_Py_Void();
22141 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
*swig_obj
[1] ;
22149 if (!args
) SWIG_fail
;
22150 swig_obj
[0] = args
;
22151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_From_int(static_cast< int >(result
));
22169 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char * kwnames
[] = {
22180 (char *) "self",(char *) "mode", NULL
22183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22190 if (!SWIG_IsOK(ecode2
)) {
22191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22193 arg2
= static_cast< int >(val2
);
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetMapMode(arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_Py_Void();
22207 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxDC
*arg1
= (wxDC
*) 0 ;
22210 double *arg2
= (double *) 0 ;
22211 double *arg3
= (double *) 0 ;
22215 int res2
= SWIG_TMPOBJ
;
22217 int res3
= SWIG_TMPOBJ
;
22218 PyObject
*swig_obj
[1] ;
22222 if (!args
) SWIG_fail
;
22223 swig_obj
[0] = args
;
22224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22225 if (!SWIG_IsOK(res1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22232 wxPyEndAllowThreads(__tstate
);
22233 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= SWIG_Py_Void();
22236 if (SWIG_IsTmpObj(res2
)) {
22237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22239 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22240 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22242 if (SWIG_IsTmpObj(res3
)) {
22243 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22245 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22254 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxDC
*arg1
= (wxDC
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 PyObject
* obj2
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "x",(char *) "y", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22278 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22279 if (!SWIG_IsOK(ecode2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22282 arg2
= static_cast< double >(val2
);
22283 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22284 if (!SWIG_IsOK(ecode3
)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22287 arg3
= static_cast< double >(val3
);
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 (arg1
)->SetUserScale(arg2
,arg3
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= SWIG_Py_Void();
22301 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22302 PyObject
*resultobj
= 0;
22303 wxDC
*arg1
= (wxDC
*) 0 ;
22304 double *arg2
= (double *) 0 ;
22305 double *arg3
= (double *) 0 ;
22309 int res2
= SWIG_TMPOBJ
;
22311 int res3
= SWIG_TMPOBJ
;
22312 PyObject
*swig_obj
[1] ;
22316 if (!args
) SWIG_fail
;
22317 swig_obj
[0] = args
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->GetLogicalScale(arg2
,arg3
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_Py_Void();
22330 if (SWIG_IsTmpObj(res2
)) {
22331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22333 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22336 if (SWIG_IsTmpObj(res3
)) {
22337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22339 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22348 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= 0;
22350 wxDC
*arg1
= (wxDC
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char * kwnames
[] = {
22363 (char *) "self",(char *) "x",(char *) "y", NULL
22366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22368 if (!SWIG_IsOK(res1
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22372 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22373 if (!SWIG_IsOK(ecode2
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22376 arg2
= static_cast< double >(val2
);
22377 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22378 if (!SWIG_IsOK(ecode3
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22381 arg3
= static_cast< double >(val3
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->SetLogicalScale(arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_Py_Void();
22395 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22423 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22424 PyObject
*resultobj
= 0;
22425 wxDC
*arg1
= (wxDC
*) 0 ;
22426 int *arg2
= (int *) 0 ;
22427 int *arg3
= (int *) 0 ;
22431 int res2
= SWIG_TMPOBJ
;
22433 int res3
= SWIG_TMPOBJ
;
22434 PyObject
*swig_obj
[1] ;
22438 if (!args
) SWIG_fail
;
22439 swig_obj
[0] = args
;
22440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22441 if (!SWIG_IsOK(res1
)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_Py_Void();
22452 if (SWIG_IsTmpObj(res2
)) {
22453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22455 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22458 if (SWIG_IsTmpObj(res3
)) {
22459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22461 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22470 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22471 PyObject
*resultobj
= 0;
22472 wxDC
*arg1
= (wxDC
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 PyObject
* obj2
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "self",(char *) "x",(char *) "y", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22495 if (!SWIG_IsOK(ecode2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22498 arg2
= static_cast< int >(val2
);
22499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22500 if (!SWIG_IsOK(ecode3
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22503 arg3
= static_cast< int >(val3
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_Py_Void();
22517 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
= 0;
22519 wxDC
*arg1
= (wxDC
*) 0 ;
22520 wxPoint
*arg2
= 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "point", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= SWIG_Py_Void();
22553 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22554 PyObject
*resultobj
= 0;
22555 wxDC
*arg1
= (wxDC
*) 0 ;
22559 PyObject
*swig_obj
[1] ;
22561 if (!args
) SWIG_fail
;
22562 swig_obj
[0] = args
;
22563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22581 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22582 PyObject
*resultobj
= 0;
22583 wxDC
*arg1
= (wxDC
*) 0 ;
22584 int *arg2
= (int *) 0 ;
22585 int *arg3
= (int *) 0 ;
22589 int res2
= SWIG_TMPOBJ
;
22591 int res3
= SWIG_TMPOBJ
;
22592 PyObject
*swig_obj
[1] ;
22596 if (!args
) SWIG_fail
;
22597 swig_obj
[0] = args
;
22598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_Py_Void();
22610 if (SWIG_IsTmpObj(res2
)) {
22611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22613 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22616 if (SWIG_IsTmpObj(res3
)) {
22617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22628 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
= 0;
22630 wxDC
*arg1
= (wxDC
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 PyObject
* obj1
= 0 ;
22641 PyObject
* obj2
= 0 ;
22642 char * kwnames
[] = {
22643 (char *) "self",(char *) "x",(char *) "y", NULL
22646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22648 if (!SWIG_IsOK(res1
)) {
22649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22651 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22653 if (!SWIG_IsOK(ecode2
)) {
22654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22656 arg2
= static_cast< int >(val2
);
22657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22658 if (!SWIG_IsOK(ecode3
)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22661 arg3
= static_cast< int >(val3
);
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= SWIG_Py_Void();
22675 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
= 0;
22677 wxDC
*arg1
= (wxDC
*) 0 ;
22678 wxPoint
*arg2
= 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "self",(char *) "point", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_Py_Void();
22711 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
= 0;
22713 wxDC
*arg1
= (wxDC
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22731 if (!SWIG_IsOK(res1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22735 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22736 if (!SWIG_IsOK(ecode2
)) {
22737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22739 arg2
= static_cast< bool >(val2
);
22740 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22741 if (!SWIG_IsOK(ecode3
)) {
22742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22744 arg3
= static_cast< bool >(val3
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22758 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(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_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_From_int(static_cast< int >(result
));
22786 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxDC
*arg1
= (wxDC
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 char * kwnames
[] = {
22797 (char *) "self",(char *) "function", NULL
22800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22805 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22807 if (!SWIG_IsOK(ecode2
)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22810 arg2
= static_cast< int >(val2
);
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 (arg1
)->SetLogicalFunction(arg2
);
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 resultobj
= SWIG_Py_Void();
22824 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22825 PyObject
*resultobj
= 0;
22826 wxDC
*arg1
= (wxDC
*) 0 ;
22829 PyObject
*swig_obj
[1] ;
22831 if (!args
) SWIG_fail
;
22832 swig_obj
[0] = args
;
22833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22834 if (!SWIG_IsOK(res1
)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->ComputeScaleAndOrigin();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_Py_Void();
22851 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 char * kwnames
[] = {
22866 (char *) "self",(char *) "x",(char *) "y", NULL
22869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22876 if (!SWIG_IsOK(ecode2
)) {
22877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22879 arg2
= static_cast< int >(val2
);
22880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22881 if (!SWIG_IsOK(ecode3
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22884 arg3
= static_cast< int >(val3
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22901 wxPoint
*arg2
= 0 ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 char * kwnames
[] = {
22908 (char *) "self",(char *) "point", NULL
22911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22919 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 PyObject
*resultobj
= 0;
22936 wxDC
*arg1
= (wxDC
*) 0 ;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->ResetBoundingBox();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_Py_Void();
22961 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22962 PyObject
*resultobj
= 0;
22963 wxDC
*arg1
= (wxDC
*) 0 ;
22967 PyObject
*swig_obj
[1] ;
22969 if (!args
) SWIG_fail
;
22970 swig_obj
[0] = args
;
22971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= (int)((wxDC
const *)arg1
)->MinX();
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_From_int(static_cast< int >(result
));
22989 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22990 PyObject
*resultobj
= 0;
22991 wxDC
*arg1
= (wxDC
*) 0 ;
22995 PyObject
*swig_obj
[1] ;
22997 if (!args
) SWIG_fail
;
22998 swig_obj
[0] = args
;
22999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23000 if (!SWIG_IsOK(res1
)) {
23001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (int)((wxDC
const *)arg1
)->MaxX();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_From_int(static_cast< int >(result
));
23017 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxDC
*arg1
= (wxDC
*) 0 ;
23023 PyObject
*swig_obj
[1] ;
23025 if (!args
) SWIG_fail
;
23026 swig_obj
[0] = args
;
23027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23028 if (!SWIG_IsOK(res1
)) {
23029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (int)((wxDC
const *)arg1
)->MinY();
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_From_int(static_cast< int >(result
));
23045 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23046 PyObject
*resultobj
= 0;
23047 wxDC
*arg1
= (wxDC
*) 0 ;
23051 PyObject
*swig_obj
[1] ;
23053 if (!args
) SWIG_fail
;
23054 swig_obj
[0] = args
;
23055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23056 if (!SWIG_IsOK(res1
)) {
23057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (int)((wxDC
const *)arg1
)->MaxY();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_From_int(static_cast< int >(result
));
23073 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23074 PyObject
*resultobj
= 0;
23075 wxDC
*arg1
= (wxDC
*) 0 ;
23076 int *arg2
= (int *) 0 ;
23077 int *arg3
= (int *) 0 ;
23078 int *arg4
= (int *) 0 ;
23079 int *arg5
= (int *) 0 ;
23083 int res2
= SWIG_TMPOBJ
;
23085 int res3
= SWIG_TMPOBJ
;
23087 int res4
= SWIG_TMPOBJ
;
23089 int res5
= SWIG_TMPOBJ
;
23090 PyObject
*swig_obj
[1] ;
23096 if (!args
) SWIG_fail
;
23097 swig_obj
[0] = args
;
23098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23099 if (!SWIG_IsOK(res1
)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_Py_Void();
23110 if (SWIG_IsTmpObj(res2
)) {
23111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23113 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23116 if (SWIG_IsTmpObj(res3
)) {
23117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23119 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23122 if (SWIG_IsTmpObj(res4
)) {
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23125 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23128 if (SWIG_IsTmpObj(res5
)) {
23129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23131 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23140 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 PyObject
*resultobj
= 0;
23142 wxDC
*arg1
= (wxDC
*) 0 ;
23143 wxLayoutDirection result
;
23146 PyObject
*swig_obj
[1] ;
23148 if (!args
) SWIG_fail
;
23149 swig_obj
[0] = args
;
23150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_From_int(static_cast< int >(result
));
23168 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
= 0;
23170 wxDC
*arg1
= (wxDC
*) 0 ;
23171 wxLayoutDirection arg2
;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char * kwnames
[] = {
23179 (char *) "self",(char *) "dir", NULL
23182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23184 if (!SWIG_IsOK(res1
)) {
23185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23189 if (!SWIG_IsOK(ecode2
)) {
23190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23192 arg2
= static_cast< wxLayoutDirection
>(val2
);
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 (arg1
)->SetLayoutDirection(arg2
);
23196 wxPyEndAllowThreads(__tstate
);
23197 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= SWIG_Py_Void();
23206 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23207 PyObject
*resultobj
= 0;
23208 wxDC
*arg1
= (wxDC
*) 0 ;
23209 PyObject
*arg2
= (PyObject
*) 0 ;
23210 PyObject
*arg3
= (PyObject
*) 0 ;
23211 PyObject
*arg4
= (PyObject
*) 0 ;
23212 PyObject
*result
= 0 ;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 PyObject
* obj3
= 0 ;
23219 char * kwnames
[] = {
23220 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23225 if (!SWIG_IsOK(res1
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
;
23245 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
= 0;
23247 wxDC
*arg1
= (wxDC
*) 0 ;
23248 PyObject
*arg2
= (PyObject
*) 0 ;
23249 PyObject
*arg3
= (PyObject
*) 0 ;
23250 PyObject
*arg4
= (PyObject
*) 0 ;
23251 PyObject
*result
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 PyObject
* obj2
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 char * kwnames
[] = {
23259 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= result
;
23284 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxDC
*arg1
= (wxDC
*) 0 ;
23287 PyObject
*arg2
= (PyObject
*) 0 ;
23288 PyObject
*arg3
= (PyObject
*) 0 ;
23289 PyObject
*arg4
= (PyObject
*) 0 ;
23290 PyObject
*result
= 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 PyObject
* obj2
= 0 ;
23296 PyObject
* obj3
= 0 ;
23297 char * kwnames
[] = {
23298 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= result
;
23323 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
= 0;
23325 wxDC
*arg1
= (wxDC
*) 0 ;
23326 PyObject
*arg2
= (PyObject
*) 0 ;
23327 PyObject
*arg3
= (PyObject
*) 0 ;
23328 PyObject
*arg4
= (PyObject
*) 0 ;
23329 PyObject
*result
= 0 ;
23332 PyObject
* obj0
= 0 ;
23333 PyObject
* obj1
= 0 ;
23334 PyObject
* obj2
= 0 ;
23335 PyObject
* obj3
= 0 ;
23336 char * kwnames
[] = {
23337 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
;
23362 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
= 0;
23364 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
*arg2
= (PyObject
*) 0 ;
23366 PyObject
*arg3
= (PyObject
*) 0 ;
23367 PyObject
*arg4
= (PyObject
*) 0 ;
23368 PyObject
*result
= 0 ;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 PyObject
* obj2
= 0 ;
23374 PyObject
* obj3
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= result
;
23401 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDC
*arg1
= (wxDC
*) 0 ;
23404 PyObject
*arg2
= (PyObject
*) 0 ;
23405 PyObject
*arg3
= (PyObject
*) 0 ;
23406 PyObject
*arg4
= (PyObject
*) 0 ;
23407 PyObject
*arg5
= (PyObject
*) 0 ;
23408 PyObject
*result
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 PyObject
* obj2
= 0 ;
23414 PyObject
* obj3
= 0 ;
23415 PyObject
* obj4
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
;
23443 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23446 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23447 return SWIG_Py_Void();
23450 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
= 0;
23453 wxColour
*arg2
= 0 ;
23454 wxDCTextColourChanger
*result
= 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char * kwnames
[] = {
23461 (char *) "dc",(char *) "col", NULL
23464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23465 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23466 if (!SWIG_IsOK(res1
)) {
23467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23475 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23490 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23491 PyObject
*resultobj
= 0;
23492 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23495 PyObject
*swig_obj
[1] ;
23497 if (!args
) SWIG_fail
;
23498 swig_obj
[0] = args
;
23499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23503 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_Py_Void();
23518 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23521 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23522 return SWIG_Py_Void();
23525 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 return SWIG_Python_InitShadowInstance(args
);
23529 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23533 wxDCPenChanger
*result
= 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "dc",(char *) "pen", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23554 if (!SWIG_IsOK(res2
)) {
23555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23560 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23574 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23575 PyObject
*resultobj
= 0;
23576 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23579 PyObject
*swig_obj
[1] ;
23581 if (!args
) SWIG_fail
;
23582 swig_obj
[0] = args
;
23583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23584 if (!SWIG_IsOK(res1
)) {
23585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23587 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= SWIG_Py_Void();
23602 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23605 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23606 return SWIG_Py_Void();
23609 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 return SWIG_Python_InitShadowInstance(args
);
23613 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= 0;
23616 wxBrush
*arg2
= 0 ;
23617 wxDCBrushChanger
*result
= 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char * kwnames
[] = {
23625 (char *) "dc",(char *) "brush", NULL
23628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23629 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23638 if (!SWIG_IsOK(res2
)) {
23639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23644 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23658 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23659 PyObject
*resultobj
= 0;
23660 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23663 PyObject
*swig_obj
[1] ;
23665 if (!args
) SWIG_fail
;
23666 swig_obj
[0] = args
;
23667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23671 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_Py_Void();
23686 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23689 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23690 return SWIG_Py_Void();
23693 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23694 return SWIG_Python_InitShadowInstance(args
);
23697 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23698 PyObject
*resultobj
= 0;
23700 wxRegion
*arg2
= 0 ;
23701 wxDCClipper
*result
= 0 ;
23707 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23716 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23717 if (!SWIG_IsOK(res2
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23723 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23737 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23738 PyObject
*resultobj
= 0;
23741 wxDCClipper
*result
= 0 ;
23746 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23757 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23772 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23773 PyObject
*resultobj
= 0;
23779 wxDCClipper
*result
= 0 ;
23791 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23793 if (!SWIG_IsOK(res1
)) {
23794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23800 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23801 if (!SWIG_IsOK(ecode2
)) {
23802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23804 arg2
= static_cast< int >(val2
);
23805 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23806 if (!SWIG_IsOK(ecode3
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23809 arg3
= static_cast< int >(val3
);
23810 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23811 if (!SWIG_IsOK(ecode4
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23814 arg4
= static_cast< int >(val4
);
23815 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23816 if (!SWIG_IsOK(ecode5
)) {
23817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23819 arg5
= static_cast< int >(val5
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23833 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23842 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23843 _v
= SWIG_CheckState(res
);
23845 if (!_v
) goto check_1
;
23846 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23851 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23854 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23858 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23863 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23864 PyObject
*resultobj
= 0;
23865 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23868 PyObject
*swig_obj
[1] ;
23870 if (!args
) SWIG_fail
;
23871 swig_obj
[0] = args
;
23872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23876 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 wxPyEndAllowThreads(__tstate
);
23882 if (PyErr_Occurred()) SWIG_fail
;
23884 resultobj
= SWIG_Py_Void();
23891 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23894 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23895 return SWIG_Py_Void();
23898 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 return SWIG_Python_InitShadowInstance(args
);
23902 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
= 0;
23904 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
23905 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23906 wxMemoryDC
*result
= 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "bitmap", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
23917 if (!SWIG_IsOK(res1
)) {
23918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
23923 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23926 if (!wxPyCheckForApp()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23939 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
= 0;
23941 wxDC
*arg1
= (wxDC
*) 0 ;
23942 wxMemoryDC
*result
= 0 ;
23945 PyObject
* obj0
= 0 ;
23946 char * kwnames
[] = {
23947 (char *) "oldDC", NULL
23950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23952 if (!SWIG_IsOK(res1
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23957 if (!wxPyCheckForApp()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23970 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23972 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23973 wxBitmap
*arg2
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "self",(char *) "bitmap", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23989 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
23991 if (!SWIG_IsOK(res2
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
23997 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->SelectObject(*arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= SWIG_Py_Void();
24011 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
= 0;
24013 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24014 wxBitmap
*arg2
= 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 char * kwnames
[] = {
24022 (char *) "self",(char *) "bmp", NULL
24025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24027 if (!SWIG_IsOK(res1
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24030 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24032 if (!SWIG_IsOK(res2
)) {
24033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= SWIG_Py_Void();
24052 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24055 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24056 return SWIG_Py_Void();
24059 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24060 return SWIG_Python_InitShadowInstance(args
);
24063 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24064 PyObject
*resultobj
= 0;
24065 wxScreenDC
*result
= 0 ;
24067 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24069 if (!wxPyCheckForApp()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (wxScreenDC
*)new wxScreenDC();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24082 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
= 0;
24084 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24085 wxWindow
*arg2
= (wxWindow
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "self",(char *) "window", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24102 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24104 if (!SWIG_IsOK(res2
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24107 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24126 wxRect
*arg2
= (wxRect
*) NULL
;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "rect", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24143 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24146 if (!SWIG_IsOK(res2
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24149 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24166 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 PyObject
*resultobj
= 0;
24168 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24172 PyObject
*swig_obj
[1] ;
24174 if (!args
) SWIG_fail
;
24175 swig_obj
[0] = args
;
24176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24180 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= (bool)(arg1
)->EndDrawingOnTop();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24199 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24200 return SWIG_Py_Void();
24203 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24204 return SWIG_Python_InitShadowInstance(args
);
24207 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
= 0;
24209 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 wxWindowDC
*result
= 0 ;
24213 PyObject
* obj0
= 0 ;
24214 char * kwnames
[] = {
24215 (char *) "win", NULL
24218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24220 if (!SWIG_IsOK(res1
)) {
24221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24225 if (!wxPyCheckForApp()) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24238 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24241 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24242 return SWIG_Py_Void();
24245 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24246 return SWIG_Python_InitShadowInstance(args
);
24249 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
= 0;
24251 wxWindow
*arg1
= (wxWindow
*) 0 ;
24252 wxClientDC
*result
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "win", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24265 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24267 if (!wxPyCheckForApp()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (wxClientDC
*)new wxClientDC(arg1
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24280 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24283 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24284 return SWIG_Py_Void();
24287 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24288 return SWIG_Python_InitShadowInstance(args
);
24291 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24292 PyObject
*resultobj
= 0;
24293 wxWindow
*arg1
= (wxWindow
*) 0 ;
24294 wxPaintDC
*result
= 0 ;
24297 PyObject
* obj0
= 0 ;
24298 char * kwnames
[] = {
24299 (char *) "win", NULL
24302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24307 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24309 if (!wxPyCheckForApp()) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24322 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24326 return SWIG_Py_Void();
24329 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24330 return SWIG_Python_InitShadowInstance(args
);
24333 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24334 PyObject
*resultobj
= 0;
24335 wxDC
*arg1
= (wxDC
*) 0 ;
24336 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24337 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24338 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24339 wxBufferedDC
*result
= 0 ;
24347 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24349 if (!SWIG_IsOK(res1
)) {
24350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24354 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24355 if (!SWIG_IsOK(res2
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24361 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24364 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24365 if (!SWIG_IsOK(ecode3
)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24368 arg3
= static_cast< int >(val3
);
24371 if (!wxPyCheckForApp()) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24384 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24385 PyObject
*resultobj
= 0;
24386 wxDC
*arg1
= (wxDC
*) 0 ;
24388 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24389 wxBufferedDC
*result
= 0 ;
24396 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24398 if (!SWIG_IsOK(res1
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24404 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24407 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24408 if (!SWIG_IsOK(ecode3
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24411 arg3
= static_cast< int >(val3
);
24414 if (!wxPyCheckForApp()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24427 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24431 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24433 if ((argc
>= 1) && (argc
<= 3)) {
24438 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24439 _v
= SWIG_CheckState(res
);
24441 if (!_v
) goto check_1
;
24443 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24447 if ((argc
>= 2) && (argc
<= 3)) {
24448 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24452 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24457 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24458 PyObject
*resultobj
= 0;
24459 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24462 PyObject
*swig_obj
[1] ;
24464 if (!args
) SWIG_fail
;
24465 swig_obj
[0] = args
;
24466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24470 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_Py_Void();
24485 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24486 PyObject
*resultobj
= 0;
24487 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24490 PyObject
*swig_obj
[1] ;
24492 if (!args
) SWIG_fail
;
24493 swig_obj
[0] = args
;
24494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24495 if (!SWIG_IsOK(res1
)) {
24496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24498 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= SWIG_Py_Void();
24512 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24514 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char * kwnames
[] = {
24523 (char *) "self",(char *) "style", NULL
24526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24531 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24533 if (!SWIG_IsOK(ecode2
)) {
24534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24536 arg2
= static_cast< int >(val2
);
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->SetStyle(arg2
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_Py_Void();
24550 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24551 PyObject
*resultobj
= 0;
24552 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24556 PyObject
*swig_obj
[1] ;
24558 if (!args
) SWIG_fail
;
24559 swig_obj
[0] = args
;
24560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24561 if (!SWIG_IsOK(res1
)) {
24562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24564 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_From_int(static_cast< int >(result
));
24578 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24581 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24582 return SWIG_Py_Void();
24585 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24586 return SWIG_Python_InitShadowInstance(args
);
24589 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24590 PyObject
*resultobj
= 0;
24591 wxWindow
*arg1
= (wxWindow
*) 0 ;
24592 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24593 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24594 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24595 wxBufferedPaintDC
*result
= 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "window",(char *) "buffer",(char *) "style", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24614 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24617 if (!SWIG_IsOK(res2
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24627 if (!SWIG_IsOK(ecode3
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24630 arg3
= static_cast< int >(val3
);
24633 if (!wxPyCheckForApp()) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24646 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24649 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24650 return SWIG_Py_Void();
24653 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24654 return SWIG_Python_InitShadowInstance(args
);
24657 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxWindow
*arg1
= (wxWindow
*) 0 ;
24660 wxAutoBufferedPaintDC
*result
= 0 ;
24663 PyObject
* obj0
= 0 ;
24664 char * kwnames
[] = {
24665 (char *) "win", NULL
24668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24670 if (!SWIG_IsOK(res1
)) {
24671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24687 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24690 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24691 return SWIG_Py_Void();
24694 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24695 return SWIG_Python_InitShadowInstance(args
);
24698 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxWindow
*arg1
= (wxWindow
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "window", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24730 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24734 wxMirrorDC
*result
= 0 ;
24739 PyObject
* obj0
= 0 ;
24740 PyObject
* obj1
= 0 ;
24741 char * kwnames
[] = {
24742 (char *) "dc",(char *) "mirror", NULL
24745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24746 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24747 if (!SWIG_IsOK(res1
)) {
24748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24754 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24755 if (!SWIG_IsOK(ecode2
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24758 arg2
= static_cast< bool >(val2
);
24760 if (!wxPyCheckForApp()) SWIG_fail
;
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24773 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24776 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24777 return SWIG_Py_Void();
24780 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24781 return SWIG_Python_InitShadowInstance(args
);
24784 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24786 wxPrintData
*arg1
= 0 ;
24787 wxPostScriptDC
*result
= 0 ;
24790 PyObject
* obj0
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "printData", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24803 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24805 if (!wxPyCheckForApp()) SWIG_fail
;
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24807 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24818 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24819 PyObject
*resultobj
= 0;
24820 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24821 wxPrintData
*result
= 0 ;
24824 PyObject
*swig_obj
[1] ;
24826 if (!args
) SWIG_fail
;
24827 swig_obj
[0] = args
;
24828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24832 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24836 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24837 result
= (wxPrintData
*) &_result_ref
;
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24849 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24852 wxPrintData
*arg2
= 0 ;
24857 PyObject
* obj0
= 0 ;
24858 PyObject
* obj1
= 0 ;
24859 char * kwnames
[] = {
24860 (char *) "self",(char *) "data", NULL
24863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24868 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24870 if (!SWIG_IsOK(res2
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24876 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24883 resultobj
= SWIG_Py_Void();
24890 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24891 PyObject
*resultobj
= 0;
24895 PyObject
* obj0
= 0 ;
24896 char * kwnames
[] = {
24897 (char *) "ppi", NULL
24900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24902 if (!SWIG_IsOK(ecode1
)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24905 arg1
= static_cast< int >(val1
);
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 wxPostScriptDC::SetResolution(arg1
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_Py_Void();
24919 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 PyObject
*resultobj
= 0;
24923 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 result
= (int)wxPostScriptDC::GetResolution();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= SWIG_From_int(static_cast< int >(result
));
24937 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24940 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24941 return SWIG_Py_Void();
24944 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24945 return SWIG_Python_InitShadowInstance(args
);
24948 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= 0;
24950 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24951 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24952 wxMetaFile
*result
= 0 ;
24953 bool temp1
= false ;
24954 PyObject
* obj0
= 0 ;
24955 char * kwnames
[] = {
24956 (char *) "filename", NULL
24959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24962 arg1
= wxString_in_helper(obj0
);
24963 if (arg1
== NULL
) SWIG_fail
;
24968 if (!wxPyCheckForApp()) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24971 wxPyEndAllowThreads(__tstate
);
24972 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24989 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24994 PyObject
*swig_obj
[1] ;
24996 if (!args
) SWIG_fail
;
24997 swig_obj
[0] = args
;
24998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24999 if (!SWIG_IsOK(res1
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25002 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= SWIG_Py_Void();
25017 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25018 PyObject
*resultobj
= 0;
25019 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25023 PyObject
*swig_obj
[1] ;
25025 if (!args
) SWIG_fail
;
25026 swig_obj
[0] = args
;
25027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25028 if (!SWIG_IsOK(res1
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25031 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= (bool)(arg1
)->IsOk();
25035 wxPyEndAllowThreads(__tstate
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25047 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
= 0;
25049 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25050 int arg2
= (int) 0 ;
25051 int arg3
= (int) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 char * kwnames
[] = {
25063 (char *) "self",(char *) "width",(char *) "height", NULL
25066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25071 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25074 if (!SWIG_IsOK(ecode2
)) {
25075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25077 arg2
= static_cast< int >(val2
);
25080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25081 if (!SWIG_IsOK(ecode3
)) {
25082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25084 arg3
= static_cast< int >(val3
);
25087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25088 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25101 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25102 PyObject
*resultobj
= 0;
25103 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25107 PyObject
*swig_obj
[1] ;
25109 if (!args
) SWIG_fail
;
25110 swig_obj
[0] = args
;
25111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25112 if (!SWIG_IsOK(res1
)) {
25113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25115 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (arg1
)->GetSize();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25129 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25130 PyObject
*resultobj
= 0;
25131 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25135 PyObject
*swig_obj
[1] ;
25137 if (!args
) SWIG_fail
;
25138 swig_obj
[0] = args
;
25139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25143 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (int)(arg1
)->GetWidth();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_From_int(static_cast< int >(result
));
25157 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25158 PyObject
*resultobj
= 0;
25159 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25163 PyObject
*swig_obj
[1] ;
25165 if (!args
) SWIG_fail
;
25166 swig_obj
[0] = args
;
25167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25168 if (!SWIG_IsOK(res1
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25171 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (int)(arg1
)->GetHeight();
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_From_int(static_cast< int >(result
));
25185 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25188 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25189 return SWIG_Py_Void();
25192 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 return SWIG_Python_InitShadowInstance(args
);
25196 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25199 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25200 int arg2
= (int) 0 ;
25201 int arg3
= (int) 0 ;
25202 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25203 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25204 wxMetaFileDC
*result
= 0 ;
25205 bool temp1
= false ;
25210 bool temp4
= false ;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 PyObject
* obj2
= 0 ;
25214 PyObject
* obj3
= 0 ;
25215 char * kwnames
[] = {
25216 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25222 arg1
= wxString_in_helper(obj0
);
25223 if (arg1
== NULL
) SWIG_fail
;
25228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25229 if (!SWIG_IsOK(ecode2
)) {
25230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25232 arg2
= static_cast< int >(val2
);
25235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25236 if (!SWIG_IsOK(ecode3
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25239 arg3
= static_cast< int >(val3
);
25243 arg4
= wxString_in_helper(obj3
);
25244 if (arg4
== NULL
) SWIG_fail
;
25249 if (!wxPyCheckForApp()) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25278 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25279 PyObject
*resultobj
= 0;
25280 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25281 wxMetaFile
*result
= 0 ;
25284 PyObject
*swig_obj
[1] ;
25286 if (!args
) SWIG_fail
;
25287 swig_obj
[0] = args
;
25288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25289 if (!SWIG_IsOK(res1
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25292 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 result
= (wxMetaFile
*)(arg1
)->Close();
25296 wxPyEndAllowThreads(__tstate
);
25297 if (PyErr_Occurred()) SWIG_fail
;
25299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25306 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25309 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25310 return SWIG_Py_Void();
25313 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 return SWIG_Python_InitShadowInstance(args
);
25317 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxPrintData
*arg1
= 0 ;
25320 wxPrinterDC
*result
= 0 ;
25323 PyObject
* obj0
= 0 ;
25324 char * kwnames
[] = {
25325 (char *) "printData", NULL
25328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25329 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25330 if (!SWIG_IsOK(res1
)) {
25331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25336 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25338 if (!wxPyCheckForApp()) SWIG_fail
;
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25351 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25355 return SWIG_Py_Void();
25358 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 return SWIG_Python_InitShadowInstance(args
);
25362 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25365 wxGraphicsObject
*result
= 0 ;
25368 PyObject
* obj0
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "renderer", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25379 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25382 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25392 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 PyObject
*resultobj
= 0;
25394 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25397 PyObject
*swig_obj
[1] ;
25399 if (!args
) SWIG_fail
;
25400 swig_obj
[0] = args
;
25401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25402 if (!SWIG_IsOK(res1
)) {
25403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25405 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_Py_Void();
25418 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25432 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25434 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25446 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25447 PyObject
*resultobj
= 0;
25448 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25449 wxGraphicsRenderer
*result
= 0 ;
25452 PyObject
*swig_obj
[1] ;
25454 if (!args
) SWIG_fail
;
25455 swig_obj
[0] = args
;
25456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25460 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25462 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25472 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25475 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25476 return SWIG_Py_Void();
25479 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25480 return SWIG_Python_InitShadowInstance(args
);
25483 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 PyObject
*resultobj
= 0;
25485 wxGraphicsPen
*result
= 0 ;
25487 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25489 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25499 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25504 PyObject
*swig_obj
[1] ;
25506 if (!args
) SWIG_fail
;
25507 swig_obj
[0] = args
;
25508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25512 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_Py_Void();
25525 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25528 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25529 return SWIG_Py_Void();
25532 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25533 return SWIG_Python_InitShadowInstance(args
);
25536 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25537 PyObject
*resultobj
= 0;
25538 wxGraphicsBrush
*result
= 0 ;
25540 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25542 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25552 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25557 PyObject
*swig_obj
[1] ;
25559 if (!args
) SWIG_fail
;
25560 swig_obj
[0] = args
;
25561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25562 if (!SWIG_IsOK(res1
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25565 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25569 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= SWIG_Py_Void();
25578 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25581 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25582 return SWIG_Py_Void();
25585 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25586 return SWIG_Python_InitShadowInstance(args
);
25589 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25590 PyObject
*resultobj
= 0;
25591 wxGraphicsFont
*result
= 0 ;
25593 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25595 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25605 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25606 PyObject
*resultobj
= 0;
25607 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25610 PyObject
*swig_obj
[1] ;
25612 if (!args
) SWIG_fail
;
25613 swig_obj
[0] = args
;
25614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25618 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_Py_Void();
25631 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25634 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25635 return SWIG_Py_Void();
25638 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25639 return SWIG_Python_InitShadowInstance(args
);
25642 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25643 PyObject
*resultobj
= 0;
25644 wxGraphicsMatrix
*result
= 0 ;
25646 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25648 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25658 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25659 PyObject
*resultobj
= 0;
25660 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25663 PyObject
*swig_obj
[1] ;
25665 if (!args
) SWIG_fail
;
25666 swig_obj
[0] = args
;
25667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25671 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_Py_Void();
25684 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25687 wxGraphicsMatrix
*arg2
= 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "t", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25703 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25705 if (!SWIG_IsOK(res2
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25711 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25713 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_Py_Void();
25723 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= 0;
25725 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25726 wxGraphicsMatrix
*arg2
= 0 ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "self",(char *) "t", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25742 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25744 if (!SWIG_IsOK(res2
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25750 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25752 wxGraphicsMatrix_Copy(arg1
,(wxGraphicsMatrix
const &)*arg2
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
= 0;
25764 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25765 wxDouble arg2
= (wxDouble
) 1.0 ;
25766 wxDouble arg3
= (wxDouble
) 0.0 ;
25767 wxDouble arg4
= (wxDouble
) 0.0 ;
25768 wxDouble arg5
= (wxDouble
) 1.0 ;
25769 wxDouble arg6
= (wxDouble
) 0.0 ;
25770 wxDouble arg7
= (wxDouble
) 0.0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 PyObject
* obj2
= 0 ;
25788 PyObject
* obj3
= 0 ;
25789 PyObject
* obj4
= 0 ;
25790 PyObject
* obj5
= 0 ;
25791 PyObject
* obj6
= 0 ;
25792 char * kwnames
[] = {
25793 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25801 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25803 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25804 if (!SWIG_IsOK(ecode2
)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25807 arg2
= static_cast< wxDouble
>(val2
);
25810 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25811 if (!SWIG_IsOK(ecode3
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25814 arg3
= static_cast< wxDouble
>(val3
);
25817 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25818 if (!SWIG_IsOK(ecode4
)) {
25819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25821 arg4
= static_cast< wxDouble
>(val4
);
25824 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25825 if (!SWIG_IsOK(ecode5
)) {
25826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25828 arg5
= static_cast< wxDouble
>(val5
);
25831 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25832 if (!SWIG_IsOK(ecode6
)) {
25833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25835 arg6
= static_cast< wxDouble
>(val6
);
25838 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25839 if (!SWIG_IsOK(ecode7
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25842 arg7
= static_cast< wxDouble
>(val7
);
25845 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_Py_Void();
25855 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25868 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_Py_Void();
25880 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25883 wxGraphicsMatrix
*arg2
= 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 char * kwnames
[] = {
25892 (char *) "self",(char *) "t", NULL
25895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25900 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25902 if (!SWIG_IsOK(res2
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25908 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25910 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25922 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25923 PyObject
*resultobj
= 0;
25924 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25928 PyObject
*swig_obj
[1] ;
25930 if (!args
) SWIG_fail
;
25931 swig_obj
[0] = args
;
25932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25936 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25938 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
= 0;
25952 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 PyObject
* obj2
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "self",(char *) "dx",(char *) "dy", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25973 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25974 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25975 if (!SWIG_IsOK(ecode2
)) {
25976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25978 arg2
= static_cast< wxDouble
>(val2
);
25979 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25980 if (!SWIG_IsOK(ecode3
)) {
25981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25983 arg3
= static_cast< wxDouble
>(val3
);
25985 (arg1
)->Translate(arg2
,arg3
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_Py_Void();
25995 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
= 0;
25997 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 PyObject
* obj2
= 0 ;
26009 char * kwnames
[] = {
26010 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26015 if (!SWIG_IsOK(res1
)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26018 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26019 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26020 if (!SWIG_IsOK(ecode2
)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26023 arg2
= static_cast< wxDouble
>(val2
);
26024 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26025 if (!SWIG_IsOK(ecode3
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26028 arg3
= static_cast< wxDouble
>(val3
);
26030 (arg1
)->Scale(arg2
,arg3
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "angle", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26059 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26060 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26061 if (!SWIG_IsOK(ecode2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26064 arg2
= static_cast< wxDouble
>(val2
);
26066 (arg1
)->Rotate(arg2
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26079 wxDouble
*arg2
= (wxDouble
*) 0 ;
26080 wxDouble
*arg3
= (wxDouble
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 char * kwnames
[] = {
26091 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26096 if (!SWIG_IsOK(res1
)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26099 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26100 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26102 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26103 if (!SWIG_IsOK(ecode
)) {
26104 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26106 temp2
= static_cast< wxDouble
>(val
);
26108 res2
= SWIG_AddTmpMask(ecode
);
26110 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26112 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26113 if (!SWIG_IsOK(ecode
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26116 temp3
= static_cast< wxDouble
>(val
);
26118 res3
= SWIG_AddTmpMask(ecode
);
26121 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= SWIG_Py_Void();
26125 if (SWIG_IsTmpObj(res2
)) {
26126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26128 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26131 if (SWIG_IsTmpObj(res3
)) {
26132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26134 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26143 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26146 wxDouble
*arg2
= (wxDouble
*) 0 ;
26147 wxDouble
*arg3
= (wxDouble
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 PyObject
* obj2
= 0 ;
26157 char * kwnames
[] = {
26158 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26166 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26167 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26169 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26170 if (!SWIG_IsOK(ecode
)) {
26171 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26173 temp2
= static_cast< wxDouble
>(val
);
26175 res2
= SWIG_AddTmpMask(ecode
);
26177 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26179 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26180 if (!SWIG_IsOK(ecode
)) {
26181 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26183 temp3
= static_cast< wxDouble
>(val
);
26185 res3
= SWIG_AddTmpMask(ecode
);
26188 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26192 if (SWIG_IsTmpObj(res2
)) {
26193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26195 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26198 if (SWIG_IsTmpObj(res3
)) {
26199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26201 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26210 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26211 PyObject
*resultobj
= 0;
26212 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26216 PyObject
*swig_obj
[1] ;
26218 if (!args
) SWIG_fail
;
26219 swig_obj
[0] = args
;
26220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26221 if (!SWIG_IsOK(res1
)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26224 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26226 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26236 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26239 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26240 return SWIG_Py_Void();
26243 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 return SWIG_Python_InitShadowInstance(args
);
26247 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26248 PyObject
*resultobj
= 0;
26249 wxGraphicsPath
*result
= 0 ;
26251 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26253 if (!wxPyCheckForApp()) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26266 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26267 PyObject
*resultobj
= 0;
26268 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26271 PyObject
*swig_obj
[1] ;
26273 if (!args
) SWIG_fail
;
26274 swig_obj
[0] = args
;
26275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26279 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26293 PyObject
*resultobj
= 0;
26294 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26304 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26309 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26310 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26311 if (!SWIG_IsOK(ecode2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26314 arg2
= static_cast< wxDouble
>(val2
);
26315 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26316 if (!SWIG_IsOK(ecode3
)) {
26317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26319 arg3
= static_cast< wxDouble
>(val3
);
26321 (arg1
)->MoveToPoint(arg2
,arg3
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26332 PyObject
*resultobj
= 0;
26333 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26334 wxPoint2D
*arg2
= 0 ;
26339 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26344 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26347 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26350 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26364 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26367 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26370 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26374 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26379 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26380 PyObject
*resultobj
= 0;
26381 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26396 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26397 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26398 if (!SWIG_IsOK(ecode2
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26401 arg2
= static_cast< wxDouble
>(val2
);
26402 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26403 if (!SWIG_IsOK(ecode3
)) {
26404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26406 arg3
= static_cast< wxDouble
>(val3
);
26408 (arg1
)->AddLineToPoint(arg2
,arg3
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_Py_Void();
26418 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26419 PyObject
*resultobj
= 0;
26420 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26421 wxPoint2D
*arg2
= 0 ;
26426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26431 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26434 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26437 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26451 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26454 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26457 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26461 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26466 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26467 PyObject
*resultobj
= 0;
26468 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26490 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26492 if (!SWIG_IsOK(res1
)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26495 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26496 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26497 if (!SWIG_IsOK(ecode2
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26500 arg2
= static_cast< wxDouble
>(val2
);
26501 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26502 if (!SWIG_IsOK(ecode3
)) {
26503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26505 arg3
= static_cast< wxDouble
>(val3
);
26506 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26507 if (!SWIG_IsOK(ecode4
)) {
26508 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26510 arg4
= static_cast< wxDouble
>(val4
);
26511 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26512 if (!SWIG_IsOK(ecode5
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26515 arg5
= static_cast< wxDouble
>(val5
);
26516 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26517 if (!SWIG_IsOK(ecode6
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26520 arg6
= static_cast< wxDouble
>(val6
);
26521 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26522 if (!SWIG_IsOK(ecode7
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26525 arg7
= static_cast< wxDouble
>(val7
);
26527 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26538 PyObject
*resultobj
= 0;
26539 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26540 wxPoint2D
*arg2
= 0 ;
26541 wxPoint2D
*arg3
= 0 ;
26542 wxPoint2D
*arg4
= 0 ;
26549 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26554 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26557 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26561 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26565 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26568 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_Py_Void();
26578 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26585 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26588 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26592 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26597 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26600 wxGraphicsPath
*arg2
= 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "path", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26616 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26618 if (!SWIG_IsOK(res2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26624 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26626 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 PyObject
*resultobj
= 0;
26638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26641 PyObject
*swig_obj
[1] ;
26643 if (!args
) SWIG_fail
;
26644 swig_obj
[0] = args
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26649 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26651 (arg1
)->CloseSubpath();
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26662 PyObject
*resultobj
= 0;
26663 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26667 PyObject
*swig_obj
[1] ;
26669 if (!args
) SWIG_fail
;
26670 swig_obj
[0] = args
;
26671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26672 if (!SWIG_IsOK(res1
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26675 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26677 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26687 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26688 PyObject
*resultobj
= 0;
26689 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26711 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26716 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26717 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26718 if (!SWIG_IsOK(ecode2
)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26721 arg2
= static_cast< wxDouble
>(val2
);
26722 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26723 if (!SWIG_IsOK(ecode3
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26726 arg3
= static_cast< wxDouble
>(val3
);
26727 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26728 if (!SWIG_IsOK(ecode4
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26731 arg4
= static_cast< wxDouble
>(val4
);
26732 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26733 if (!SWIG_IsOK(ecode5
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26736 arg5
= static_cast< wxDouble
>(val5
);
26737 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26738 if (!SWIG_IsOK(ecode6
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26741 arg6
= static_cast< wxDouble
>(val6
);
26742 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26743 if (!SWIG_IsOK(ecode7
)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26746 arg7
= static_cast< bool >(val7
);
26748 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26759 PyObject
*resultobj
= 0;
26760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26761 wxPoint2D
*arg2
= 0 ;
26778 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26780 if (!SWIG_IsOK(res1
)) {
26781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26783 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26786 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26788 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26789 if (!SWIG_IsOK(ecode3
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26792 arg3
= static_cast< wxDouble
>(val3
);
26793 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26794 if (!SWIG_IsOK(ecode4
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26797 arg4
= static_cast< wxDouble
>(val4
);
26798 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26799 if (!SWIG_IsOK(ecode5
)) {
26800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26802 arg5
= static_cast< wxDouble
>(val5
);
26803 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26804 if (!SWIG_IsOK(ecode6
)) {
26805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26807 arg6
= static_cast< bool >(val6
);
26809 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26823 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26826 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26829 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26833 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26838 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
= 0;
26840 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26855 PyObject
* obj0
= 0 ;
26856 PyObject
* obj1
= 0 ;
26857 PyObject
* obj2
= 0 ;
26858 PyObject
* obj3
= 0 ;
26859 PyObject
* obj4
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26869 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26870 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26871 if (!SWIG_IsOK(ecode2
)) {
26872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26874 arg2
= static_cast< wxDouble
>(val2
);
26875 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26876 if (!SWIG_IsOK(ecode3
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26879 arg3
= static_cast< wxDouble
>(val3
);
26880 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26881 if (!SWIG_IsOK(ecode4
)) {
26882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26884 arg4
= static_cast< wxDouble
>(val4
);
26885 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26886 if (!SWIG_IsOK(ecode5
)) {
26887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26889 arg5
= static_cast< wxDouble
>(val5
);
26891 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_Py_Void();
26901 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
= 0;
26903 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 PyObject
* obj3
= 0 ;
26922 PyObject
* obj4
= 0 ;
26923 char * kwnames
[] = {
26924 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26929 if (!SWIG_IsOK(res1
)) {
26930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26932 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26933 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26934 if (!SWIG_IsOK(ecode2
)) {
26935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26937 arg2
= static_cast< wxDouble
>(val2
);
26938 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26939 if (!SWIG_IsOK(ecode3
)) {
26940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26942 arg3
= static_cast< wxDouble
>(val3
);
26943 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26944 if (!SWIG_IsOK(ecode4
)) {
26945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26947 arg4
= static_cast< wxDouble
>(val4
);
26948 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26949 if (!SWIG_IsOK(ecode5
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26952 arg5
= static_cast< wxDouble
>(val5
);
26954 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= SWIG_Py_Void();
26964 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
= 0;
26966 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 PyObject
* obj1
= 0 ;
26980 PyObject
* obj2
= 0 ;
26981 PyObject
* obj3
= 0 ;
26982 char * kwnames
[] = {
26983 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26991 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26992 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26993 if (!SWIG_IsOK(ecode2
)) {
26994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26996 arg2
= static_cast< wxDouble
>(val2
);
26997 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26998 if (!SWIG_IsOK(ecode3
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27001 arg3
= static_cast< wxDouble
>(val3
);
27002 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27003 if (!SWIG_IsOK(ecode4
)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27006 arg4
= static_cast< wxDouble
>(val4
);
27008 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= 0;
27020 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27040 PyObject
* obj2
= 0 ;
27041 PyObject
* obj3
= 0 ;
27042 PyObject
* obj4
= 0 ;
27043 PyObject
* obj5
= 0 ;
27044 char * kwnames
[] = {
27045 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27050 if (!SWIG_IsOK(res1
)) {
27051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27053 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27054 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27055 if (!SWIG_IsOK(ecode2
)) {
27056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27058 arg2
= static_cast< wxDouble
>(val2
);
27059 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27060 if (!SWIG_IsOK(ecode3
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27063 arg3
= static_cast< wxDouble
>(val3
);
27064 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27065 if (!SWIG_IsOK(ecode4
)) {
27066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27068 arg4
= static_cast< wxDouble
>(val4
);
27069 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27070 if (!SWIG_IsOK(ecode5
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27073 arg5
= static_cast< wxDouble
>(val5
);
27074 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27075 if (!SWIG_IsOK(ecode6
)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27078 arg6
= static_cast< wxDouble
>(val6
);
27080 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= SWIG_Py_Void();
27090 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
= 0;
27092 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 PyObject
* obj3
= 0 ;
27111 PyObject
* obj4
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27121 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27122 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27123 if (!SWIG_IsOK(ecode2
)) {
27124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27126 arg2
= static_cast< wxDouble
>(val2
);
27127 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27128 if (!SWIG_IsOK(ecode3
)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27131 arg3
= static_cast< wxDouble
>(val3
);
27132 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27133 if (!SWIG_IsOK(ecode4
)) {
27134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27136 arg4
= static_cast< wxDouble
>(val4
);
27137 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27138 if (!SWIG_IsOK(ecode5
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27141 arg5
= static_cast< wxDouble
>(val5
);
27143 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27146 resultobj
= SWIG_Py_Void();
27153 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= 0;
27155 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 PyObject
* obj5
= 0 ;
27179 char * kwnames
[] = {
27180 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27185 if (!SWIG_IsOK(res1
)) {
27186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27189 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27190 if (!SWIG_IsOK(ecode2
)) {
27191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27193 arg2
= static_cast< wxDouble
>(val2
);
27194 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27195 if (!SWIG_IsOK(ecode3
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27198 arg3
= static_cast< wxDouble
>(val3
);
27199 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27200 if (!SWIG_IsOK(ecode4
)) {
27201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27203 arg4
= static_cast< wxDouble
>(val4
);
27204 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27205 if (!SWIG_IsOK(ecode5
)) {
27206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27208 arg5
= static_cast< wxDouble
>(val5
);
27209 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27210 if (!SWIG_IsOK(ecode6
)) {
27211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27213 arg6
= static_cast< wxDouble
>(val6
);
27215 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= SWIG_Py_Void();
27225 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27226 PyObject
*resultobj
= 0;
27227 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27231 PyObject
*swig_obj
[1] ;
27233 if (!args
) SWIG_fail
;
27234 swig_obj
[0] = args
;
27235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27236 if (!SWIG_IsOK(res1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27239 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27241 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27251 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= 0;
27253 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27254 void *arg2
= (void *) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 char * kwnames
[] = {
27261 (char *) "self",(char *) "p", NULL
27264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27269 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27270 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27271 if (!SWIG_IsOK(res2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27275 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
= 0;
27287 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27288 wxGraphicsMatrix
*arg2
= 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 char * kwnames
[] = {
27296 (char *) "self",(char *) "matrix", NULL
27299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27304 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27306 if (!SWIG_IsOK(res2
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27312 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27314 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= SWIG_Py_Void();
27324 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27327 wxRect2DDouble result
;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27338 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27340 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27350 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27351 PyObject
*resultobj
= 0;
27352 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27355 int arg4
= (int) wxODDEVEN_RULE
;
27366 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27371 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27372 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27373 if (!SWIG_IsOK(ecode2
)) {
27374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27376 arg2
= static_cast< wxDouble
>(val2
);
27377 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27378 if (!SWIG_IsOK(ecode3
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27381 arg3
= static_cast< wxDouble
>(val3
);
27383 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27384 if (!SWIG_IsOK(ecode4
)) {
27385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27387 arg4
= static_cast< int >(val4
);
27390 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27402 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27403 PyObject
*resultobj
= 0;
27404 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27405 wxPoint2DDouble
*arg2
= 0 ;
27406 int arg3
= (int) wxODDEVEN_RULE
;
27415 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27420 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27421 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27422 if (!SWIG_IsOK(res2
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27428 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27430 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27431 if (!SWIG_IsOK(ecode3
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27434 arg3
= static_cast< int >(val3
);
27437 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27449 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27453 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27455 if ((argc
>= 2) && (argc
<= 3)) {
27458 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27459 _v
= SWIG_CheckState(res
);
27461 if (!_v
) goto check_1
;
27465 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27466 _v
= SWIG_CheckState(res
);
27469 if (!_v
) goto check_1
;
27471 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27475 if ((argc
>= 3) && (argc
<= 4)) {
27476 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27480 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27485 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27488 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27489 return SWIG_Py_Void();
27492 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27493 return SWIG_Python_InitShadowInstance(args
);
27496 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27497 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27502 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27503 PyObject
*pyobj
= 0;
27505 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27510 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27511 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27516 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27517 PyObject
*pyobj
= 0;
27519 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27524 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27525 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27530 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27531 PyObject
*pyobj
= 0;
27533 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27538 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27539 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27544 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27545 PyObject
*pyobj
= 0;
27547 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27552 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27553 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27558 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27559 PyObject
*pyobj
= 0;
27561 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27566 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27568 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_Py_Void();
27592 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27593 PyObject
*resultobj
= 0;
27594 wxWindowDC
*arg1
= 0 ;
27595 wxGraphicsContext
*result
= 0 ;
27599 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27601 if (!SWIG_IsOK(res1
)) {
27602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27607 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27609 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27619 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27620 PyObject
*resultobj
= 0;
27621 wxWindow
*arg1
= (wxWindow
*) 0 ;
27622 wxGraphicsContext
*result
= 0 ;
27626 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27628 if (!SWIG_IsOK(res1
)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27633 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27643 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27647 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27652 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27653 _v
= SWIG_CheckState(res
);
27655 if (!_v
) goto check_1
;
27656 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27661 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27665 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27670 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
= 0;
27672 void *arg1
= (void *) 0 ;
27673 wxGraphicsContext
*result
= 0 ;
27675 PyObject
* obj0
= 0 ;
27676 char * kwnames
[] = {
27677 (char *) "context", NULL
27680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27681 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27686 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27696 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= 0;
27698 void *arg1
= (void *) 0 ;
27699 wxGraphicsContext
*result
= 0 ;
27701 PyObject
* obj0
= 0 ;
27702 char * kwnames
[] = {
27703 (char *) "window", NULL
27706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27707 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27708 if (!SWIG_IsOK(res1
)) {
27709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27712 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27722 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27723 PyObject
*resultobj
= 0;
27724 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27725 wxGraphicsPath result
;
27728 PyObject
*swig_obj
[1] ;
27730 if (!args
) SWIG_fail
;
27731 swig_obj
[0] = args
;
27732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27736 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27738 result
= (arg1
)->CreatePath();
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27748 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
= 0;
27750 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27752 wxGraphicsPen result
;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char * kwnames
[] = {
27760 (char *) "self",(char *) "pen", NULL
27763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27768 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27770 if (!SWIG_IsOK(res2
)) {
27771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27776 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27778 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27788 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
= 0;
27790 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27791 wxBrush
*arg2
= 0 ;
27792 wxGraphicsBrush result
;
27797 PyObject
* obj0
= 0 ;
27798 PyObject
* obj1
= 0 ;
27799 char * kwnames
[] = {
27800 (char *) "self",(char *) "brush", NULL
27803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27805 if (!SWIG_IsOK(res1
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27808 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27810 if (!SWIG_IsOK(res2
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27816 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27818 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27828 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
= 0;
27830 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27835 wxColour
*arg6
= 0 ;
27836 wxColour
*arg7
= 0 ;
27837 wxGraphicsBrush result
;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 PyObject
* obj2
= 0 ;
27853 PyObject
* obj3
= 0 ;
27854 PyObject
* obj4
= 0 ;
27855 PyObject
* obj5
= 0 ;
27856 PyObject
* obj6
= 0 ;
27857 char * kwnames
[] = {
27858 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27866 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27867 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27868 if (!SWIG_IsOK(ecode2
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27871 arg2
= static_cast< wxDouble
>(val2
);
27872 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27873 if (!SWIG_IsOK(ecode3
)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27876 arg3
= static_cast< wxDouble
>(val3
);
27877 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27878 if (!SWIG_IsOK(ecode4
)) {
27879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27881 arg4
= static_cast< wxDouble
>(val4
);
27882 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27883 if (!SWIG_IsOK(ecode5
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27886 arg5
= static_cast< wxDouble
>(val5
);
27889 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27893 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27896 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27899 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27906 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27907 PyObject
*resultobj
= 0;
27908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27914 wxColour
*arg7
= 0 ;
27915 wxColour
*arg8
= 0 ;
27916 wxGraphicsBrush result
;
27931 PyObject
* obj0
= 0 ;
27932 PyObject
* obj1
= 0 ;
27933 PyObject
* obj2
= 0 ;
27934 PyObject
* obj3
= 0 ;
27935 PyObject
* obj4
= 0 ;
27936 PyObject
* obj5
= 0 ;
27937 PyObject
* obj6
= 0 ;
27938 PyObject
* obj7
= 0 ;
27939 char * kwnames
[] = {
27940 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27948 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27949 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27950 if (!SWIG_IsOK(ecode2
)) {
27951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27953 arg2
= static_cast< wxDouble
>(val2
);
27954 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27955 if (!SWIG_IsOK(ecode3
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27958 arg3
= static_cast< wxDouble
>(val3
);
27959 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27960 if (!SWIG_IsOK(ecode4
)) {
27961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27963 arg4
= static_cast< wxDouble
>(val4
);
27964 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27965 if (!SWIG_IsOK(ecode5
)) {
27966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27968 arg5
= static_cast< wxDouble
>(val5
);
27969 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27970 if (!SWIG_IsOK(ecode6
)) {
27971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27973 arg6
= static_cast< wxDouble
>(val6
);
27976 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27980 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27983 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27993 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
= 0;
27995 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27997 wxColour
const &arg3_defvalue
= *wxBLACK
;
27998 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27999 wxGraphicsFont result
;
28005 PyObject
* obj0
= 0 ;
28006 PyObject
* obj1
= 0 ;
28007 PyObject
* obj2
= 0 ;
28008 char * kwnames
[] = {
28009 (char *) "self",(char *) "font",(char *) "col", NULL
28012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28014 if (!SWIG_IsOK(res1
)) {
28015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28017 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28019 if (!SWIG_IsOK(res2
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28025 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28029 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28033 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28034 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28043 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28044 PyObject
*resultobj
= 0;
28045 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28046 wxDouble arg2
= (wxDouble
) 1.0 ;
28047 wxDouble arg3
= (wxDouble
) 0.0 ;
28048 wxDouble arg4
= (wxDouble
) 0.0 ;
28049 wxDouble arg5
= (wxDouble
) 1.0 ;
28050 wxDouble arg6
= (wxDouble
) 0.0 ;
28051 wxDouble arg7
= (wxDouble
) 0.0 ;
28052 wxGraphicsMatrix result
;
28067 PyObject
* obj0
= 0 ;
28068 PyObject
* obj1
= 0 ;
28069 PyObject
* obj2
= 0 ;
28070 PyObject
* obj3
= 0 ;
28071 PyObject
* obj4
= 0 ;
28072 PyObject
* obj5
= 0 ;
28073 PyObject
* obj6
= 0 ;
28074 char * kwnames
[] = {
28075 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28083 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28085 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28086 if (!SWIG_IsOK(ecode2
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28089 arg2
= static_cast< wxDouble
>(val2
);
28092 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28093 if (!SWIG_IsOK(ecode3
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28096 arg3
= static_cast< wxDouble
>(val3
);
28099 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28100 if (!SWIG_IsOK(ecode4
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28103 arg4
= static_cast< wxDouble
>(val4
);
28106 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28107 if (!SWIG_IsOK(ecode5
)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28110 arg5
= static_cast< wxDouble
>(val5
);
28113 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28114 if (!SWIG_IsOK(ecode6
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28117 arg6
= static_cast< wxDouble
>(val6
);
28120 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28121 if (!SWIG_IsOK(ecode7
)) {
28122 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28124 arg7
= static_cast< wxDouble
>(val7
);
28127 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28137 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 PyObject
*resultobj
= 0;
28139 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28142 PyObject
*swig_obj
[1] ;
28144 if (!args
) SWIG_fail
;
28145 swig_obj
[0] = args
;
28146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28150 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28152 (arg1
)->PushState();
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_Py_Void();
28162 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28163 PyObject
*resultobj
= 0;
28164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28167 PyObject
*swig_obj
[1] ;
28169 if (!args
) SWIG_fail
;
28170 swig_obj
[0] = args
;
28171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28175 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28177 (arg1
)->PopState();
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_Py_Void();
28187 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
= 0;
28189 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28190 wxRegion
*arg2
= 0 ;
28195 PyObject
* obj0
= 0 ;
28196 PyObject
* obj1
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "self",(char *) "region", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28206 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28208 if (!SWIG_IsOK(res2
)) {
28209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28214 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28216 (arg1
)->Clip((wxRegion
const &)*arg2
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_Py_Void();
28226 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
= 0;
28228 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 PyObject
* obj3
= 0 ;
28247 PyObject
* obj4
= 0 ;
28248 char * kwnames
[] = {
28249 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28257 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28258 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28259 if (!SWIG_IsOK(ecode2
)) {
28260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28262 arg2
= static_cast< wxDouble
>(val2
);
28263 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28264 if (!SWIG_IsOK(ecode3
)) {
28265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28267 arg3
= static_cast< wxDouble
>(val3
);
28268 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28269 if (!SWIG_IsOK(ecode4
)) {
28270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28272 arg4
= static_cast< wxDouble
>(val4
);
28273 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28274 if (!SWIG_IsOK(ecode5
)) {
28275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28277 arg5
= static_cast< wxDouble
>(val5
);
28279 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_Py_Void();
28289 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28294 PyObject
*swig_obj
[1] ;
28296 if (!args
) SWIG_fail
;
28297 swig_obj
[0] = args
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28304 (arg1
)->ResetClip();
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= SWIG_Py_Void();
28314 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 PyObject
*resultobj
= 0;
28316 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28320 PyObject
*swig_obj
[1] ;
28322 if (!args
) SWIG_fail
;
28323 swig_obj
[0] = args
;
28324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28328 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28330 result
= (void *)(arg1
)->GetNativeContext();
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28340 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
= 0;
28342 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28351 PyObject
* obj0
= 0 ;
28352 PyObject
* obj1
= 0 ;
28353 PyObject
* obj2
= 0 ;
28354 char * kwnames
[] = {
28355 (char *) "self",(char *) "dx",(char *) "dy", NULL
28358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28363 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28364 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28365 if (!SWIG_IsOK(ecode2
)) {
28366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28368 arg2
= static_cast< wxDouble
>(val2
);
28369 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28370 if (!SWIG_IsOK(ecode3
)) {
28371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28373 arg3
= static_cast< wxDouble
>(val3
);
28375 (arg1
)->Translate(arg2
,arg3
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= SWIG_Py_Void();
28385 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
= 0;
28387 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 PyObject
* obj2
= 0 ;
28399 char * kwnames
[] = {
28400 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28408 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28409 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28410 if (!SWIG_IsOK(ecode2
)) {
28411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28413 arg2
= static_cast< wxDouble
>(val2
);
28414 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28415 if (!SWIG_IsOK(ecode3
)) {
28416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28418 arg3
= static_cast< wxDouble
>(val3
);
28420 (arg1
)->Scale(arg2
,arg3
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= SWIG_Py_Void();
28430 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
= 0;
28432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char * kwnames
[] = {
28441 (char *) "self",(char *) "angle", NULL
28444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28449 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28450 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28451 if (!SWIG_IsOK(ecode2
)) {
28452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28454 arg2
= static_cast< wxDouble
>(val2
);
28456 (arg1
)->Rotate(arg2
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_Py_Void();
28466 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= 0;
28468 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28469 wxGraphicsMatrix
*arg2
= 0 ;
28474 PyObject
* obj0
= 0 ;
28475 PyObject
* obj1
= 0 ;
28476 char * kwnames
[] = {
28477 (char *) "self",(char *) "matrix", NULL
28480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28482 if (!SWIG_IsOK(res1
)) {
28483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28485 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28487 if (!SWIG_IsOK(res2
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28493 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28495 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_Py_Void();
28505 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
= 0;
28507 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28508 wxGraphicsMatrix
*arg2
= 0 ;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 char * kwnames
[] = {
28516 (char *) "self",(char *) "matrix", NULL
28519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28521 if (!SWIG_IsOK(res1
)) {
28522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28524 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28526 if (!SWIG_IsOK(res2
)) {
28527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28532 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28534 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28535 if (PyErr_Occurred()) SWIG_fail
;
28537 resultobj
= SWIG_Py_Void();
28544 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28545 PyObject
*resultobj
= 0;
28546 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28547 wxGraphicsMatrix result
;
28550 PyObject
*swig_obj
[1] ;
28552 if (!args
) SWIG_fail
;
28553 swig_obj
[0] = args
;
28554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28558 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28560 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28570 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28571 PyObject
*resultobj
= 0;
28572 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28573 wxGraphicsPen
*arg2
= 0 ;
28579 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28581 if (!SWIG_IsOK(res1
)) {
28582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28584 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28585 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28586 if (!SWIG_IsOK(res2
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28592 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28594 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 resultobj
= SWIG_Py_Void();
28604 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28605 PyObject
*resultobj
= 0;
28606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28613 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28618 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28619 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28620 if (!SWIG_IsOK(res2
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28626 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28628 (arg1
)->SetPen((wxPen
const &)*arg2
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_Py_Void();
28638 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28642 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28647 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28648 _v
= SWIG_CheckState(res
);
28650 if (!_v
) goto check_1
;
28651 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28656 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28660 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28665 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28666 PyObject
*resultobj
= 0;
28667 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28668 wxGraphicsBrush
*arg2
= 0 ;
28674 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28676 if (!SWIG_IsOK(res1
)) {
28677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28679 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28680 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28681 if (!SWIG_IsOK(res2
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28687 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28689 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= SWIG_Py_Void();
28699 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28700 PyObject
*resultobj
= 0;
28701 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28702 wxBrush
*arg2
= 0 ;
28708 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28710 if (!SWIG_IsOK(res1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28713 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28714 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28715 if (!SWIG_IsOK(res2
)) {
28716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28721 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28723 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_Py_Void();
28733 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28737 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28742 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28743 _v
= SWIG_CheckState(res
);
28745 if (!_v
) goto check_1
;
28746 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28751 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28755 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28760 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28761 PyObject
*resultobj
= 0;
28762 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28763 wxGraphicsFont
*arg2
= 0 ;
28769 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28771 if (!SWIG_IsOK(res1
)) {
28772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28774 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28775 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28776 if (!SWIG_IsOK(res2
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28782 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28784 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_Py_Void();
28794 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28795 PyObject
*resultobj
= 0;
28796 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28798 wxColour
const &arg3_defvalue
= *wxBLACK
;
28799 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28806 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28808 if (!SWIG_IsOK(res1
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28812 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28813 if (!SWIG_IsOK(res2
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28819 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28823 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28827 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= SWIG_Py_Void();
28837 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28841 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28846 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28847 _v
= SWIG_CheckState(res
);
28849 if (!_v
) goto check_1
;
28850 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28854 if ((argc
>= 2) && (argc
<= 3)) {
28855 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28859 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28864 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
= 0;
28866 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28867 wxGraphicsPath
*arg2
= 0 ;
28872 PyObject
* obj0
= 0 ;
28873 PyObject
* obj1
= 0 ;
28874 char * kwnames
[] = {
28875 (char *) "self",(char *) "path", NULL
28878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28883 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28885 if (!SWIG_IsOK(res2
)) {
28886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28891 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28893 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_Py_Void();
28903 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
= 0;
28905 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28906 wxGraphicsPath
*arg2
= 0 ;
28907 int arg3
= (int) wxODDEVEN_RULE
;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 char * kwnames
[] = {
28918 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28923 if (!SWIG_IsOK(res1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28926 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28928 if (!SWIG_IsOK(res2
)) {
28929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28934 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28937 if (!SWIG_IsOK(ecode3
)) {
28938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28940 arg3
= static_cast< int >(val3
);
28943 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_Py_Void();
28953 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
= 0;
28955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28956 wxGraphicsPath
*arg2
= 0 ;
28957 int arg3
= (int) wxODDEVEN_RULE
;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 char * kwnames
[] = {
28968 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28976 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28978 if (!SWIG_IsOK(res2
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28984 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28987 if (!SWIG_IsOK(ecode3
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28990 arg3
= static_cast< int >(val3
);
28993 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_Py_Void();
29003 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= 0;
29005 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29006 wxString
*arg2
= 0 ;
29011 bool temp2
= false ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 PyObject
* obj2
= 0 ;
29019 PyObject
* obj3
= 0 ;
29020 char * kwnames
[] = {
29021 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29029 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29031 arg2
= wxString_in_helper(obj1
);
29032 if (arg2
== NULL
) SWIG_fail
;
29035 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29036 if (!SWIG_IsOK(ecode3
)) {
29037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29039 arg3
= static_cast< wxDouble
>(val3
);
29040 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29041 if (!SWIG_IsOK(ecode4
)) {
29042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29044 arg4
= static_cast< wxDouble
>(val4
);
29046 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_Py_Void();
29064 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
= 0;
29066 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29067 wxString
*arg2
= 0 ;
29073 bool temp2
= false ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29094 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29096 arg2
= wxString_in_helper(obj1
);
29097 if (arg2
== NULL
) SWIG_fail
;
29100 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29101 if (!SWIG_IsOK(ecode3
)) {
29102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29104 arg3
= static_cast< wxDouble
>(val3
);
29105 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29106 if (!SWIG_IsOK(ecode4
)) {
29107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29109 arg4
= static_cast< wxDouble
>(val4
);
29110 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29111 if (!SWIG_IsOK(ecode5
)) {
29112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29114 arg5
= static_cast< wxDouble
>(val5
);
29116 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29117 if (PyErr_Occurred()) SWIG_fail
;
29119 resultobj
= SWIG_Py_Void();
29134 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29137 wxString
*arg2
= 0 ;
29138 wxDouble
*arg3
= (wxDouble
*) 0 ;
29139 wxDouble
*arg4
= (wxDouble
*) 0 ;
29140 wxDouble
*arg5
= (wxDouble
*) 0 ;
29141 wxDouble
*arg6
= (wxDouble
*) 0 ;
29144 bool temp2
= false ;
29146 int res3
= SWIG_TMPOBJ
;
29148 int res4
= SWIG_TMPOBJ
;
29150 int res5
= SWIG_TMPOBJ
;
29152 int res6
= SWIG_TMPOBJ
;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "text", NULL
29163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29165 if (!SWIG_IsOK(res1
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29170 arg2
= wxString_in_helper(obj1
);
29171 if (arg2
== NULL
) SWIG_fail
;
29175 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_Py_Void();
29179 if (SWIG_IsTmpObj(res3
)) {
29180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29185 if (SWIG_IsTmpObj(res4
)) {
29186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29188 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29191 if (SWIG_IsTmpObj(res5
)) {
29192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29194 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29197 if (SWIG_IsTmpObj(res6
)) {
29198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29200 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29217 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29220 wxString
*arg2
= 0 ;
29221 PyObject
*result
= 0 ;
29224 bool temp2
= false ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char * kwnames
[] = {
29228 (char *) "self",(char *) "text", NULL
29231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29236 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29238 arg2
= wxString_in_helper(obj1
);
29239 if (arg2
== NULL
) SWIG_fail
;
29243 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= result
;
29261 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29264 wxString
*arg2
= 0 ;
29265 wxArrayDouble result
;
29268 bool temp2
= false ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "text", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29282 arg2
= wxString_in_helper(obj1
);
29283 if (arg2
== NULL
) SWIG_fail
;
29287 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= wxArrayDouble2PyList_helper(result
);
29307 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29310 wxBitmap
*arg2
= 0 ;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 PyObject
* obj2
= 0 ;
29330 PyObject
* obj3
= 0 ;
29331 PyObject
* obj4
= 0 ;
29332 PyObject
* obj5
= 0 ;
29333 char * kwnames
[] = {
29334 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29344 if (!SWIG_IsOK(res2
)) {
29345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29350 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29351 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29352 if (!SWIG_IsOK(ecode3
)) {
29353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29355 arg3
= static_cast< wxDouble
>(val3
);
29356 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29357 if (!SWIG_IsOK(ecode4
)) {
29358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29360 arg4
= static_cast< wxDouble
>(val4
);
29361 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29362 if (!SWIG_IsOK(ecode5
)) {
29363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29365 arg5
= static_cast< wxDouble
>(val5
);
29366 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29367 if (!SWIG_IsOK(ecode6
)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29370 arg6
= static_cast< wxDouble
>(val6
);
29372 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= SWIG_Py_Void();
29382 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29383 PyObject
*resultobj
= 0;
29384 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29402 PyObject
* obj0
= 0 ;
29403 PyObject
* obj1
= 0 ;
29404 PyObject
* obj2
= 0 ;
29405 PyObject
* obj3
= 0 ;
29406 PyObject
* obj4
= 0 ;
29407 PyObject
* obj5
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29417 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29419 if (!SWIG_IsOK(res2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29425 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29426 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29427 if (!SWIG_IsOK(ecode3
)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29430 arg3
= static_cast< wxDouble
>(val3
);
29431 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29432 if (!SWIG_IsOK(ecode4
)) {
29433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29435 arg4
= static_cast< wxDouble
>(val4
);
29436 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29437 if (!SWIG_IsOK(ecode5
)) {
29438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29440 arg5
= static_cast< wxDouble
>(val5
);
29441 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29442 if (!SWIG_IsOK(ecode6
)) {
29443 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29445 arg6
= static_cast< wxDouble
>(val6
);
29447 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= SWIG_Py_Void();
29457 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29458 PyObject
*resultobj
= 0;
29459 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 PyObject
* obj2
= 0 ;
29477 PyObject
* obj3
= 0 ;
29478 PyObject
* obj4
= 0 ;
29479 char * kwnames
[] = {
29480 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29485 if (!SWIG_IsOK(res1
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29488 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29489 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29490 if (!SWIG_IsOK(ecode2
)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29493 arg2
= static_cast< wxDouble
>(val2
);
29494 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29495 if (!SWIG_IsOK(ecode3
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29498 arg3
= static_cast< wxDouble
>(val3
);
29499 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29500 if (!SWIG_IsOK(ecode4
)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29503 arg4
= static_cast< wxDouble
>(val4
);
29504 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29505 if (!SWIG_IsOK(ecode5
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29508 arg5
= static_cast< wxDouble
>(val5
);
29510 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_Py_Void();
29520 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
= 0;
29522 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29524 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "points", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29540 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29541 if (arg3
== NULL
) SWIG_fail
;
29544 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_Py_Void();
29549 if (arg3
) delete [] arg3
;
29554 if (arg3
) delete [] arg3
;
29560 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
= 0;
29562 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29563 PyObject
*arg2
= (PyObject
*) 0 ;
29564 PyObject
*arg3
= (PyObject
*) 0 ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 PyObject
* obj2
= 0 ;
29570 char * kwnames
[] = {
29571 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29576 if (!SWIG_IsOK(res1
)) {
29577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29579 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29583 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29584 if (PyErr_Occurred()) SWIG_fail
;
29586 resultobj
= SWIG_Py_Void();
29593 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
= 0;
29595 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29597 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29598 int arg4
= (int) wxODDEVEN_RULE
;
29603 PyObject
* obj0
= 0 ;
29604 PyObject
* obj1
= 0 ;
29605 PyObject
* obj2
= 0 ;
29606 char * kwnames
[] = {
29607 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29615 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29617 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29618 if (arg3
== NULL
) SWIG_fail
;
29621 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29622 if (!SWIG_IsOK(ecode4
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29625 arg4
= static_cast< int >(val4
);
29628 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_Py_Void();
29633 if (arg3
) delete [] arg3
;
29638 if (arg3
) delete [] arg3
;
29644 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29645 PyObject
*resultobj
= 0;
29646 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 PyObject
* obj2
= 0 ;
29664 PyObject
* obj3
= 0 ;
29665 PyObject
* obj4
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29675 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29676 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29677 if (!SWIG_IsOK(ecode2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29680 arg2
= static_cast< wxDouble
>(val2
);
29681 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29682 if (!SWIG_IsOK(ecode3
)) {
29683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29685 arg3
= static_cast< wxDouble
>(val3
);
29686 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29687 if (!SWIG_IsOK(ecode4
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29690 arg4
= static_cast< wxDouble
>(val4
);
29691 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29692 if (!SWIG_IsOK(ecode5
)) {
29693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29695 arg5
= static_cast< wxDouble
>(val5
);
29697 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= SWIG_Py_Void();
29707 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= 0;
29709 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 PyObject
* obj1
= 0 ;
29726 PyObject
* obj2
= 0 ;
29727 PyObject
* obj3
= 0 ;
29728 PyObject
* obj4
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29738 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29739 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29740 if (!SWIG_IsOK(ecode2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29743 arg2
= static_cast< wxDouble
>(val2
);
29744 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29745 if (!SWIG_IsOK(ecode3
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29748 arg3
= static_cast< wxDouble
>(val3
);
29749 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29750 if (!SWIG_IsOK(ecode4
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29753 arg4
= static_cast< wxDouble
>(val4
);
29754 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29755 if (!SWIG_IsOK(ecode5
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29758 arg5
= static_cast< wxDouble
>(val5
);
29760 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_Py_Void();
29770 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
= 0;
29772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 PyObject
* obj2
= 0 ;
29793 PyObject
* obj3
= 0 ;
29794 PyObject
* obj4
= 0 ;
29795 PyObject
* obj5
= 0 ;
29796 char * kwnames
[] = {
29797 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29805 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29806 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29807 if (!SWIG_IsOK(ecode2
)) {
29808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29810 arg2
= static_cast< wxDouble
>(val2
);
29811 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29812 if (!SWIG_IsOK(ecode3
)) {
29813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29815 arg3
= static_cast< wxDouble
>(val3
);
29816 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29817 if (!SWIG_IsOK(ecode4
)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29820 arg4
= static_cast< wxDouble
>(val4
);
29821 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29822 if (!SWIG_IsOK(ecode5
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29825 arg5
= static_cast< wxDouble
>(val5
);
29826 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29827 if (!SWIG_IsOK(ecode6
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29830 arg6
= static_cast< wxDouble
>(val6
);
29832 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_Py_Void();
29842 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29843 PyObject
*resultobj
= 0;
29844 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29848 PyObject
*swig_obj
[1] ;
29850 if (!args
) SWIG_fail
;
29851 swig_obj
[0] = args
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29856 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29858 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29859 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29870 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29873 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29874 return SWIG_Py_Void();
29877 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29878 PyObject
*resultobj
= 0;
29879 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29882 PyObject
*swig_obj
[1] ;
29884 if (!args
) SWIG_fail
;
29885 swig_obj
[0] = args
;
29886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29887 if (!SWIG_IsOK(res1
)) {
29888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29890 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 resultobj
= SWIG_Py_Void();
29903 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29904 PyObject
*resultobj
= 0;
29905 wxGraphicsRenderer
*result
= 0 ;
29907 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29909 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29919 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29920 PyObject
*resultobj
= 0;
29921 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29922 wxWindowDC
*arg2
= 0 ;
29923 wxGraphicsContext
*result
= 0 ;
29929 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29934 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29935 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29936 if (!SWIG_IsOK(res2
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29942 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29944 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29954 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29955 PyObject
*resultobj
= 0;
29956 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29957 wxWindow
*arg2
= (wxWindow
*) 0 ;
29958 wxGraphicsContext
*result
= 0 ;
29964 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29966 if (!SWIG_IsOK(res1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29969 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29970 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29971 if (!SWIG_IsOK(res2
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29976 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29986 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29990 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29995 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29996 _v
= SWIG_CheckState(res
);
29998 if (!_v
) goto check_1
;
29999 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30004 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30008 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30013 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
= 0;
30015 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30016 void *arg2
= (void *) 0 ;
30017 wxGraphicsContext
*result
= 0 ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 char * kwnames
[] = {
30024 (char *) "self",(char *) "context", NULL
30027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30029 if (!SWIG_IsOK(res1
)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30032 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30033 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30034 if (!SWIG_IsOK(res2
)) {
30035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30038 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30048 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
= 0;
30050 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30051 void *arg2
= (void *) 0 ;
30052 wxGraphicsContext
*result
= 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "window", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30067 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30068 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30069 if (!SWIG_IsOK(res2
)) {
30070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30073 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30083 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30084 PyObject
*resultobj
= 0;
30085 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30086 wxGraphicsPath result
;
30089 PyObject
*swig_obj
[1] ;
30091 if (!args
) SWIG_fail
;
30092 swig_obj
[0] = args
;
30093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30097 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30099 result
= (arg1
)->CreatePath();
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30109 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30112 wxDouble arg2
= (wxDouble
) 1.0 ;
30113 wxDouble arg3
= (wxDouble
) 0.0 ;
30114 wxDouble arg4
= (wxDouble
) 0.0 ;
30115 wxDouble arg5
= (wxDouble
) 1.0 ;
30116 wxDouble arg6
= (wxDouble
) 0.0 ;
30117 wxDouble arg7
= (wxDouble
) 0.0 ;
30118 wxGraphicsMatrix result
;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 PyObject
* obj3
= 0 ;
30137 PyObject
* obj4
= 0 ;
30138 PyObject
* obj5
= 0 ;
30139 PyObject
* obj6
= 0 ;
30140 char * kwnames
[] = {
30141 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30149 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30151 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30152 if (!SWIG_IsOK(ecode2
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30155 arg2
= static_cast< wxDouble
>(val2
);
30158 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30159 if (!SWIG_IsOK(ecode3
)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30162 arg3
= static_cast< wxDouble
>(val3
);
30165 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30166 if (!SWIG_IsOK(ecode4
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30169 arg4
= static_cast< wxDouble
>(val4
);
30172 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30173 if (!SWIG_IsOK(ecode5
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30176 arg5
= static_cast< wxDouble
>(val5
);
30179 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30180 if (!SWIG_IsOK(ecode6
)) {
30181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30183 arg6
= static_cast< wxDouble
>(val6
);
30186 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30187 if (!SWIG_IsOK(ecode7
)) {
30188 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30190 arg7
= static_cast< wxDouble
>(val7
);
30193 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30203 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
= 0;
30205 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30207 wxGraphicsPen result
;
30212 PyObject
* obj0
= 0 ;
30213 PyObject
* obj1
= 0 ;
30214 char * kwnames
[] = {
30215 (char *) "self",(char *) "pen", NULL
30218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30220 if (!SWIG_IsOK(res1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30223 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30225 if (!SWIG_IsOK(res2
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30231 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30233 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30243 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
= 0;
30245 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30246 wxBrush
*arg2
= 0 ;
30247 wxGraphicsBrush result
;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 char * kwnames
[] = {
30255 (char *) "self",(char *) "brush", NULL
30258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30263 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30265 if (!SWIG_IsOK(res2
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30271 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30273 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30283 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30284 PyObject
*resultobj
= 0;
30285 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30290 wxColour
*arg6
= 0 ;
30291 wxColour
*arg7
= 0 ;
30292 wxGraphicsBrush result
;
30305 PyObject
* obj0
= 0 ;
30306 PyObject
* obj1
= 0 ;
30307 PyObject
* obj2
= 0 ;
30308 PyObject
* obj3
= 0 ;
30309 PyObject
* obj4
= 0 ;
30310 PyObject
* obj5
= 0 ;
30311 PyObject
* obj6
= 0 ;
30312 char * kwnames
[] = {
30313 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30321 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30322 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30323 if (!SWIG_IsOK(ecode2
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30326 arg2
= static_cast< wxDouble
>(val2
);
30327 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30328 if (!SWIG_IsOK(ecode3
)) {
30329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30331 arg3
= static_cast< wxDouble
>(val3
);
30332 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30333 if (!SWIG_IsOK(ecode4
)) {
30334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30336 arg4
= static_cast< wxDouble
>(val4
);
30337 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30338 if (!SWIG_IsOK(ecode5
)) {
30339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30341 arg5
= static_cast< wxDouble
>(val5
);
30344 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30348 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30351 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30361 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30369 wxColour
*arg7
= 0 ;
30370 wxColour
*arg8
= 0 ;
30371 wxGraphicsBrush result
;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 PyObject
* obj3
= 0 ;
30390 PyObject
* obj4
= 0 ;
30391 PyObject
* obj5
= 0 ;
30392 PyObject
* obj6
= 0 ;
30393 PyObject
* obj7
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30403 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30404 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30405 if (!SWIG_IsOK(ecode2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30408 arg2
= static_cast< wxDouble
>(val2
);
30409 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30410 if (!SWIG_IsOK(ecode3
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30413 arg3
= static_cast< wxDouble
>(val3
);
30414 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30415 if (!SWIG_IsOK(ecode4
)) {
30416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30418 arg4
= static_cast< wxDouble
>(val4
);
30419 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30420 if (!SWIG_IsOK(ecode5
)) {
30421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30423 arg5
= static_cast< wxDouble
>(val5
);
30424 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30425 if (!SWIG_IsOK(ecode6
)) {
30426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30428 arg6
= static_cast< wxDouble
>(val6
);
30431 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30435 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30438 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30448 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
= 0;
30450 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30452 wxColour
const &arg3_defvalue
= *wxBLACK
;
30453 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30454 wxGraphicsFont result
;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 PyObject
* obj2
= 0 ;
30463 char * kwnames
[] = {
30464 (char *) "self",(char *) "font",(char *) "col", NULL
30467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30469 if (!SWIG_IsOK(res1
)) {
30470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30472 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30474 if (!SWIG_IsOK(res2
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30480 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30484 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30488 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30498 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30501 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30502 return SWIG_Py_Void();
30505 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
= 0;
30507 wxWindowDC
*arg1
= 0 ;
30508 wxGCDC
*result
= 0 ;
30511 PyObject
* obj0
= 0 ;
30512 char * kwnames
[] = {
30513 (char *) "dc", NULL
30516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30518 if (!SWIG_IsOK(res1
)) {
30519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30524 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30526 if (!wxPyCheckForApp()) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30539 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 PyObject
*resultobj
= 0;
30541 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30544 PyObject
*swig_obj
[1] ;
30546 if (!args
) SWIG_fail
;
30547 swig_obj
[0] = args
;
30548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30549 if (!SWIG_IsOK(res1
)) {
30550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30552 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= SWIG_Py_Void();
30565 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30566 PyObject
*resultobj
= 0;
30567 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30568 wxGraphicsContext
*result
= 0 ;
30571 PyObject
*swig_obj
[1] ;
30573 if (!args
) SWIG_fail
;
30574 swig_obj
[0] = args
;
30575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30576 if (!SWIG_IsOK(res1
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30579 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30581 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30591 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30592 PyObject
*resultobj
= 0;
30593 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30594 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "ctx", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30610 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30611 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30612 if (!SWIG_IsOK(res2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30615 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30617 (arg1
)->SetGraphicsContext(arg2
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 resultobj
= SWIG_Py_Void();
30627 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30630 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30631 return SWIG_Py_Void();
30634 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30635 return SWIG_Python_InitShadowInstance(args
);
30638 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30639 PyObject
*resultobj
= 0;
30640 wxOverlay
*result
= 0 ;
30642 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 result
= (wxOverlay
*)new wxOverlay();
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30656 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30657 PyObject
*resultobj
= 0;
30658 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30661 PyObject
*swig_obj
[1] ;
30663 if (!args
) SWIG_fail
;
30664 swig_obj
[0] = args
;
30665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30666 if (!SWIG_IsOK(res1
)) {
30667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30669 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= SWIG_Py_Void();
30684 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30685 PyObject
*resultobj
= 0;
30686 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30689 PyObject
*swig_obj
[1] ;
30691 if (!args
) SWIG_fail
;
30692 swig_obj
[0] = args
;
30693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30697 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_Py_Void();
30711 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30714 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30715 return SWIG_Py_Void();
30718 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30719 return SWIG_Python_InitShadowInstance(args
);
30722 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30723 PyObject
*resultobj
= 0;
30724 wxOverlay
*arg1
= 0 ;
30725 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30730 wxDCOverlay
*result
= 0 ;
30744 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30752 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30753 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30754 if (!SWIG_IsOK(res2
)) {
30755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30757 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30758 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30759 if (!SWIG_IsOK(ecode3
)) {
30760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30762 arg3
= static_cast< int >(val3
);
30763 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30764 if (!SWIG_IsOK(ecode4
)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30767 arg4
= static_cast< int >(val4
);
30768 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30769 if (!SWIG_IsOK(ecode5
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30772 arg5
= static_cast< int >(val5
);
30773 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30774 if (!SWIG_IsOK(ecode6
)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30777 arg6
= static_cast< int >(val6
);
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30791 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30792 PyObject
*resultobj
= 0;
30793 wxOverlay
*arg1
= 0 ;
30794 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30795 wxDCOverlay
*result
= 0 ;
30801 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30809 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30810 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30811 if (!SWIG_IsOK(res2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30814 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30828 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30832 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30835 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30838 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30842 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30847 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30848 PyObject
*resultobj
= 0;
30849 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30852 PyObject
*swig_obj
[1] ;
30854 if (!args
) SWIG_fail
;
30855 swig_obj
[0] = args
;
30856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30860 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_Py_Void();
30875 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30876 PyObject
*resultobj
= 0;
30877 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30880 PyObject
*swig_obj
[1] ;
30882 if (!args
) SWIG_fail
;
30883 swig_obj
[0] = args
;
30884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30885 if (!SWIG_IsOK(res1
)) {
30886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30888 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_Py_Void();
30902 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30905 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30906 return SWIG_Py_Void();
30909 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30910 return SWIG_Python_InitShadowInstance(args
);
30913 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30914 PyObject
*resultobj
= 0;
30917 int arg3
= (int) true ;
30918 int arg4
= (int) 1 ;
30919 wxImageList
*result
= 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 PyObject
* obj2
= 0 ;
30931 PyObject
* obj3
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30938 if (!SWIG_IsOK(ecode1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30941 arg1
= static_cast< int >(val1
);
30942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30943 if (!SWIG_IsOK(ecode2
)) {
30944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30946 arg2
= static_cast< int >(val2
);
30948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30949 if (!SWIG_IsOK(ecode3
)) {
30950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30952 arg3
= static_cast< int >(val3
);
30955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30956 if (!SWIG_IsOK(ecode4
)) {
30957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30959 arg4
= static_cast< int >(val4
);
30962 if (!wxPyCheckForApp()) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30975 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30976 PyObject
*resultobj
= 0;
30977 wxImageList
*arg1
= (wxImageList
*) 0 ;
30980 PyObject
*swig_obj
[1] ;
30982 if (!args
) SWIG_fail
;
30983 swig_obj
[0] = args
;
30984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30985 if (!SWIG_IsOK(res1
)) {
30986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30988 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= SWIG_Py_Void();
31003 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
= 0;
31005 wxImageList
*arg1
= (wxImageList
*) 0 ;
31006 wxBitmap
*arg2
= 0 ;
31007 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31008 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31016 PyObject
* obj0
= 0 ;
31017 PyObject
* obj1
= 0 ;
31018 PyObject
* obj2
= 0 ;
31019 char * kwnames
[] = {
31020 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31025 if (!SWIG_IsOK(res1
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31028 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31030 if (!SWIG_IsOK(res2
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31036 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31038 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31039 if (!SWIG_IsOK(res3
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31045 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_From_int(static_cast< int >(result
));
31060 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
= 0;
31062 wxImageList
*arg1
= (wxImageList
*) 0 ;
31063 wxBitmap
*arg2
= 0 ;
31064 wxColour
*arg3
= 0 ;
31071 PyObject
* obj0
= 0 ;
31072 PyObject
* obj1
= 0 ;
31073 PyObject
* obj2
= 0 ;
31074 char * kwnames
[] = {
31075 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31080 if (!SWIG_IsOK(res1
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31083 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31085 if (!SWIG_IsOK(res2
)) {
31086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31091 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31094 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= SWIG_From_int(static_cast< int >(result
));
31109 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
= 0;
31111 wxImageList
*arg1
= (wxImageList
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "icon", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31129 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31131 if (!SWIG_IsOK(res2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31137 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_From_int(static_cast< int >(result
));
31151 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= 0;
31153 wxImageList
*arg1
= (wxImageList
*) 0 ;
31155 SwigValueWrapper
<wxBitmap
> result
;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "index", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31171 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31173 if (!SWIG_IsOK(ecode2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31176 arg2
= static_cast< int >(val2
);
31178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31179 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31183 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31190 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31191 PyObject
*resultobj
= 0;
31192 wxImageList
*arg1
= (wxImageList
*) 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 char * kwnames
[] = {
31202 (char *) "self",(char *) "index", NULL
31205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31207 if (!SWIG_IsOK(res1
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31210 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31212 if (!SWIG_IsOK(ecode2
)) {
31213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31215 arg2
= static_cast< int >(val2
);
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31229 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
= 0;
31231 wxImageList
*arg1
= (wxImageList
*) 0 ;
31233 wxBitmap
*arg3
= 0 ;
31234 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31235 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 PyObject
* obj2
= 0 ;
31248 PyObject
* obj3
= 0 ;
31249 char * kwnames
[] = {
31250 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31255 if (!SWIG_IsOK(res1
)) {
31256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31258 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31260 if (!SWIG_IsOK(ecode2
)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31263 arg2
= static_cast< int >(val2
);
31264 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31265 if (!SWIG_IsOK(res3
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31271 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31273 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31274 if (!SWIG_IsOK(res4
)) {
31275 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31280 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31297 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
= 0;
31299 wxImageList
*arg1
= (wxImageList
*) 0 ;
31304 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31305 bool arg7
= (bool) (bool)false ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 PyObject
* obj3
= 0 ;
31325 PyObject
* obj4
= 0 ;
31326 PyObject
* obj5
= 0 ;
31327 PyObject
* obj6
= 0 ;
31328 char * kwnames
[] = {
31329 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31334 if (!SWIG_IsOK(res1
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31337 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31339 if (!SWIG_IsOK(ecode2
)) {
31340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31342 arg2
= static_cast< int >(val2
);
31343 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31344 if (!SWIG_IsOK(res3
)) {
31345 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31350 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31352 if (!SWIG_IsOK(ecode4
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31355 arg4
= static_cast< int >(val4
);
31356 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31357 if (!SWIG_IsOK(ecode5
)) {
31358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31360 arg5
= static_cast< int >(val5
);
31362 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31363 if (!SWIG_IsOK(ecode6
)) {
31364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31366 arg6
= static_cast< int >(val6
);
31369 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31370 if (!SWIG_IsOK(ecode7
)) {
31371 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31373 arg7
= static_cast< bool >(val7
);
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31390 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31391 PyObject
*resultobj
= 0;
31392 wxImageList
*arg1
= (wxImageList
*) 0 ;
31396 PyObject
*swig_obj
[1] ;
31398 if (!args
) SWIG_fail
;
31399 swig_obj
[0] = args
;
31400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31401 if (!SWIG_IsOK(res1
)) {
31402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31404 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 result
= (int)(arg1
)->GetImageCount();
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= SWIG_From_int(static_cast< int >(result
));
31418 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
= 0;
31420 wxImageList
*arg1
= (wxImageList
*) 0 ;
31427 PyObject
* obj0
= 0 ;
31428 PyObject
* obj1
= 0 ;
31429 char * kwnames
[] = {
31430 (char *) "self",(char *) "index", NULL
31433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31438 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31440 if (!SWIG_IsOK(ecode2
)) {
31441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31443 arg2
= static_cast< int >(val2
);
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (bool)(arg1
)->Remove(arg2
);
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31459 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31460 PyObject
*resultobj
= 0;
31461 wxImageList
*arg1
= (wxImageList
*) 0 ;
31465 PyObject
*swig_obj
[1] ;
31467 if (!args
) SWIG_fail
;
31468 swig_obj
[0] = args
;
31469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31470 if (!SWIG_IsOK(res1
)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31473 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (bool)(arg1
)->RemoveAll();
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31489 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
= 0;
31491 wxImageList
*arg1
= (wxImageList
*) 0 ;
31500 int res3
= SWIG_TMPOBJ
;
31502 int res4
= SWIG_TMPOBJ
;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 char * kwnames
[] = {
31506 (char *) "self",(char *) "index", NULL
31511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31516 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31518 if (!SWIG_IsOK(ecode2
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31521 arg2
= static_cast< int >(val2
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_Py_Void();
31529 if (SWIG_IsTmpObj(res3
)) {
31530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31532 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31533 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31535 if (SWIG_IsTmpObj(res4
)) {
31536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31538 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31547 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31550 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31551 return SWIG_Py_Void();
31554 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31555 return SWIG_Python_InitShadowInstance(args
);
31558 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 PyObject
*resultobj
= 0;
31560 wxStockGDI
*result
= 0 ;
31562 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31565 result
= (wxStockGDI
*)new wxStockGDI();
31566 wxPyEndAllowThreads(__tstate
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31576 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31577 PyObject
*resultobj
= 0;
31578 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31581 PyObject
*swig_obj
[1] ;
31583 if (!args
) SWIG_fail
;
31584 swig_obj
[0] = args
;
31585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31586 if (!SWIG_IsOK(res1
)) {
31587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31589 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_Py_Void();
31604 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31605 PyObject
*resultobj
= 0;
31607 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 wxStockGDI::DeleteAll();
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= SWIG_Py_Void();
31621 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31622 PyObject
*resultobj
= 0;
31623 wxStockGDI
*result
= 0 ;
31625 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31630 result
= (wxStockGDI
*) &_result_ref
;
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31642 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxStockGDI::Item arg1
;
31645 wxBrush
*result
= 0 ;
31648 PyObject
* obj0
= 0 ;
31649 char * kwnames
[] = {
31650 (char *) "item", NULL
31653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31655 if (!SWIG_IsOK(ecode1
)) {
31656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31658 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31672 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
= 0;
31674 wxStockGDI::Item arg1
;
31675 wxColour
*result
= 0 ;
31678 PyObject
* obj0
= 0 ;
31679 char * kwnames
[] = {
31680 (char *) "item", NULL
31683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31684 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31685 if (!SWIG_IsOK(ecode1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31688 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31702 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31703 PyObject
*resultobj
= 0;
31704 wxStockGDI::Item arg1
;
31705 wxCursor
*result
= 0 ;
31708 PyObject
* obj0
= 0 ;
31709 char * kwnames
[] = {
31710 (char *) "item", NULL
31713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31715 if (!SWIG_IsOK(ecode1
)) {
31716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31718 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31732 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
= 0;
31734 wxStockGDI::Item arg1
;
31735 wxPen
*result
= 0 ;
31738 PyObject
* obj0
= 0 ;
31739 char * kwnames
[] = {
31740 (char *) "item", NULL
31743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31745 if (!SWIG_IsOK(ecode1
)) {
31746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31748 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31762 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
= 0;
31764 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31765 wxStockGDI::Item arg2
;
31766 wxFont
*result
= 0 ;
31771 PyObject
* obj0
= 0 ;
31772 PyObject
* obj1
= 0 ;
31773 char * kwnames
[] = {
31774 (char *) "self",(char *) "item", NULL
31777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31782 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31784 if (!SWIG_IsOK(ecode2
)) {
31785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31787 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31790 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31791 wxPyEndAllowThreads(__tstate
);
31792 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31801 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31804 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31805 return SWIG_Py_Void();
31808 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31809 return SWIG_Python_InitShadowInstance(args
);
31812 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31813 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31818 SWIGINTERN PyObject
*NullBitmap_get(void) {
31819 PyObject
*pyobj
= 0;
31821 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31826 SWIGINTERN
int NullIcon_set(PyObject
*) {
31827 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31832 SWIGINTERN PyObject
*NullIcon_get(void) {
31833 PyObject
*pyobj
= 0;
31835 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31840 SWIGINTERN
int NullCursor_set(PyObject
*) {
31841 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31846 SWIGINTERN PyObject
*NullCursor_get(void) {
31847 PyObject
*pyobj
= 0;
31849 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31854 SWIGINTERN
int NullPen_set(PyObject
*) {
31855 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31860 SWIGINTERN PyObject
*NullPen_get(void) {
31861 PyObject
*pyobj
= 0;
31863 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31868 SWIGINTERN
int NullBrush_set(PyObject
*) {
31869 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31874 SWIGINTERN PyObject
*NullBrush_get(void) {
31875 PyObject
*pyobj
= 0;
31877 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31882 SWIGINTERN
int NullPalette_set(PyObject
*) {
31883 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31888 SWIGINTERN PyObject
*NullPalette_get(void) {
31889 PyObject
*pyobj
= 0;
31891 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31896 SWIGINTERN
int NullFont_set(PyObject
*) {
31897 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31902 SWIGINTERN PyObject
*NullFont_get(void) {
31903 PyObject
*pyobj
= 0;
31905 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31910 SWIGINTERN
int NullColour_set(PyObject
*) {
31911 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31916 SWIGINTERN PyObject
*NullColour_get(void) {
31917 PyObject
*pyobj
= 0;
31919 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31924 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31925 PyObject
*resultobj
= 0;
31926 wxGDIObjListBase
*result
= 0 ;
31928 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31942 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31947 PyObject
*swig_obj
[1] ;
31949 if (!args
) SWIG_fail
;
31950 swig_obj
[0] = args
;
31951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31952 if (!SWIG_IsOK(res1
)) {
31953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31955 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_Py_Void();
31970 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31973 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31974 return SWIG_Py_Void();
31977 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31978 return SWIG_Python_InitShadowInstance(args
);
31981 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
= 0;
31983 wxPenList
*arg1
= (wxPenList
*) 0 ;
31984 wxColour
*arg2
= 0 ;
31987 wxPen
*result
= 0 ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 PyObject
* obj2
= 0 ;
31998 PyObject
* obj3
= 0 ;
31999 char * kwnames
[] = {
32000 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32005 if (!SWIG_IsOK(res1
)) {
32006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32008 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32014 if (!SWIG_IsOK(ecode3
)) {
32015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32017 arg3
= static_cast< int >(val3
);
32018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32019 if (!SWIG_IsOK(ecode4
)) {
32020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32022 arg4
= static_cast< int >(val4
);
32024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32036 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= 0;
32038 wxPenList
*arg1
= (wxPenList
*) 0 ;
32039 wxPen
*arg2
= (wxPen
*) 0 ;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 char * kwnames
[] = {
32047 (char *) "self",(char *) "pen", NULL
32050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32055 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32057 if (!SWIG_IsOK(res2
)) {
32058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32060 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 (arg1
)->AddPen(arg2
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= SWIG_Py_Void();
32074 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
= 0;
32076 wxPenList
*arg1
= (wxPenList
*) 0 ;
32077 wxPen
*arg2
= (wxPen
*) 0 ;
32082 PyObject
* obj0
= 0 ;
32083 PyObject
* obj1
= 0 ;
32084 char * kwnames
[] = {
32085 (char *) "self",(char *) "pen", NULL
32088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32090 if (!SWIG_IsOK(res1
)) {
32091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32093 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32095 if (!SWIG_IsOK(res2
)) {
32096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32098 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 (arg1
)->RemovePen(arg2
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 resultobj
= SWIG_Py_Void();
32112 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32115 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32116 return SWIG_Py_Void();
32119 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
= 0;
32121 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32122 wxColour
*arg2
= 0 ;
32123 int arg3
= (int) wxSOLID
;
32124 wxBrush
*result
= 0 ;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 PyObject
* obj2
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "self",(char *) "colour",(char *) "style", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32142 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32149 if (!SWIG_IsOK(ecode3
)) {
32150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32152 arg3
= static_cast< int >(val3
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32156 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32167 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
= 0;
32169 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32170 wxBrush
*arg2
= (wxBrush
*) 0 ;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char * kwnames
[] = {
32178 (char *) "self",(char *) "brush", NULL
32181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32183 if (!SWIG_IsOK(res1
)) {
32184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32186 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32188 if (!SWIG_IsOK(res2
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32191 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 (arg1
)->AddBrush(arg2
);
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= SWIG_Py_Void();
32205 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32206 PyObject
*resultobj
= 0;
32207 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32208 wxBrush
*arg2
= (wxBrush
*) 0 ;
32213 PyObject
* obj0
= 0 ;
32214 PyObject
* obj1
= 0 ;
32215 char * kwnames
[] = {
32216 (char *) "self",(char *) "brush", NULL
32219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32221 if (!SWIG_IsOK(res1
)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32224 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32226 if (!SWIG_IsOK(res2
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32229 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 (arg1
)->RemoveBrush(arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 resultobj
= SWIG_Py_Void();
32243 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32246 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32247 return SWIG_Py_Void();
32250 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32251 PyObject
*resultobj
= 0;
32252 wxFontList
*arg1
= (wxFontList
*) 0 ;
32257 bool arg6
= (bool) false ;
32258 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32259 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32260 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32261 wxFont
*result
= 0 ;
32274 bool temp7
= false ;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 PyObject
* obj2
= 0 ;
32280 PyObject
* obj3
= 0 ;
32281 PyObject
* obj4
= 0 ;
32282 PyObject
* obj5
= 0 ;
32283 PyObject
* obj6
= 0 ;
32284 PyObject
* obj7
= 0 ;
32285 char * kwnames
[] = {
32286 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32291 if (!SWIG_IsOK(res1
)) {
32292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32294 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32296 if (!SWIG_IsOK(ecode2
)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32299 arg2
= static_cast< int >(val2
);
32300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32301 if (!SWIG_IsOK(ecode3
)) {
32302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32304 arg3
= static_cast< int >(val3
);
32305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32306 if (!SWIG_IsOK(ecode4
)) {
32307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32309 arg4
= static_cast< int >(val4
);
32310 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32311 if (!SWIG_IsOK(ecode5
)) {
32312 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32314 arg5
= static_cast< int >(val5
);
32316 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32317 if (!SWIG_IsOK(ecode6
)) {
32318 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32320 arg6
= static_cast< bool >(val6
);
32324 arg7
= wxString_in_helper(obj6
);
32325 if (arg7
== NULL
) SWIG_fail
;
32330 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32331 if (!SWIG_IsOK(ecode8
)) {
32332 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32334 arg8
= static_cast< wxFontEncoding
>(val8
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32357 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
= 0;
32359 wxFontList
*arg1
= (wxFontList
*) 0 ;
32360 wxFont
*arg2
= (wxFont
*) 0 ;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 char * kwnames
[] = {
32368 (char *) "self",(char *) "font", NULL
32371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32373 if (!SWIG_IsOK(res1
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32376 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32378 if (!SWIG_IsOK(res2
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32381 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 (arg1
)->AddFont(arg2
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= SWIG_Py_Void();
32395 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
= 0;
32397 wxFontList
*arg1
= (wxFontList
*) 0 ;
32398 wxFont
*arg2
= (wxFont
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 char * kwnames
[] = {
32406 (char *) "self",(char *) "font", NULL
32409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32411 if (!SWIG_IsOK(res1
)) {
32412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32414 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32416 if (!SWIG_IsOK(res2
)) {
32417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32419 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 (arg1
)->RemoveFont(arg2
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= SWIG_Py_Void();
32433 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32436 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32437 return SWIG_Py_Void();
32440 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32441 PyObject
*resultobj
= 0;
32442 wxColourDatabase
*result
= 0 ;
32444 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32446 if (!wxPyCheckForApp()) SWIG_fail
;
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 result
= (wxColourDatabase
*)new wxColourDatabase();
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32459 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32460 PyObject
*resultobj
= 0;
32461 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32464 PyObject
*swig_obj
[1] ;
32466 if (!args
) SWIG_fail
;
32467 swig_obj
[0] = args
;
32468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32469 if (!SWIG_IsOK(res1
)) {
32470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32472 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 resultobj
= SWIG_Py_Void();
32487 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
= 0;
32489 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32490 wxString
*arg2
= 0 ;
32494 bool temp2
= false ;
32495 PyObject
* obj0
= 0 ;
32496 PyObject
* obj1
= 0 ;
32497 char * kwnames
[] = {
32498 (char *) "self",(char *) "name", NULL
32501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32506 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32508 arg2
= wxString_in_helper(obj1
);
32509 if (arg2
== NULL
) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32533 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32534 PyObject
*resultobj
= 0;
32535 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32536 wxColour
*arg2
= 0 ;
32541 PyObject
* obj0
= 0 ;
32542 PyObject
* obj1
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "colour", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32552 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32576 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
= 0;
32578 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32579 wxString
*arg2
= 0 ;
32580 wxColour
*arg3
= 0 ;
32583 bool temp2
= false ;
32585 PyObject
* obj0
= 0 ;
32586 PyObject
* obj1
= 0 ;
32587 PyObject
* obj2
= 0 ;
32588 char * kwnames
[] = {
32589 (char *) "self",(char *) "name",(char *) "colour", NULL
32592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32594 if (!SWIG_IsOK(res1
)) {
32595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32597 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32599 arg2
= wxString_in_helper(obj1
);
32600 if (arg2
== NULL
) SWIG_fail
;
32605 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= SWIG_Py_Void();
32628 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
= 0;
32630 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32631 wxString
*arg2
= 0 ;
32637 bool temp2
= false ;
32644 PyObject
* obj0
= 0 ;
32645 PyObject
* obj1
= 0 ;
32646 PyObject
* obj2
= 0 ;
32647 PyObject
* obj3
= 0 ;
32648 PyObject
* obj4
= 0 ;
32649 char * kwnames
[] = {
32650 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32655 if (!SWIG_IsOK(res1
)) {
32656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32658 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32660 arg2
= wxString_in_helper(obj1
);
32661 if (arg2
== NULL
) SWIG_fail
;
32664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32665 if (!SWIG_IsOK(ecode3
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32668 arg3
= static_cast< int >(val3
);
32669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32670 if (!SWIG_IsOK(ecode4
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32673 arg4
= static_cast< int >(val4
);
32674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32675 if (!SWIG_IsOK(ecode5
)) {
32676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32678 arg5
= static_cast< int >(val5
);
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 resultobj
= SWIG_Py_Void();
32700 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32703 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32704 return SWIG_Py_Void();
32707 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32708 return SWIG_Python_InitShadowInstance(args
);
32711 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 PyObject
*resultobj
= 0;
32713 wxFontList
*result
= 0 ;
32715 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (wxFontList
*)_wxPyInitTheFontList();
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32729 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32730 PyObject
*resultobj
= 0;
32731 wxPenList
*result
= 0 ;
32733 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 result
= (wxPenList
*)_wxPyInitThePenList();
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32747 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32748 PyObject
*resultobj
= 0;
32749 wxBrushList
*result
= 0 ;
32751 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32765 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32766 PyObject
*resultobj
= 0;
32767 wxColourDatabase
*result
= 0 ;
32769 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32783 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32784 PyObject
*resultobj
= 0;
32785 wxEffects
*result
= 0 ;
32787 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (wxEffects
*)new wxEffects();
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32801 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32802 PyObject
*resultobj
= 0;
32803 wxEffects
*arg1
= (wxEffects
*) 0 ;
32807 PyObject
*swig_obj
[1] ;
32809 if (!args
) SWIG_fail
;
32810 swig_obj
[0] = args
;
32811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32815 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32829 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32830 PyObject
*resultobj
= 0;
32831 wxEffects
*arg1
= (wxEffects
*) 0 ;
32835 PyObject
*swig_obj
[1] ;
32837 if (!args
) SWIG_fail
;
32838 swig_obj
[0] = args
;
32839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32840 if (!SWIG_IsOK(res1
)) {
32841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32843 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32857 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32858 PyObject
*resultobj
= 0;
32859 wxEffects
*arg1
= (wxEffects
*) 0 ;
32863 PyObject
*swig_obj
[1] ;
32865 if (!args
) SWIG_fail
;
32866 swig_obj
[0] = args
;
32867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32868 if (!SWIG_IsOK(res1
)) {
32869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32871 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32885 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32886 PyObject
*resultobj
= 0;
32887 wxEffects
*arg1
= (wxEffects
*) 0 ;
32891 PyObject
*swig_obj
[1] ;
32893 if (!args
) SWIG_fail
;
32894 swig_obj
[0] = args
;
32895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32896 if (!SWIG_IsOK(res1
)) {
32897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32899 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32913 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 PyObject
*resultobj
= 0;
32915 wxEffects
*arg1
= (wxEffects
*) 0 ;
32919 PyObject
*swig_obj
[1] ;
32921 if (!args
) SWIG_fail
;
32922 swig_obj
[0] = args
;
32923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32927 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32930 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32941 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
= 0;
32943 wxEffects
*arg1
= (wxEffects
*) 0 ;
32944 wxColour
*arg2
= 0 ;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 char * kwnames
[] = {
32951 (char *) "self",(char *) "c", NULL
32954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32956 if (!SWIG_IsOK(res1
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32959 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32962 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32970 resultobj
= SWIG_Py_Void();
32977 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
= 0;
32979 wxEffects
*arg1
= (wxEffects
*) 0 ;
32980 wxColour
*arg2
= 0 ;
32984 PyObject
* obj0
= 0 ;
32985 PyObject
* obj1
= 0 ;
32986 char * kwnames
[] = {
32987 (char *) "self",(char *) "c", NULL
32990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32992 if (!SWIG_IsOK(res1
)) {
32993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32995 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33002 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 resultobj
= SWIG_Py_Void();
33013 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
= 0;
33015 wxEffects
*arg1
= (wxEffects
*) 0 ;
33016 wxColour
*arg2
= 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 char * kwnames
[] = {
33023 (char *) "self",(char *) "c", NULL
33026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33028 if (!SWIG_IsOK(res1
)) {
33029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33031 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33038 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_Py_Void();
33049 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
= 0;
33051 wxEffects
*arg1
= (wxEffects
*) 0 ;
33052 wxColour
*arg2
= 0 ;
33056 PyObject
* obj0
= 0 ;
33057 PyObject
* obj1
= 0 ;
33058 char * kwnames
[] = {
33059 (char *) "self",(char *) "c", NULL
33062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33064 if (!SWIG_IsOK(res1
)) {
33065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33067 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33070 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33074 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= SWIG_Py_Void();
33085 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
= 0;
33087 wxEffects
*arg1
= (wxEffects
*) 0 ;
33088 wxColour
*arg2
= 0 ;
33092 PyObject
* obj0
= 0 ;
33093 PyObject
* obj1
= 0 ;
33094 char * kwnames
[] = {
33095 (char *) "self",(char *) "c", NULL
33098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33100 if (!SWIG_IsOK(res1
)) {
33101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33103 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_Py_Void();
33121 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33122 PyObject
*resultobj
= 0;
33123 wxEffects
*arg1
= (wxEffects
*) 0 ;
33124 wxColour
*arg2
= 0 ;
33125 wxColour
*arg3
= 0 ;
33126 wxColour
*arg4
= 0 ;
33127 wxColour
*arg5
= 0 ;
33128 wxColour
*arg6
= 0 ;
33136 PyObject
* obj0
= 0 ;
33137 PyObject
* obj1
= 0 ;
33138 PyObject
* obj2
= 0 ;
33139 PyObject
* obj3
= 0 ;
33140 PyObject
* obj4
= 0 ;
33141 PyObject
* obj5
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33151 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33158 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33162 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33166 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33170 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= SWIG_Py_Void();
33185 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
= 0;
33187 wxEffects
*arg1
= (wxEffects
*) 0 ;
33190 int arg4
= (int) 1 ;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 PyObject
* obj2
= 0 ;
33201 PyObject
* obj3
= 0 ;
33202 char * kwnames
[] = {
33203 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33208 if (!SWIG_IsOK(res1
)) {
33209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33211 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33213 if (!SWIG_IsOK(res2
)) {
33214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33222 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33226 if (!SWIG_IsOK(ecode4
)) {
33227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33229 arg4
= static_cast< int >(val4
);
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33234 wxPyEndAllowThreads(__tstate
);
33235 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= SWIG_Py_Void();
33244 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33245 PyObject
*resultobj
= 0;
33246 wxEffects
*arg1
= (wxEffects
*) 0 ;
33249 wxBitmap
*arg4
= 0 ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 PyObject
* obj2
= 0 ;
33261 PyObject
* obj3
= 0 ;
33262 char * kwnames
[] = {
33263 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33271 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33274 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33276 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33277 if (!SWIG_IsOK(res3
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33283 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33284 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33285 if (!SWIG_IsOK(res4
)) {
33286 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33291 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33294 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33307 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33310 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33311 return SWIG_Py_Void();
33314 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33315 return SWIG_Python_InitShadowInstance(args
);
33318 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
= 0;
33323 wxSplitterRenderParams
*result
= 0 ;
33330 PyObject
* obj0
= 0 ;
33331 PyObject
* obj1
= 0 ;
33332 PyObject
* obj2
= 0 ;
33333 char * kwnames
[] = {
33334 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33339 if (!SWIG_IsOK(ecode1
)) {
33340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33342 arg1
= static_cast< int >(val1
);
33343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33344 if (!SWIG_IsOK(ecode2
)) {
33345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33347 arg2
= static_cast< int >(val2
);
33348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33349 if (!SWIG_IsOK(ecode3
)) {
33350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33352 arg3
= static_cast< bool >(val3
);
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33356 wxPyEndAllowThreads(__tstate
);
33357 if (PyErr_Occurred()) SWIG_fail
;
33359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33366 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33367 PyObject
*resultobj
= 0;
33368 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33371 PyObject
*swig_obj
[1] ;
33373 if (!args
) SWIG_fail
;
33374 swig_obj
[0] = args
;
33375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33376 if (!SWIG_IsOK(res1
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33379 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33387 resultobj
= SWIG_Py_Void();
33394 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33395 PyObject
*resultobj
= 0;
33396 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33400 PyObject
*swig_obj
[1] ;
33402 if (!args
) SWIG_fail
;
33403 swig_obj
[0] = args
;
33404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33405 if (!SWIG_IsOK(res1
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33408 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33409 result
= (int)(int) ((arg1
)->widthSash
);
33410 resultobj
= SWIG_From_int(static_cast< int >(result
));
33417 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33418 PyObject
*resultobj
= 0;
33419 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33423 PyObject
*swig_obj
[1] ;
33425 if (!args
) SWIG_fail
;
33426 swig_obj
[0] = args
;
33427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33428 if (!SWIG_IsOK(res1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33431 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33432 result
= (int)(int) ((arg1
)->border
);
33433 resultobj
= SWIG_From_int(static_cast< int >(result
));
33440 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33441 PyObject
*resultobj
= 0;
33442 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33446 PyObject
*swig_obj
[1] ;
33448 if (!args
) SWIG_fail
;
33449 swig_obj
[0] = args
;
33450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33451 if (!SWIG_IsOK(res1
)) {
33452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33454 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33455 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33456 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33463 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33466 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33467 return SWIG_Py_Void();
33470 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33471 return SWIG_Python_InitShadowInstance(args
);
33474 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33475 PyObject
*resultobj
= 0;
33476 wxHeaderButtonParams
*result
= 0 ;
33478 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33492 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33493 PyObject
*resultobj
= 0;
33494 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33497 PyObject
*swig_obj
[1] ;
33499 if (!args
) SWIG_fail
;
33500 swig_obj
[0] = args
;
33501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33502 if (!SWIG_IsOK(res1
)) {
33503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33505 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_Py_Void();
33520 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33521 PyObject
*resultobj
= 0;
33522 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33523 wxColour
*arg2
= (wxColour
*) 0 ;
33527 PyObject
*swig_obj
[2] ;
33529 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33531 if (!SWIG_IsOK(res1
)) {
33532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33534 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33537 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33539 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33541 resultobj
= SWIG_Py_Void();
33548 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33549 PyObject
*resultobj
= 0;
33550 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33551 wxColour
*result
= 0 ;
33554 PyObject
*swig_obj
[1] ;
33556 if (!args
) SWIG_fail
;
33557 swig_obj
[0] = args
;
33558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33559 if (!SWIG_IsOK(res1
)) {
33560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33562 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33563 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33571 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33574 wxColour
*arg2
= (wxColour
*) 0 ;
33578 PyObject
*swig_obj
[2] ;
33580 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33585 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33588 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33590 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33592 resultobj
= SWIG_Py_Void();
33599 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33600 PyObject
*resultobj
= 0;
33601 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33602 wxColour
*result
= 0 ;
33605 PyObject
*swig_obj
[1] ;
33607 if (!args
) SWIG_fail
;
33608 swig_obj
[0] = args
;
33609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33610 if (!SWIG_IsOK(res1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33613 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33614 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33622 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33623 PyObject
*resultobj
= 0;
33624 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33625 wxString
*arg2
= (wxString
*) 0 ;
33628 bool temp2
= false ;
33629 PyObject
*swig_obj
[2] ;
33631 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33633 if (!SWIG_IsOK(res1
)) {
33634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33636 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33638 arg2
= wxString_in_helper(swig_obj
[1]);
33639 if (arg2
== NULL
) SWIG_fail
;
33642 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33644 resultobj
= SWIG_Py_Void();
33659 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33660 PyObject
*resultobj
= 0;
33661 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33662 wxString
*result
= 0 ;
33665 PyObject
*swig_obj
[1] ;
33667 if (!args
) SWIG_fail
;
33668 swig_obj
[0] = args
;
33669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33673 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33674 result
= (wxString
*)& ((arg1
)->m_labelText
);
33677 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33679 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33688 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33689 PyObject
*resultobj
= 0;
33690 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33691 wxFont
*arg2
= (wxFont
*) 0 ;
33696 PyObject
*swig_obj
[2] ;
33698 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33703 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33704 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33705 if (!SWIG_IsOK(res2
)) {
33706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33708 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33709 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33711 resultobj
= SWIG_Py_Void();
33718 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33719 PyObject
*resultobj
= 0;
33720 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33721 wxFont
*result
= 0 ;
33724 PyObject
*swig_obj
[1] ;
33726 if (!args
) SWIG_fail
;
33727 swig_obj
[0] = args
;
33728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33729 if (!SWIG_IsOK(res1
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33732 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33733 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33741 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 PyObject
*resultobj
= 0;
33743 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33744 wxColour
*arg2
= (wxColour
*) 0 ;
33748 PyObject
*swig_obj
[2] ;
33750 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33752 if (!SWIG_IsOK(res1
)) {
33753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33755 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33758 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33760 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33762 resultobj
= SWIG_Py_Void();
33769 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33770 PyObject
*resultobj
= 0;
33771 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33772 wxColour
*result
= 0 ;
33775 PyObject
*swig_obj
[1] ;
33777 if (!args
) SWIG_fail
;
33778 swig_obj
[0] = args
;
33779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33783 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33784 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33792 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33793 PyObject
*resultobj
= 0;
33794 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33795 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33800 PyObject
*swig_obj
[2] ;
33802 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33804 if (!SWIG_IsOK(res1
)) {
33805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33807 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33808 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33809 if (!SWIG_IsOK(res2
)) {
33810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33812 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33813 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33815 resultobj
= SWIG_Py_Void();
33822 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33823 PyObject
*resultobj
= 0;
33824 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33825 wxBitmap
*result
= 0 ;
33828 PyObject
*swig_obj
[1] ;
33830 if (!args
) SWIG_fail
;
33831 swig_obj
[0] = args
;
33832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33833 if (!SWIG_IsOK(res1
)) {
33834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33836 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33837 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33845 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33846 PyObject
*resultobj
= 0;
33847 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33853 PyObject
*swig_obj
[2] ;
33855 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33857 if (!SWIG_IsOK(res1
)) {
33858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33860 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33861 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33862 if (!SWIG_IsOK(ecode2
)) {
33863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33865 arg2
= static_cast< int >(val2
);
33866 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33868 resultobj
= SWIG_Py_Void();
33875 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33876 PyObject
*resultobj
= 0;
33877 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33881 PyObject
*swig_obj
[1] ;
33883 if (!args
) SWIG_fail
;
33884 swig_obj
[0] = args
;
33885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33889 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33890 result
= (int) ((arg1
)->m_labelAlignment
);
33891 resultobj
= SWIG_From_int(static_cast< int >(result
));
33898 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33901 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33902 return SWIG_Py_Void();
33905 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33906 return SWIG_Python_InitShadowInstance(args
);
33909 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33913 wxRendererVersion
*result
= 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "version_",(char *) "age_", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33926 if (!SWIG_IsOK(ecode1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33929 arg1
= static_cast< int >(val1
);
33930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33931 if (!SWIG_IsOK(ecode2
)) {
33932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33934 arg2
= static_cast< int >(val2
);
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33948 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33949 PyObject
*resultobj
= 0;
33950 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33953 PyObject
*swig_obj
[1] ;
33955 if (!args
) SWIG_fail
;
33956 swig_obj
[0] = args
;
33957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33958 if (!SWIG_IsOK(res1
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33961 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 resultobj
= SWIG_Py_Void();
33976 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
= 0;
33978 wxRendererVersion
*arg1
= 0 ;
33982 PyObject
* obj0
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "ver", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33995 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34011 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34012 PyObject
*resultobj
= 0;
34013 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34017 PyObject
*swig_obj
[1] ;
34019 if (!args
) SWIG_fail
;
34020 swig_obj
[0] = args
;
34021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34022 if (!SWIG_IsOK(res1
)) {
34023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34025 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34026 result
= (int)(int) ((arg1
)->version
);
34027 resultobj
= SWIG_From_int(static_cast< int >(result
));
34034 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34035 PyObject
*resultobj
= 0;
34036 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34040 PyObject
*swig_obj
[1] ;
34042 if (!args
) SWIG_fail
;
34043 swig_obj
[0] = args
;
34044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34048 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34049 result
= (int)(int) ((arg1
)->age
);
34050 resultobj
= SWIG_From_int(static_cast< int >(result
));
34057 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34060 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34061 return SWIG_Py_Void();
34064 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34065 return SWIG_Python_InitShadowInstance(args
);
34068 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34069 PyObject
*resultobj
= 0;
34070 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34071 wxWindow
*arg2
= (wxWindow
*) 0 ;
34074 int arg5
= (int) 0 ;
34075 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34076 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 PyObject
* obj2
= 0 ;
34093 PyObject
* obj3
= 0 ;
34094 PyObject
* obj4
= 0 ;
34095 PyObject
* obj5
= 0 ;
34096 PyObject
* obj6
= 0 ;
34097 char * kwnames
[] = {
34098 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34103 if (!SWIG_IsOK(res1
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34106 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34108 if (!SWIG_IsOK(res2
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34111 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34112 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34113 if (!SWIG_IsOK(res3
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34119 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34122 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34126 if (!SWIG_IsOK(ecode5
)) {
34127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34129 arg5
= static_cast< int >(val5
);
34132 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34133 if (!SWIG_IsOK(ecode6
)) {
34134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34136 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34139 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34140 if (!SWIG_IsOK(res7
)) {
34141 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34143 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_Py_Void();
34158 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34161 wxWindow
*arg2
= (wxWindow
*) 0 ;
34164 int arg5
= (int) 0 ;
34165 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34166 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 PyObject
* obj2
= 0 ;
34183 PyObject
* obj3
= 0 ;
34184 PyObject
* obj4
= 0 ;
34185 PyObject
* obj5
= 0 ;
34186 PyObject
* obj6
= 0 ;
34187 char * kwnames
[] = {
34188 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34196 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34198 if (!SWIG_IsOK(res2
)) {
34199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34201 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34202 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34203 if (!SWIG_IsOK(res3
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34209 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34212 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34216 if (!SWIG_IsOK(ecode5
)) {
34217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34219 arg5
= static_cast< int >(val5
);
34222 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34223 if (!SWIG_IsOK(ecode6
)) {
34224 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34226 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34229 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34230 if (!SWIG_IsOK(res7
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34233 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34237 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34241 resultobj
= SWIG_Py_Void();
34248 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
= 0;
34250 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34251 wxWindow
*arg2
= (wxWindow
*) 0 ;
34257 PyObject
* obj0
= 0 ;
34258 PyObject
* obj1
= 0 ;
34259 char * kwnames
[] = {
34260 (char *) "self",(char *) "win", NULL
34263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34268 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34270 if (!SWIG_IsOK(res2
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34276 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= SWIG_From_int(static_cast< int >(result
));
34287 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
= 0;
34289 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34290 wxWindow
*arg2
= (wxWindow
*) 0 ;
34293 int arg5
= (int) 0 ;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 PyObject
* obj3
= 0 ;
34307 PyObject
* obj4
= 0 ;
34308 char * kwnames
[] = {
34309 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34319 if (!SWIG_IsOK(res2
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34323 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34324 if (!SWIG_IsOK(res3
)) {
34325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34330 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34333 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34337 if (!SWIG_IsOK(ecode5
)) {
34338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34340 arg5
= static_cast< int >(val5
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_Py_Void();
34355 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34356 PyObject
*resultobj
= 0;
34357 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34358 wxWindow
*arg2
= (wxWindow
*) 0 ;
34361 int arg5
= (int) 0 ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 PyObject
* obj2
= 0 ;
34374 PyObject
* obj3
= 0 ;
34375 PyObject
* obj4
= 0 ;
34376 char * kwnames
[] = {
34377 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34385 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34387 if (!SWIG_IsOK(res2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34391 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34392 if (!SWIG_IsOK(res3
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34398 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34401 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34405 if (!SWIG_IsOK(ecode5
)) {
34406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34408 arg5
= static_cast< int >(val5
);
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_Py_Void();
34423 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34426 wxWindow
*arg2
= (wxWindow
*) 0 ;
34430 wxOrientation arg6
;
34431 int arg7
= (int) 0 ;
34445 PyObject
* obj0
= 0 ;
34446 PyObject
* obj1
= 0 ;
34447 PyObject
* obj2
= 0 ;
34448 PyObject
* obj3
= 0 ;
34449 PyObject
* obj4
= 0 ;
34450 PyObject
* obj5
= 0 ;
34451 PyObject
* obj6
= 0 ;
34452 char * kwnames
[] = {
34453 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34458 if (!SWIG_IsOK(res1
)) {
34459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34461 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34463 if (!SWIG_IsOK(res2
)) {
34464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34467 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34468 if (!SWIG_IsOK(res3
)) {
34469 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34474 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34479 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34480 if (!SWIG_IsOK(ecode5
)) {
34481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34483 arg5
= static_cast< int >(val5
);
34484 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34485 if (!SWIG_IsOK(ecode6
)) {
34486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34488 arg6
= static_cast< wxOrientation
>(val6
);
34490 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34491 if (!SWIG_IsOK(ecode7
)) {
34492 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34494 arg7
= static_cast< int >(val7
);
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= SWIG_Py_Void();
34509 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
= 0;
34511 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34512 wxWindow
*arg2
= (wxWindow
*) 0 ;
34515 int arg5
= (int) 0 ;
34525 PyObject
* obj0
= 0 ;
34526 PyObject
* obj1
= 0 ;
34527 PyObject
* obj2
= 0 ;
34528 PyObject
* obj3
= 0 ;
34529 PyObject
* obj4
= 0 ;
34530 char * kwnames
[] = {
34531 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34539 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34541 if (!SWIG_IsOK(res2
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34545 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34546 if (!SWIG_IsOK(res3
)) {
34547 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34552 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34555 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34558 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34559 if (!SWIG_IsOK(ecode5
)) {
34560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34562 arg5
= static_cast< int >(val5
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= SWIG_Py_Void();
34577 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
= 0;
34579 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34580 wxWindow
*arg2
= (wxWindow
*) 0 ;
34583 int arg5
= (int) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 PyObject
* obj3
= 0 ;
34597 PyObject
* obj4
= 0 ;
34598 char * kwnames
[] = {
34599 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34604 if (!SWIG_IsOK(res1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34607 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34609 if (!SWIG_IsOK(res2
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34612 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34613 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34614 if (!SWIG_IsOK(res3
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34620 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34623 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34627 if (!SWIG_IsOK(ecode5
)) {
34628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34630 arg5
= static_cast< int >(val5
);
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 resultobj
= SWIG_Py_Void();
34645 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34648 wxWindow
*arg2
= (wxWindow
*) 0 ;
34651 int arg5
= (int) 0 ;
34661 PyObject
* obj0
= 0 ;
34662 PyObject
* obj1
= 0 ;
34663 PyObject
* obj2
= 0 ;
34664 PyObject
* obj3
= 0 ;
34665 PyObject
* obj4
= 0 ;
34666 char * kwnames
[] = {
34667 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34672 if (!SWIG_IsOK(res1
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34675 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34677 if (!SWIG_IsOK(res2
)) {
34678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34681 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34682 if (!SWIG_IsOK(res3
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34688 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34691 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34695 if (!SWIG_IsOK(ecode5
)) {
34696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34698 arg5
= static_cast< int >(val5
);
34701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34702 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_Py_Void();
34713 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
= 0;
34715 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34716 wxWindow
*arg2
= (wxWindow
*) 0 ;
34719 int arg5
= (int) 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 PyObject
* obj2
= 0 ;
34732 PyObject
* obj3
= 0 ;
34733 PyObject
* obj4
= 0 ;
34734 char * kwnames
[] = {
34735 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34740 if (!SWIG_IsOK(res1
)) {
34741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34743 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34745 if (!SWIG_IsOK(res2
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34748 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34750 if (!SWIG_IsOK(res3
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34756 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34759 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34763 if (!SWIG_IsOK(ecode5
)) {
34764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34766 arg5
= static_cast< int >(val5
);
34769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34770 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34771 wxPyEndAllowThreads(__tstate
);
34772 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= SWIG_Py_Void();
34781 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34782 PyObject
*resultobj
= 0;
34783 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34784 wxWindow
*arg2
= (wxWindow
*) 0 ;
34787 int arg5
= (int) 0 ;
34797 PyObject
* obj0
= 0 ;
34798 PyObject
* obj1
= 0 ;
34799 PyObject
* obj2
= 0 ;
34800 PyObject
* obj3
= 0 ;
34801 PyObject
* obj4
= 0 ;
34802 char * kwnames
[] = {
34803 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34808 if (!SWIG_IsOK(res1
)) {
34809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34811 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34813 if (!SWIG_IsOK(res2
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34817 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34818 if (!SWIG_IsOK(res3
)) {
34819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34824 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34827 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34830 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34831 if (!SWIG_IsOK(ecode5
)) {
34832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34834 arg5
= static_cast< int >(val5
);
34837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34838 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34839 wxPyEndAllowThreads(__tstate
);
34840 if (PyErr_Occurred()) SWIG_fail
;
34842 resultobj
= SWIG_Py_Void();
34849 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
= 0;
34851 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34852 wxWindow
*arg2
= (wxWindow
*) 0 ;
34853 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34858 PyObject
* obj0
= 0 ;
34859 PyObject
* obj1
= 0 ;
34860 char * kwnames
[] = {
34861 (char *) "self",(char *) "win", NULL
34864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34866 if (!SWIG_IsOK(res1
)) {
34867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34869 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34871 if (!SWIG_IsOK(res2
)) {
34872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34888 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34889 PyObject
*resultobj
= 0;
34890 wxRendererNative
*result
= 0 ;
34892 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34894 if (!wxPyCheckForApp()) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34897 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34898 result
= (wxRendererNative
*) &_result_ref
;
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34910 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34911 PyObject
*resultobj
= 0;
34912 wxRendererNative
*result
= 0 ;
34914 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34916 if (!wxPyCheckForApp()) SWIG_fail
;
34917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34919 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34920 result
= (wxRendererNative
*) &_result_ref
;
34922 wxPyEndAllowThreads(__tstate
);
34923 if (PyErr_Occurred()) SWIG_fail
;
34925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34932 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34933 PyObject
*resultobj
= 0;
34934 wxRendererNative
*result
= 0 ;
34936 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34938 if (!wxPyCheckForApp()) SWIG_fail
;
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34942 result
= (wxRendererNative
*) &_result_ref
;
34944 wxPyEndAllowThreads(__tstate
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34954 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34955 PyObject
*resultobj
= 0;
34956 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34957 wxRendererNative
*result
= 0 ;
34960 PyObject
* obj0
= 0 ;
34961 char * kwnames
[] = {
34962 (char *) "renderer", NULL
34965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34967 if (!SWIG_IsOK(res1
)) {
34968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34970 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34972 if (!wxPyCheckForApp()) SWIG_fail
;
34973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34974 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34985 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34986 PyObject
*resultobj
= 0;
34987 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34988 SwigValueWrapper
<wxRendererVersion
> result
;
34991 PyObject
*swig_obj
[1] ;
34993 if (!args
) SWIG_fail
;
34994 swig_obj
[0] = args
;
34995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34996 if (!SWIG_IsOK(res1
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34999 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35002 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35003 wxPyEndAllowThreads(__tstate
);
35004 if (PyErr_Occurred()) SWIG_fail
;
35006 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35013 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35016 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35017 return SWIG_Py_Void();
35020 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35021 PyObject
*resultobj
= 0;
35022 wxPseudoDC
*result
= 0 ;
35024 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 result
= (wxPseudoDC
*)new wxPseudoDC();
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35038 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35039 PyObject
*resultobj
= 0;
35040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35043 PyObject
*swig_obj
[1] ;
35045 if (!args
) SWIG_fail
;
35046 swig_obj
[0] = args
;
35047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35048 if (!SWIG_IsOK(res1
)) {
35049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 (arg1
)->BeginDrawing();
35055 wxPyEndAllowThreads(__tstate
);
35056 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= SWIG_Py_Void();
35065 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35066 PyObject
*resultobj
= 0;
35067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35070 PyObject
*swig_obj
[1] ;
35072 if (!args
) SWIG_fail
;
35073 swig_obj
[0] = args
;
35074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 (arg1
)->EndDrawing();
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 resultobj
= SWIG_Py_Void();
35092 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35093 PyObject
*resultobj
= 0;
35094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35097 PyObject
*swig_obj
[1] ;
35099 if (!args
) SWIG_fail
;
35100 swig_obj
[0] = args
;
35101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35102 if (!SWIG_IsOK(res1
)) {
35103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35105 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 wxPyEndAllowThreads(__tstate
);
35111 if (PyErr_Occurred()) SWIG_fail
;
35113 resultobj
= SWIG_Py_Void();
35120 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35121 PyObject
*resultobj
= 0;
35122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35125 PyObject
*swig_obj
[1] ;
35127 if (!args
) SWIG_fail
;
35128 swig_obj
[0] = args
;
35129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35130 if (!SWIG_IsOK(res1
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 (arg1
)->RemoveAll();
35137 wxPyEndAllowThreads(__tstate
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35140 resultobj
= SWIG_Py_Void();
35147 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35148 PyObject
*resultobj
= 0;
35149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35153 PyObject
*swig_obj
[1] ;
35155 if (!args
) SWIG_fail
;
35156 swig_obj
[0] = args
;
35157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35158 if (!SWIG_IsOK(res1
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35161 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (int)(arg1
)->GetLen();
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_From_int(static_cast< int >(result
));
35175 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35176 PyObject
*resultobj
= 0;
35177 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35183 PyObject
* obj0
= 0 ;
35184 PyObject
* obj1
= 0 ;
35185 char * kwnames
[] = {
35186 (char *) "self",(char *) "id", NULL
35189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35191 if (!SWIG_IsOK(res1
)) {
35192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35196 if (!SWIG_IsOK(ecode2
)) {
35197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35199 arg2
= static_cast< int >(val2
);
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->SetId(arg2
);
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 resultobj
= SWIG_Py_Void();
35213 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
= 0;
35215 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35221 PyObject
* obj0
= 0 ;
35222 PyObject
* obj1
= 0 ;
35223 char * kwnames
[] = {
35224 (char *) "self",(char *) "id", NULL
35227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35229 if (!SWIG_IsOK(res1
)) {
35230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35234 if (!SWIG_IsOK(ecode2
)) {
35235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35237 arg2
= static_cast< int >(val2
);
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 (arg1
)->ClearId(arg2
);
35241 wxPyEndAllowThreads(__tstate
);
35242 if (PyErr_Occurred()) SWIG_fail
;
35244 resultobj
= SWIG_Py_Void();
35251 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
= 0;
35253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 PyObject
* obj1
= 0 ;
35261 char * kwnames
[] = {
35262 (char *) "self",(char *) "id", NULL
35265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35267 if (!SWIG_IsOK(res1
)) {
35268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35272 if (!SWIG_IsOK(ecode2
)) {
35273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35275 arg2
= static_cast< int >(val2
);
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35278 (arg1
)->RemoveId(arg2
);
35279 wxPyEndAllowThreads(__tstate
);
35280 if (PyErr_Occurred()) SWIG_fail
;
35282 resultobj
= SWIG_Py_Void();
35289 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35290 PyObject
*resultobj
= 0;
35291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35303 PyObject
* obj0
= 0 ;
35304 PyObject
* obj1
= 0 ;
35305 PyObject
* obj2
= 0 ;
35306 PyObject
* obj3
= 0 ;
35307 char * kwnames
[] = {
35308 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35313 if (!SWIG_IsOK(res1
)) {
35314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35316 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35318 if (!SWIG_IsOK(ecode2
)) {
35319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35321 arg2
= static_cast< int >(val2
);
35322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35323 if (!SWIG_IsOK(ecode3
)) {
35324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35326 arg3
= static_cast< int >(val3
);
35327 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35328 if (!SWIG_IsOK(ecode4
)) {
35329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35331 arg4
= static_cast< int >(val4
);
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 resultobj
= SWIG_Py_Void();
35345 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
= 0;
35347 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35349 bool arg3
= (bool) true ;
35356 PyObject
* obj0
= 0 ;
35357 PyObject
* obj1
= 0 ;
35358 PyObject
* obj2
= 0 ;
35359 char * kwnames
[] = {
35360 (char *) "self",(char *) "id",(char *) "greyout", NULL
35363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35365 if (!SWIG_IsOK(res1
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35370 if (!SWIG_IsOK(ecode2
)) {
35371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35373 arg2
= static_cast< int >(val2
);
35375 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35376 if (!SWIG_IsOK(ecode3
)) {
35377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35379 arg3
= static_cast< bool >(val3
);
35382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= SWIG_Py_Void();
35394 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
= 0;
35396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35403 PyObject
* obj0
= 0 ;
35404 PyObject
* obj1
= 0 ;
35405 char * kwnames
[] = {
35406 (char *) "self",(char *) "id", NULL
35409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35411 if (!SWIG_IsOK(res1
)) {
35412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35416 if (!SWIG_IsOK(ecode2
)) {
35417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35419 arg2
= static_cast< int >(val2
);
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35435 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
= 0;
35437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35440 int arg4
= (int) 1 ;
35441 wxColor
const &arg5_defvalue
= *wxWHITE
;
35442 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35443 PyObject
*result
= 0 ;
35454 PyObject
* obj0
= 0 ;
35455 PyObject
* obj1
= 0 ;
35456 PyObject
* obj2
= 0 ;
35457 PyObject
* obj3
= 0 ;
35458 PyObject
* obj4
= 0 ;
35459 char * kwnames
[] = {
35460 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35465 if (!SWIG_IsOK(res1
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35468 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35470 if (!SWIG_IsOK(ecode2
)) {
35471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35473 arg2
= static_cast< int >(val2
);
35474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35475 if (!SWIG_IsOK(ecode3
)) {
35476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35478 arg3
= static_cast< int >(val3
);
35480 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35481 if (!SWIG_IsOK(ecode4
)) {
35482 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35484 arg4
= static_cast< int >(val4
);
35487 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35488 if (!SWIG_IsOK(res5
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35494 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35497 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 resultobj
= result
;
35507 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
= 0;
35509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35512 PyObject
*result
= 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 PyObject
* obj2
= 0 ;
35522 char * kwnames
[] = {
35523 (char *) "self",(char *) "x",(char *) "y", NULL
35526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35528 if (!SWIG_IsOK(res1
)) {
35529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35533 if (!SWIG_IsOK(ecode2
)) {
35534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35536 arg2
= static_cast< int >(val2
);
35537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35538 if (!SWIG_IsOK(ecode3
)) {
35539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35541 arg3
= static_cast< int >(val3
);
35543 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35544 if (PyErr_Occurred()) SWIG_fail
;
35546 resultobj
= result
;
35553 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35554 PyObject
*resultobj
= 0;
35555 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35557 wxDC
*arg3
= (wxDC
*) 0 ;
35564 PyObject
* obj0
= 0 ;
35565 PyObject
* obj1
= 0 ;
35566 PyObject
* obj2
= 0 ;
35567 char * kwnames
[] = {
35568 (char *) "self",(char *) "id",(char *) "dc", NULL
35571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35573 if (!SWIG_IsOK(res1
)) {
35574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35578 if (!SWIG_IsOK(ecode2
)) {
35579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35581 arg2
= static_cast< int >(val2
);
35582 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35583 if (!SWIG_IsOK(res3
)) {
35584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35586 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 (arg1
)->DrawIdToDC(arg2
,arg3
);
35590 wxPyEndAllowThreads(__tstate
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35593 resultobj
= SWIG_Py_Void();
35600 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35601 PyObject
*resultobj
= 0;
35602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35610 PyObject
* obj0
= 0 ;
35611 PyObject
* obj1
= 0 ;
35612 PyObject
* obj2
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "id",(char *) "rect", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35622 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35624 if (!SWIG_IsOK(ecode2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35627 arg2
= static_cast< int >(val2
);
35630 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 (arg1
)->SetIdBounds(arg2
,*arg3
);
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= SWIG_Py_Void();
35645 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35646 PyObject
*resultobj
= 0;
35647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35654 PyObject
* obj0
= 0 ;
35655 PyObject
* obj1
= 0 ;
35656 char * kwnames
[] = {
35657 (char *) "self",(char *) "id", NULL
35660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35662 if (!SWIG_IsOK(res1
)) {
35663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35665 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35667 if (!SWIG_IsOK(ecode2
)) {
35668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35670 arg2
= static_cast< int >(val2
);
35672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35673 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35684 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
= 0;
35686 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35687 wxDC
*arg2
= (wxDC
*) 0 ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 PyObject
* obj2
= 0 ;
35697 char * kwnames
[] = {
35698 (char *) "self",(char *) "dc",(char *) "rect", NULL
35701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35708 if (!SWIG_IsOK(res2
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35711 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35714 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= SWIG_Py_Void();
35729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
= 0;
35731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35732 wxDC
*arg2
= (wxDC
*) 0 ;
35733 wxRegion
*arg3
= 0 ;
35740 PyObject
* obj0
= 0 ;
35741 PyObject
* obj1
= 0 ;
35742 PyObject
* obj2
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "self",(char *) "dc",(char *) "region", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35754 if (!SWIG_IsOK(res2
)) {
35755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35757 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35758 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35759 if (!SWIG_IsOK(res3
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35765 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35772 resultobj
= SWIG_Py_Void();
35779 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35780 PyObject
*resultobj
= 0;
35781 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35782 wxDC
*arg2
= (wxDC
*) 0 ;
35787 PyObject
* obj0
= 0 ;
35788 PyObject
* obj1
= 0 ;
35789 char * kwnames
[] = {
35790 (char *) "self",(char *) "dc", NULL
35793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35795 if (!SWIG_IsOK(res1
)) {
35796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35798 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35800 if (!SWIG_IsOK(res2
)) {
35801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35803 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 (arg1
)->DrawToDC(arg2
);
35807 wxPyEndAllowThreads(__tstate
);
35808 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= SWIG_Py_Void();
35817 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35818 PyObject
*resultobj
= 0;
35819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35822 wxColour
*arg4
= 0 ;
35823 int arg5
= (int) wxFLOOD_SURFACE
;
35833 PyObject
* obj0
= 0 ;
35834 PyObject
* obj1
= 0 ;
35835 PyObject
* obj2
= 0 ;
35836 PyObject
* obj3
= 0 ;
35837 PyObject
* obj4
= 0 ;
35838 char * kwnames
[] = {
35839 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35844 if (!SWIG_IsOK(res1
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35849 if (!SWIG_IsOK(ecode2
)) {
35850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35852 arg2
= static_cast< int >(val2
);
35853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35854 if (!SWIG_IsOK(ecode3
)) {
35855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35857 arg3
= static_cast< int >(val3
);
35860 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35864 if (!SWIG_IsOK(ecode5
)) {
35865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35867 arg5
= static_cast< int >(val5
);
35870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35875 resultobj
= SWIG_Py_Void();
35882 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
= 0;
35884 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35885 wxPoint
*arg2
= 0 ;
35886 wxColour
*arg3
= 0 ;
35887 int arg4
= (int) wxFLOOD_SURFACE
;
35894 PyObject
* obj0
= 0 ;
35895 PyObject
* obj1
= 0 ;
35896 PyObject
* obj2
= 0 ;
35897 PyObject
* obj3
= 0 ;
35898 char * kwnames
[] = {
35899 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35904 if (!SWIG_IsOK(res1
)) {
35905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35910 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35914 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35918 if (!SWIG_IsOK(ecode4
)) {
35919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35921 arg4
= static_cast< int >(val4
);
35924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35925 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 resultobj
= SWIG_Py_Void();
35936 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
= 0;
35938 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35953 PyObject
* obj0
= 0 ;
35954 PyObject
* obj1
= 0 ;
35955 PyObject
* obj2
= 0 ;
35956 PyObject
* obj3
= 0 ;
35957 PyObject
* obj4
= 0 ;
35958 char * kwnames
[] = {
35959 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35964 if (!SWIG_IsOK(res1
)) {
35965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35969 if (!SWIG_IsOK(ecode2
)) {
35970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35972 arg2
= static_cast< int >(val2
);
35973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35974 if (!SWIG_IsOK(ecode3
)) {
35975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35977 arg3
= static_cast< int >(val3
);
35978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35979 if (!SWIG_IsOK(ecode4
)) {
35980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35982 arg4
= static_cast< int >(val4
);
35983 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35984 if (!SWIG_IsOK(ecode5
)) {
35985 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35987 arg5
= static_cast< int >(val5
);
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 resultobj
= SWIG_Py_Void();
36001 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
= 0;
36003 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36004 wxPoint
*arg2
= 0 ;
36005 wxPoint
*arg3
= 0 ;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 PyObject
* obj2
= 0 ;
36013 char * kwnames
[] = {
36014 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36019 if (!SWIG_IsOK(res1
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36033 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36034 wxPyEndAllowThreads(__tstate
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 resultobj
= SWIG_Py_Void();
36044 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
= 0;
36046 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36055 PyObject
* obj0
= 0 ;
36056 PyObject
* obj1
= 0 ;
36057 PyObject
* obj2
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "x",(char *) "y", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36069 if (!SWIG_IsOK(ecode2
)) {
36070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36072 arg2
= static_cast< int >(val2
);
36073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36074 if (!SWIG_IsOK(ecode3
)) {
36075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36077 arg3
= static_cast< int >(val3
);
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 (arg1
)->CrossHair(arg2
,arg3
);
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36084 resultobj
= SWIG_Py_Void();
36091 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36092 PyObject
*resultobj
= 0;
36093 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36094 wxPoint
*arg2
= 0 ;
36098 PyObject
* obj0
= 0 ;
36099 PyObject
* obj1
= 0 ;
36100 char * kwnames
[] = {
36101 (char *) "self",(char *) "pt", NULL
36104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36106 if (!SWIG_IsOK(res1
)) {
36107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36112 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_Py_Void();
36127 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
= 0;
36129 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36150 PyObject
* obj0
= 0 ;
36151 PyObject
* obj1
= 0 ;
36152 PyObject
* obj2
= 0 ;
36153 PyObject
* obj3
= 0 ;
36154 PyObject
* obj4
= 0 ;
36155 PyObject
* obj5
= 0 ;
36156 PyObject
* obj6
= 0 ;
36157 char * kwnames
[] = {
36158 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36163 if (!SWIG_IsOK(res1
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36168 if (!SWIG_IsOK(ecode2
)) {
36169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36171 arg2
= static_cast< int >(val2
);
36172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36173 if (!SWIG_IsOK(ecode3
)) {
36174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36176 arg3
= static_cast< int >(val3
);
36177 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36178 if (!SWIG_IsOK(ecode4
)) {
36179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36181 arg4
= static_cast< int >(val4
);
36182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36183 if (!SWIG_IsOK(ecode5
)) {
36184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36186 arg5
= static_cast< int >(val5
);
36187 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36188 if (!SWIG_IsOK(ecode6
)) {
36189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36191 arg6
= static_cast< int >(val6
);
36192 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36193 if (!SWIG_IsOK(ecode7
)) {
36194 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36196 arg7
= static_cast< int >(val7
);
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36199 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 resultobj
= SWIG_Py_Void();
36210 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
= 0;
36212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36213 wxPoint
*arg2
= 0 ;
36214 wxPoint
*arg3
= 0 ;
36215 wxPoint
*arg4
= 0 ;
36221 PyObject
* obj0
= 0 ;
36222 PyObject
* obj1
= 0 ;
36223 PyObject
* obj2
= 0 ;
36224 PyObject
* obj3
= 0 ;
36225 char * kwnames
[] = {
36226 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36231 if (!SWIG_IsOK(res1
)) {
36232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36237 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36249 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36250 wxPyEndAllowThreads(__tstate
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36253 resultobj
= SWIG_Py_Void();
36260 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36261 PyObject
*resultobj
= 0;
36262 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36277 PyObject
* obj0
= 0 ;
36278 PyObject
* obj1
= 0 ;
36279 PyObject
* obj2
= 0 ;
36280 PyObject
* obj3
= 0 ;
36281 PyObject
* obj4
= 0 ;
36282 char * kwnames
[] = {
36283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36288 if (!SWIG_IsOK(res1
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36291 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36293 if (!SWIG_IsOK(ecode2
)) {
36294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36296 arg2
= static_cast< int >(val2
);
36297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36298 if (!SWIG_IsOK(ecode3
)) {
36299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36301 arg3
= static_cast< int >(val3
);
36302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36303 if (!SWIG_IsOK(ecode4
)) {
36304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36306 arg4
= static_cast< int >(val4
);
36307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36308 if (!SWIG_IsOK(ecode5
)) {
36309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36311 arg5
= static_cast< int >(val5
);
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36315 wxPyEndAllowThreads(__tstate
);
36316 if (PyErr_Occurred()) SWIG_fail
;
36318 resultobj
= SWIG_Py_Void();
36325 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36326 PyObject
*resultobj
= 0;
36327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 char * kwnames
[] = {
36335 (char *) "self",(char *) "rect", NULL
36338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36346 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36351 wxPyEndAllowThreads(__tstate
);
36352 if (PyErr_Occurred()) SWIG_fail
;
36354 resultobj
= SWIG_Py_Void();
36361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
= 0;
36363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36384 PyObject
* obj0
= 0 ;
36385 PyObject
* obj1
= 0 ;
36386 PyObject
* obj2
= 0 ;
36387 PyObject
* obj3
= 0 ;
36388 PyObject
* obj4
= 0 ;
36389 PyObject
* obj5
= 0 ;
36390 PyObject
* obj6
= 0 ;
36391 char * kwnames
[] = {
36392 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36402 if (!SWIG_IsOK(ecode2
)) {
36403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36405 arg2
= static_cast< int >(val2
);
36406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36407 if (!SWIG_IsOK(ecode3
)) {
36408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36410 arg3
= static_cast< int >(val3
);
36411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36412 if (!SWIG_IsOK(ecode4
)) {
36413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36415 arg4
= static_cast< int >(val4
);
36416 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36417 if (!SWIG_IsOK(ecode5
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36420 arg5
= static_cast< int >(val5
);
36421 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36422 if (!SWIG_IsOK(ecode6
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36425 arg6
= static_cast< double >(val6
);
36426 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36427 if (!SWIG_IsOK(ecode7
)) {
36428 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36430 arg7
= static_cast< double >(val7
);
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_Py_Void();
36444 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
= 0;
36446 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36447 wxPoint
*arg2
= 0 ;
36459 PyObject
* obj0
= 0 ;
36460 PyObject
* obj1
= 0 ;
36461 PyObject
* obj2
= 0 ;
36462 PyObject
* obj3
= 0 ;
36463 PyObject
* obj4
= 0 ;
36464 char * kwnames
[] = {
36465 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36470 if (!SWIG_IsOK(res1
)) {
36471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36473 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36480 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36482 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36483 if (!SWIG_IsOK(ecode4
)) {
36484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36486 arg4
= static_cast< double >(val4
);
36487 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36488 if (!SWIG_IsOK(ecode5
)) {
36489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36491 arg5
= static_cast< double >(val5
);
36493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36494 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_Py_Void();
36505 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
= 0;
36507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36516 PyObject
* obj0
= 0 ;
36517 PyObject
* obj1
= 0 ;
36518 PyObject
* obj2
= 0 ;
36519 char * kwnames
[] = {
36520 (char *) "self",(char *) "x",(char *) "y", NULL
36523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36525 if (!SWIG_IsOK(res1
)) {
36526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36528 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36530 if (!SWIG_IsOK(ecode2
)) {
36531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36533 arg2
= static_cast< int >(val2
);
36534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36535 if (!SWIG_IsOK(ecode3
)) {
36536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36538 arg3
= static_cast< int >(val3
);
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 (arg1
)->DrawPoint(arg2
,arg3
);
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 resultobj
= SWIG_Py_Void();
36552 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
= 0;
36554 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36555 wxPoint
*arg2
= 0 ;
36559 PyObject
* obj0
= 0 ;
36560 PyObject
* obj1
= 0 ;
36561 char * kwnames
[] = {
36562 (char *) "self",(char *) "pt", NULL
36565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36567 if (!SWIG_IsOK(res1
)) {
36568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36577 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= SWIG_Py_Void();
36588 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
= 0;
36590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 PyObject
* obj2
= 0 ;
36608 PyObject
* obj3
= 0 ;
36609 PyObject
* obj4
= 0 ;
36610 char * kwnames
[] = {
36611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36616 if (!SWIG_IsOK(res1
)) {
36617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36621 if (!SWIG_IsOK(ecode2
)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36624 arg2
= static_cast< int >(val2
);
36625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36626 if (!SWIG_IsOK(ecode3
)) {
36627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36629 arg3
= static_cast< int >(val3
);
36630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36631 if (!SWIG_IsOK(ecode4
)) {
36632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36634 arg4
= static_cast< int >(val4
);
36635 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36636 if (!SWIG_IsOK(ecode5
)) {
36637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36639 arg5
= static_cast< int >(val5
);
36641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36642 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 resultobj
= SWIG_Py_Void();
36653 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36654 PyObject
*resultobj
= 0;
36655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36660 PyObject
* obj0
= 0 ;
36661 PyObject
* obj1
= 0 ;
36662 char * kwnames
[] = {
36663 (char *) "self",(char *) "rect", NULL
36666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36668 if (!SWIG_IsOK(res1
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36671 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36674 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36679 wxPyEndAllowThreads(__tstate
);
36680 if (PyErr_Occurred()) SWIG_fail
;
36682 resultobj
= SWIG_Py_Void();
36689 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36690 PyObject
*resultobj
= 0;
36691 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36692 wxPoint
*arg2
= 0 ;
36698 PyObject
* obj0
= 0 ;
36699 PyObject
* obj1
= 0 ;
36700 PyObject
* obj2
= 0 ;
36701 char * kwnames
[] = {
36702 (char *) "self",(char *) "pt",(char *) "sz", NULL
36705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36707 if (!SWIG_IsOK(res1
)) {
36708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36713 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36717 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36721 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36722 wxPyEndAllowThreads(__tstate
);
36723 if (PyErr_Occurred()) SWIG_fail
;
36725 resultobj
= SWIG_Py_Void();
36732 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36733 PyObject
*resultobj
= 0;
36734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36752 PyObject
* obj0
= 0 ;
36753 PyObject
* obj1
= 0 ;
36754 PyObject
* obj2
= 0 ;
36755 PyObject
* obj3
= 0 ;
36756 PyObject
* obj4
= 0 ;
36757 PyObject
* obj5
= 0 ;
36758 char * kwnames
[] = {
36759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36764 if (!SWIG_IsOK(res1
)) {
36765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36769 if (!SWIG_IsOK(ecode2
)) {
36770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36772 arg2
= static_cast< int >(val2
);
36773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36774 if (!SWIG_IsOK(ecode3
)) {
36775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36777 arg3
= static_cast< int >(val3
);
36778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36779 if (!SWIG_IsOK(ecode4
)) {
36780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36782 arg4
= static_cast< int >(val4
);
36783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36784 if (!SWIG_IsOK(ecode5
)) {
36785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36787 arg5
= static_cast< int >(val5
);
36788 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36789 if (!SWIG_IsOK(ecode6
)) {
36790 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36792 arg6
= static_cast< double >(val6
);
36794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36795 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 resultobj
= SWIG_Py_Void();
36806 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
= 0;
36808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36816 PyObject
* obj0
= 0 ;
36817 PyObject
* obj1
= 0 ;
36818 PyObject
* obj2
= 0 ;
36819 char * kwnames
[] = {
36820 (char *) "self",(char *) "r",(char *) "radius", NULL
36823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36831 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36833 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36834 if (!SWIG_IsOK(ecode3
)) {
36835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36837 arg3
= static_cast< double >(val3
);
36839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36840 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= SWIG_Py_Void();
36851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
= 0;
36853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36854 wxPoint
*arg2
= 0 ;
36863 PyObject
* obj0
= 0 ;
36864 PyObject
* obj1
= 0 ;
36865 PyObject
* obj2
= 0 ;
36866 PyObject
* obj3
= 0 ;
36867 char * kwnames
[] = {
36868 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36879 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36883 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36885 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36886 if (!SWIG_IsOK(ecode4
)) {
36887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36889 arg4
= static_cast< double >(val4
);
36891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36892 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36893 wxPyEndAllowThreads(__tstate
);
36894 if (PyErr_Occurred()) SWIG_fail
;
36896 resultobj
= SWIG_Py_Void();
36903 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36904 PyObject
*resultobj
= 0;
36905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36919 PyObject
* obj2
= 0 ;
36920 PyObject
* obj3
= 0 ;
36921 char * kwnames
[] = {
36922 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36927 if (!SWIG_IsOK(res1
)) {
36928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36932 if (!SWIG_IsOK(ecode2
)) {
36933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36935 arg2
= static_cast< int >(val2
);
36936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36937 if (!SWIG_IsOK(ecode3
)) {
36938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36940 arg3
= static_cast< int >(val3
);
36941 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36942 if (!SWIG_IsOK(ecode4
)) {
36943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36945 arg4
= static_cast< int >(val4
);
36947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36948 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36949 wxPyEndAllowThreads(__tstate
);
36950 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= SWIG_Py_Void();
36959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
= 0;
36961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36962 wxPoint
*arg2
= 0 ;
36969 PyObject
* obj0
= 0 ;
36970 PyObject
* obj1
= 0 ;
36971 PyObject
* obj2
= 0 ;
36972 char * kwnames
[] = {
36973 (char *) "self",(char *) "pt",(char *) "radius", NULL
36976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36978 if (!SWIG_IsOK(res1
)) {
36979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36987 if (!SWIG_IsOK(ecode3
)) {
36988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36990 arg3
= static_cast< int >(val3
);
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36997 resultobj
= SWIG_Py_Void();
37004 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37005 PyObject
*resultobj
= 0;
37006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37021 PyObject
* obj0
= 0 ;
37022 PyObject
* obj1
= 0 ;
37023 PyObject
* obj2
= 0 ;
37024 PyObject
* obj3
= 0 ;
37025 PyObject
* obj4
= 0 ;
37026 char * kwnames
[] = {
37027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37037 if (!SWIG_IsOK(ecode2
)) {
37038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37040 arg2
= static_cast< int >(val2
);
37041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37042 if (!SWIG_IsOK(ecode3
)) {
37043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37045 arg3
= static_cast< int >(val3
);
37046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37047 if (!SWIG_IsOK(ecode4
)) {
37048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37050 arg4
= static_cast< int >(val4
);
37051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37052 if (!SWIG_IsOK(ecode5
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37055 arg5
= static_cast< int >(val5
);
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 resultobj
= SWIG_Py_Void();
37069 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
= 0;
37071 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37076 PyObject
* obj0
= 0 ;
37077 PyObject
* obj1
= 0 ;
37078 char * kwnames
[] = {
37079 (char *) "self",(char *) "rect", NULL
37082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37084 if (!SWIG_IsOK(res1
)) {
37085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= SWIG_Py_Void();
37105 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37106 PyObject
*resultobj
= 0;
37107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37108 wxPoint
*arg2
= 0 ;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 PyObject
* obj2
= 0 ;
37117 char * kwnames
[] = {
37118 (char *) "self",(char *) "pt",(char *) "sz", NULL
37121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37123 if (!SWIG_IsOK(res1
)) {
37124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37133 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= SWIG_Py_Void();
37148 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
= 0;
37150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37162 PyObject
* obj0
= 0 ;
37163 PyObject
* obj1
= 0 ;
37164 PyObject
* obj2
= 0 ;
37165 PyObject
* obj3
= 0 ;
37166 char * kwnames
[] = {
37167 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37172 if (!SWIG_IsOK(res1
)) {
37173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37177 if (!SWIG_IsOK(res2
)) {
37178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37183 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37185 if (!SWIG_IsOK(ecode3
)) {
37186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37188 arg3
= static_cast< int >(val3
);
37189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37190 if (!SWIG_IsOK(ecode4
)) {
37191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37193 arg4
= static_cast< int >(val4
);
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37200 resultobj
= SWIG_Py_Void();
37207 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37208 PyObject
*resultobj
= 0;
37209 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37211 wxPoint
*arg3
= 0 ;
37217 PyObject
* obj0
= 0 ;
37218 PyObject
* obj1
= 0 ;
37219 PyObject
* obj2
= 0 ;
37220 char * kwnames
[] = {
37221 (char *) "self",(char *) "icon",(char *) "pt", NULL
37224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37226 if (!SWIG_IsOK(res1
)) {
37227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37231 if (!SWIG_IsOK(res2
)) {
37232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37237 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37244 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37248 resultobj
= SWIG_Py_Void();
37255 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37256 PyObject
*resultobj
= 0;
37257 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37258 wxBitmap
*arg2
= 0 ;
37261 bool arg5
= (bool) false ;
37272 PyObject
* obj0
= 0 ;
37273 PyObject
* obj1
= 0 ;
37274 PyObject
* obj2
= 0 ;
37275 PyObject
* obj3
= 0 ;
37276 PyObject
* obj4
= 0 ;
37277 char * kwnames
[] = {
37278 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37286 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37288 if (!SWIG_IsOK(res2
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37294 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37296 if (!SWIG_IsOK(ecode3
)) {
37297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37299 arg3
= static_cast< int >(val3
);
37300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37301 if (!SWIG_IsOK(ecode4
)) {
37302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37304 arg4
= static_cast< int >(val4
);
37306 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37307 if (!SWIG_IsOK(ecode5
)) {
37308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37310 arg5
= static_cast< bool >(val5
);
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37315 wxPyEndAllowThreads(__tstate
);
37316 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= SWIG_Py_Void();
37325 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
= 0;
37327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37328 wxBitmap
*arg2
= 0 ;
37329 wxPoint
*arg3
= 0 ;
37330 bool arg4
= (bool) false ;
37338 PyObject
* obj0
= 0 ;
37339 PyObject
* obj1
= 0 ;
37340 PyObject
* obj2
= 0 ;
37341 PyObject
* obj3
= 0 ;
37342 char * kwnames
[] = {
37343 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37348 if (!SWIG_IsOK(res1
)) {
37349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37353 if (!SWIG_IsOK(res2
)) {
37354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37359 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37365 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37366 if (!SWIG_IsOK(ecode4
)) {
37367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37369 arg4
= static_cast< bool >(val4
);
37372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37373 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37374 wxPyEndAllowThreads(__tstate
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37377 resultobj
= SWIG_Py_Void();
37384 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37385 PyObject
*resultobj
= 0;
37386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37387 wxString
*arg2
= 0 ;
37392 bool temp2
= false ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 PyObject
* obj2
= 0 ;
37400 PyObject
* obj3
= 0 ;
37401 char * kwnames
[] = {
37402 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37407 if (!SWIG_IsOK(res1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37412 arg2
= wxString_in_helper(obj1
);
37413 if (arg2
== NULL
) SWIG_fail
;
37416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37417 if (!SWIG_IsOK(ecode3
)) {
37418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37420 arg3
= static_cast< int >(val3
);
37421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37422 if (!SWIG_IsOK(ecode4
)) {
37423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37425 arg4
= static_cast< int >(val4
);
37427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37428 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37429 wxPyEndAllowThreads(__tstate
);
37430 if (PyErr_Occurred()) SWIG_fail
;
37432 resultobj
= SWIG_Py_Void();
37447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37448 PyObject
*resultobj
= 0;
37449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37450 wxString
*arg2
= 0 ;
37451 wxPoint
*arg3
= 0 ;
37454 bool temp2
= false ;
37456 PyObject
* obj0
= 0 ;
37457 PyObject
* obj1
= 0 ;
37458 PyObject
* obj2
= 0 ;
37459 char * kwnames
[] = {
37460 (char *) "self",(char *) "text",(char *) "pt", NULL
37463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37465 if (!SWIG_IsOK(res1
)) {
37466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37468 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37470 arg2
= wxString_in_helper(obj1
);
37471 if (arg2
== NULL
) SWIG_fail
;
37476 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37480 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37481 wxPyEndAllowThreads(__tstate
);
37482 if (PyErr_Occurred()) SWIG_fail
;
37484 resultobj
= SWIG_Py_Void();
37499 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37500 PyObject
*resultobj
= 0;
37501 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37502 wxString
*arg2
= 0 ;
37508 bool temp2
= false ;
37515 PyObject
* obj0
= 0 ;
37516 PyObject
* obj1
= 0 ;
37517 PyObject
* obj2
= 0 ;
37518 PyObject
* obj3
= 0 ;
37519 PyObject
* obj4
= 0 ;
37520 char * kwnames
[] = {
37521 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37526 if (!SWIG_IsOK(res1
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37531 arg2
= wxString_in_helper(obj1
);
37532 if (arg2
== NULL
) SWIG_fail
;
37535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37536 if (!SWIG_IsOK(ecode3
)) {
37537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37539 arg3
= static_cast< int >(val3
);
37540 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37541 if (!SWIG_IsOK(ecode4
)) {
37542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37544 arg4
= static_cast< int >(val4
);
37545 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37546 if (!SWIG_IsOK(ecode5
)) {
37547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37549 arg5
= static_cast< double >(val5
);
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= SWIG_Py_Void();
37571 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37572 PyObject
*resultobj
= 0;
37573 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37574 wxString
*arg2
= 0 ;
37575 wxPoint
*arg3
= 0 ;
37579 bool temp2
= false ;
37583 PyObject
* obj0
= 0 ;
37584 PyObject
* obj1
= 0 ;
37585 PyObject
* obj2
= 0 ;
37586 PyObject
* obj3
= 0 ;
37587 char * kwnames
[] = {
37588 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37593 if (!SWIG_IsOK(res1
)) {
37594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37598 arg2
= wxString_in_helper(obj1
);
37599 if (arg2
== NULL
) SWIG_fail
;
37604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37607 if (!SWIG_IsOK(ecode4
)) {
37608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37610 arg4
= static_cast< double >(val4
);
37612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37613 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37614 wxPyEndAllowThreads(__tstate
);
37615 if (PyErr_Occurred()) SWIG_fail
;
37617 resultobj
= SWIG_Py_Void();
37632 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37633 PyObject
*resultobj
= 0;
37634 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37636 wxPoint
*arg3
= (wxPoint
*) 0 ;
37637 int arg4
= (int) 0 ;
37638 int arg5
= (int) 0 ;
37645 PyObject
* obj0
= 0 ;
37646 PyObject
* obj1
= 0 ;
37647 PyObject
* obj2
= 0 ;
37648 PyObject
* obj3
= 0 ;
37649 char * kwnames
[] = {
37650 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37655 if (!SWIG_IsOK(res1
)) {
37656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37660 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37661 if (arg3
== NULL
) SWIG_fail
;
37664 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37665 if (!SWIG_IsOK(ecode4
)) {
37666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37668 arg4
= static_cast< int >(val4
);
37671 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37672 if (!SWIG_IsOK(ecode5
)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37675 arg5
= static_cast< int >(val5
);
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37685 if (arg3
) delete [] arg3
;
37690 if (arg3
) delete [] arg3
;
37696 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37697 PyObject
*resultobj
= 0;
37698 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37700 wxPoint
*arg3
= (wxPoint
*) 0 ;
37701 int arg4
= (int) 0 ;
37702 int arg5
= (int) 0 ;
37703 int arg6
= (int) wxODDEVEN_RULE
;
37712 PyObject
* obj0
= 0 ;
37713 PyObject
* obj1
= 0 ;
37714 PyObject
* obj2
= 0 ;
37715 PyObject
* obj3
= 0 ;
37716 PyObject
* obj4
= 0 ;
37717 char * kwnames
[] = {
37718 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37723 if (!SWIG_IsOK(res1
)) {
37724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37728 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37729 if (arg3
== NULL
) SWIG_fail
;
37732 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37733 if (!SWIG_IsOK(ecode4
)) {
37734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37736 arg4
= static_cast< int >(val4
);
37739 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37740 if (!SWIG_IsOK(ecode5
)) {
37741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37743 arg5
= static_cast< int >(val5
);
37746 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37747 if (!SWIG_IsOK(ecode6
)) {
37748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37750 arg6
= static_cast< int >(val6
);
37753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37754 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37755 wxPyEndAllowThreads(__tstate
);
37756 if (PyErr_Occurred()) SWIG_fail
;
37758 resultobj
= SWIG_Py_Void();
37760 if (arg3
) delete [] arg3
;
37765 if (arg3
) delete [] arg3
;
37771 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37772 PyObject
*resultobj
= 0;
37773 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37774 wxString
*arg2
= 0 ;
37776 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37777 int arg5
= (int) -1 ;
37780 bool temp2
= false ;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 PyObject
* obj2
= 0 ;
37789 PyObject
* obj3
= 0 ;
37790 PyObject
* obj4
= 0 ;
37791 char * kwnames
[] = {
37792 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37797 if (!SWIG_IsOK(res1
)) {
37798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37802 arg2
= wxString_in_helper(obj1
);
37803 if (arg2
== NULL
) SWIG_fail
;
37808 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37812 if (!SWIG_IsOK(ecode4
)) {
37813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37815 arg4
= static_cast< int >(val4
);
37818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37819 if (!SWIG_IsOK(ecode5
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37822 arg5
= static_cast< int >(val5
);
37825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37826 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37830 resultobj
= SWIG_Py_Void();
37845 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
= 0;
37847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37848 wxString
*arg2
= 0 ;
37849 wxBitmap
*arg3
= 0 ;
37851 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37852 int arg6
= (int) -1 ;
37855 bool temp2
= false ;
37863 PyObject
* obj0
= 0 ;
37864 PyObject
* obj1
= 0 ;
37865 PyObject
* obj2
= 0 ;
37866 PyObject
* obj3
= 0 ;
37867 PyObject
* obj4
= 0 ;
37868 PyObject
* obj5
= 0 ;
37869 char * kwnames
[] = {
37870 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37875 if (!SWIG_IsOK(res1
)) {
37876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37878 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37880 arg2
= wxString_in_helper(obj1
);
37881 if (arg2
== NULL
) SWIG_fail
;
37884 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37885 if (!SWIG_IsOK(res3
)) {
37886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37891 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37894 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37898 if (!SWIG_IsOK(ecode5
)) {
37899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37901 arg5
= static_cast< int >(val5
);
37904 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37905 if (!SWIG_IsOK(ecode6
)) {
37906 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37908 arg6
= static_cast< int >(val6
);
37911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37912 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37913 wxPyEndAllowThreads(__tstate
);
37914 if (PyErr_Occurred()) SWIG_fail
;
37916 resultobj
= SWIG_Py_Void();
37931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37932 PyObject
*resultobj
= 0;
37933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37935 wxPoint
*arg3
= (wxPoint
*) 0 ;
37938 PyObject
* obj0
= 0 ;
37939 PyObject
* obj1
= 0 ;
37940 char * kwnames
[] = {
37941 (char *) "self",(char *) "points", NULL
37944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) 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_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37951 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37952 if (arg3
== NULL
) SWIG_fail
;
37955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37956 (arg1
)->DrawSpline(arg2
,arg3
);
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_Py_Void();
37962 if (arg3
) delete [] arg3
;
37967 if (arg3
) delete [] arg3
;
37973 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37974 PyObject
*resultobj
= 0;
37975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37978 PyObject
*swig_obj
[1] ;
37980 if (!args
) SWIG_fail
;
37981 swig_obj
[0] = args
;
37982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37993 resultobj
= SWIG_Py_Void();
38000 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
= 0;
38002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char * kwnames
[] = {
38011 (char *) "self",(char *) "font", NULL
38014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38021 if (!SWIG_IsOK(res2
)) {
38022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38027 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 (arg1
)->SetFont((wxFont
const &)*arg2
);
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38034 resultobj
= SWIG_Py_Void();
38041 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38042 PyObject
*resultobj
= 0;
38043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38049 PyObject
* obj0
= 0 ;
38050 PyObject
* obj1
= 0 ;
38051 char * kwnames
[] = {
38052 (char *) "self",(char *) "pen", NULL
38055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38057 if (!SWIG_IsOK(res1
)) {
38058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38060 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38062 if (!SWIG_IsOK(res2
)) {
38063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38068 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->SetPen((wxPen
const &)*arg2
);
38072 wxPyEndAllowThreads(__tstate
);
38073 if (PyErr_Occurred()) SWIG_fail
;
38075 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38085 wxBrush
*arg2
= 0 ;
38090 PyObject
* obj0
= 0 ;
38091 PyObject
* obj1
= 0 ;
38092 char * kwnames
[] = {
38093 (char *) "self",(char *) "brush", NULL
38096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38098 if (!SWIG_IsOK(res1
)) {
38099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38101 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38102 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38103 if (!SWIG_IsOK(res2
)) {
38104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38109 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38113 wxPyEndAllowThreads(__tstate
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38116 resultobj
= SWIG_Py_Void();
38123 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
= 0;
38125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38126 wxBrush
*arg2
= 0 ;
38131 PyObject
* obj0
= 0 ;
38132 PyObject
* obj1
= 0 ;
38133 char * kwnames
[] = {
38134 (char *) "self",(char *) "brush", NULL
38137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38139 if (!SWIG_IsOK(res1
)) {
38140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38144 if (!SWIG_IsOK(res2
)) {
38145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38150 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_Py_Void();
38164 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
= 0;
38166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38172 PyObject
* obj0
= 0 ;
38173 PyObject
* obj1
= 0 ;
38174 char * kwnames
[] = {
38175 (char *) "self",(char *) "mode", NULL
38178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38180 if (!SWIG_IsOK(res1
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38183 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38185 if (!SWIG_IsOK(ecode2
)) {
38186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38188 arg2
= static_cast< int >(val2
);
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 (arg1
)->SetBackgroundMode(arg2
);
38192 wxPyEndAllowThreads(__tstate
);
38193 if (PyErr_Occurred()) SWIG_fail
;
38195 resultobj
= SWIG_Py_Void();
38202 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38203 PyObject
*resultobj
= 0;
38204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38205 wxPalette
*arg2
= 0 ;
38210 PyObject
* obj0
= 0 ;
38211 PyObject
* obj1
= 0 ;
38212 char * kwnames
[] = {
38213 (char *) "self",(char *) "palette", NULL
38216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38218 if (!SWIG_IsOK(res1
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38223 if (!SWIG_IsOK(res2
)) {
38224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38229 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38232 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 resultobj
= SWIG_Py_Void();
38243 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38244 PyObject
*resultobj
= 0;
38245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38246 wxColour
*arg2
= 0 ;
38250 PyObject
* obj0
= 0 ;
38251 PyObject
* obj1
= 0 ;
38252 char * kwnames
[] = {
38253 (char *) "self",(char *) "colour", NULL
38256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38258 if (!SWIG_IsOK(res1
)) {
38259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38261 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38269 wxPyEndAllowThreads(__tstate
);
38270 if (PyErr_Occurred()) SWIG_fail
;
38272 resultobj
= SWIG_Py_Void();
38279 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38280 PyObject
*resultobj
= 0;
38281 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38282 wxColour
*arg2
= 0 ;
38286 PyObject
* obj0
= 0 ;
38287 PyObject
* obj1
= 0 ;
38288 char * kwnames
[] = {
38289 (char *) "self",(char *) "colour", NULL
38292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38294 if (!SWIG_IsOK(res1
)) {
38295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38300 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38305 wxPyEndAllowThreads(__tstate
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38308 resultobj
= SWIG_Py_Void();
38315 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38316 PyObject
*resultobj
= 0;
38317 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38323 PyObject
* obj0
= 0 ;
38324 PyObject
* obj1
= 0 ;
38325 char * kwnames
[] = {
38326 (char *) "self",(char *) "function", NULL
38329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38331 if (!SWIG_IsOK(res1
)) {
38332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38336 if (!SWIG_IsOK(ecode2
)) {
38337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38339 arg2
= static_cast< int >(val2
);
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 (arg1
)->SetLogicalFunction(arg2
);
38343 wxPyEndAllowThreads(__tstate
);
38344 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= SWIG_Py_Void();
38353 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38356 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38357 return SWIG_Py_Void();
38360 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38361 return SWIG_Python_InitShadowInstance(args
);
38364 static PyMethodDef SwigMethods
[] = {
38365 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38366 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38367 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38368 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38369 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38370 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38374 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38375 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38376 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38377 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38378 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38379 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38383 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38384 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38386 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38388 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38389 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38390 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38391 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38392 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38395 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38396 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38397 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38398 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38400 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38401 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38402 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38403 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38404 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38405 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38406 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38407 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38413 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38417 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38418 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38421 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38424 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38425 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38426 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38427 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38428 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38429 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38430 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38431 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38432 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38433 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38435 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38437 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38438 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38441 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38442 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38443 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38444 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38445 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38446 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38447 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38453 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38463 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38464 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38468 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38469 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38470 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38471 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38472 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38473 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38474 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38475 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38476 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38477 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38478 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38479 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38480 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38481 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38482 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38484 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38485 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38491 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38492 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38493 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38494 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38495 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38496 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38497 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38498 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38499 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38500 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38501 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38502 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38504 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38505 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38507 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38508 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38509 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38510 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38511 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38512 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38513 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38515 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38516 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38517 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38519 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38520 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38524 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38525 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38526 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38527 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38532 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38533 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38535 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38536 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38537 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38538 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38540 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38541 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38542 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38543 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38544 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38545 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38546 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38547 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38548 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38550 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38551 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38553 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38556 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38557 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38558 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38560 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38563 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38564 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38570 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38574 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38583 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38585 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38586 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38588 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38589 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38591 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38592 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38593 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38594 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38595 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38596 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38597 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38598 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38599 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38600 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38601 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38602 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38603 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38604 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38605 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38606 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38607 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38609 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38610 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38611 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38612 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38613 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38614 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38615 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38624 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38625 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38627 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38628 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38629 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38630 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38631 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38632 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38633 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38634 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38635 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38637 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38638 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38639 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38642 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38643 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38644 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38647 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38653 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38658 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38659 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38661 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38667 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38670 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38671 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38672 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38673 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38674 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38675 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38676 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38677 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38678 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38679 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38680 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38681 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38682 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38694 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38695 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38696 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38698 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38699 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38701 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38702 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38703 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38704 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38708 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38709 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38711 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38712 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38713 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38714 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38715 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38716 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38717 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38718 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38719 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38721 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38724 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38725 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38726 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38727 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38728 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38729 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38730 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38731 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38741 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38742 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38743 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38745 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38749 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38750 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38751 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38752 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38753 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38754 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38760 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38761 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38762 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38812 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38814 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38815 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38816 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38823 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38824 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38825 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38826 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38827 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38832 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38833 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38834 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38835 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38844 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38845 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38846 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38847 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38848 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38849 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38850 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38851 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38852 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38853 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38854 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38855 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38858 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38860 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38862 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38864 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38865 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38868 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38869 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38873 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38875 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38878 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38879 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38880 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38881 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38882 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38883 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38884 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38892 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38894 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38895 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38896 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38898 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38899 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38900 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38902 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38903 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38904 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38905 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38906 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38907 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38908 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38913 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38914 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38915 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38918 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38919 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38920 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38922 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38923 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38925 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38926 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38928 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38929 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38930 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38931 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38932 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38934 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38935 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38936 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38938 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38939 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38941 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38942 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38945 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38946 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38948 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38951 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38952 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38953 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
38955 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
38956 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
38958 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
38959 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
38960 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38961 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38962 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
38964 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38965 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38966 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38968 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38969 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38971 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38972 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38973 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38974 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38975 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38976 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38977 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38978 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38979 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38980 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38981 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38982 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38983 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38984 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38985 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38986 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38987 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38988 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38989 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38993 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38995 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39001 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39003 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39004 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39005 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39006 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39007 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39008 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39010 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39011 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39012 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39019 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39022 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39023 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39026 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39027 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39030 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39037 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39038 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39041 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39042 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39048 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39049 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39050 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39051 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39069 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39070 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39071 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39072 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39073 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39076 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39083 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39085 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39086 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39088 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39089 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39090 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39091 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39092 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39093 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39094 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39095 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39096 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39097 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39098 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39099 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39101 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39109 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39111 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39113 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39114 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39115 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39116 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39117 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39118 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39124 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39125 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39126 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39127 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39128 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39129 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39133 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39137 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39141 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39142 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39143 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39148 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39149 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39150 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39151 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39152 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39153 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39154 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39155 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39156 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39157 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39158 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39159 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39168 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39169 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39171 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39172 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39173 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39174 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39175 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39176 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39177 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39178 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39179 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39180 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39181 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39182 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39183 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39184 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39185 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39186 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39187 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39188 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39189 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39190 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39191 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39192 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39193 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39194 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39196 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39198 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39199 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39200 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39201 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39214 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39215 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39216 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39218 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39220 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39221 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39222 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39223 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39224 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39225 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39278 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39288 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39289 { NULL
, NULL
, 0, NULL
}
39293 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39295 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39296 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39298 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39299 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39301 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39302 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39304 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39305 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39307 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39308 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39310 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39311 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39313 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39314 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39316 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39317 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39319 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39320 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39322 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39323 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39325 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39326 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39328 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39329 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39331 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39332 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39334 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39335 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39337 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39338 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39340 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39341 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39343 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39344 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39346 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39347 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39349 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39350 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39352 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39353 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39355 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39356 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39358 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39359 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39361 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39362 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39364 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39365 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39367 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39368 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39370 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39371 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39373 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39374 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39376 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39377 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39379 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39380 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39382 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39383 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39385 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39386 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39388 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39389 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39391 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39392 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39394 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39395 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39397 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39398 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39400 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39401 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39403 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39404 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39406 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39407 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39409 static void *_p_wxPenTo_p_wxObject(void *x
) {
39410 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39412 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39413 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39415 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39416 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39418 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39419 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39421 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39424 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39425 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39427 static void *_p_wxIconTo_p_wxObject(void *x
) {
39428 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39430 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39431 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39433 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39434 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39436 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39437 return (void *)((wxObject
*) ((wxSizer
*) x
));
39439 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39440 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39442 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39445 static void *_p_wxEventTo_p_wxObject(void *x
) {
39446 return (void *)((wxObject
*) ((wxEvent
*) x
));
39448 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39449 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39451 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39452 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39454 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39455 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39457 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39458 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39460 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39463 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39464 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39466 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39467 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39469 static void *_p_wxDCTo_p_wxObject(void *x
) {
39470 return (void *)((wxObject
*) ((wxDC
*) x
));
39472 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39473 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39475 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39476 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39478 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39479 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39481 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39482 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39484 static void *_p_wxControlTo_p_wxObject(void *x
) {
39485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39487 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39488 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39490 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39491 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39493 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39494 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39496 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39497 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39499 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39500 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39502 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39503 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39505 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39506 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39508 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39509 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39511 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39512 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39514 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39515 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39517 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39518 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39520 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39521 return (void *)((wxObject
*) ((wxEffects
*) x
));
39523 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39524 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39526 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39529 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39530 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39532 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39533 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39535 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39536 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39538 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39541 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39544 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39545 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39547 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39550 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39551 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39553 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39554 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39556 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39557 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39559 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39560 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39562 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39563 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39565 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39566 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39568 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39571 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39574 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39577 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39580 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39583 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39584 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39586 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39587 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39589 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39590 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39592 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39595 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39598 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39599 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39601 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39602 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39604 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39605 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39607 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39610 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39611 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39613 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39614 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39616 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39617 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39619 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39620 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39622 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39623 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39625 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39626 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39628 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39629 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39631 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39632 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39634 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39635 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39637 static void *_p_wxImageTo_p_wxObject(void *x
) {
39638 return (void *)((wxObject
*) ((wxImage
*) x
));
39640 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39641 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39643 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39644 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39646 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39647 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39649 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39650 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39652 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39653 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39655 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39656 return (void *)((wxObject
*) ((wxImageList
*) x
));
39658 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39659 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39661 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39664 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39667 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39670 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39673 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39676 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39677 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39679 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39680 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39682 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39683 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39685 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39686 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39688 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39691 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39692 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39694 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39695 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39697 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39698 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39700 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39701 return (void *)((wxObject
*) ((wxMask
*) x
));
39703 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39704 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39706 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39707 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39709 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39710 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39712 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39715 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39716 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39718 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39719 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39721 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39722 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39724 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39727 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39728 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39730 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39733 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39736 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39739 static void *_p_wxFontTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39742 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39745 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39748 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39751 static void *_p_wxColourTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) ((wxColour
*) x
));
39754 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39757 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39760 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39761 return (void *)((wxWindow
*) ((wxControl
*) x
));
39763 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39764 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39766 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39767 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39769 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39770 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39772 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39773 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39775 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39776 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39777 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39778 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};
39779 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39780 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39781 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39782 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39783 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39784 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39785 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39786 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39787 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39788 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39789 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39790 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39791 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39792 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39793 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39794 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39795 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39796 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39797 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39798 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39799 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39800 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39801 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39802 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39803 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39804 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39805 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39806 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39807 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39808 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39809 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39810 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39811 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39812 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39813 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39814 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39815 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39816 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39817 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39818 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39819 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39820 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39821 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39822 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39823 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39824 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39825 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39826 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39827 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39828 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39829 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39830 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39831 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39832 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39833 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39834 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39835 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39836 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39837 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39838 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39839 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39840 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39841 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39842 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39843 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39844 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39845 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39846 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39847 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39848 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39849 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39850 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39851 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39852 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39853 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39854 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39855 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39856 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39857 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39858 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39859 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39860 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39861 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39862 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39863 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39864 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39865 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39866 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39867 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39868 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39869 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39870 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39871 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39872 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39873 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39874 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39875 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39876 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39877 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39878 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39879 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39880 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39881 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39882 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39883 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39884 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39885 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39886 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39887 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39888 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39889 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39890 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39891 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39892 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39893 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39894 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39895 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39896 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39897 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39898 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39899 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39900 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39901 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39902 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39903 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39904 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39905 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39906 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39907 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39908 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39909 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39910 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39911 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39912 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39913 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39914 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39915 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39916 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39917 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39918 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39919 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39920 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39921 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39922 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39923 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39924 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39925 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39926 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39927 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39928 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39929 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39930 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39931 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39932 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39933 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39934 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39935 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39936 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39937 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39938 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39939 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39940 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39941 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39942 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39943 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39944 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39945 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39947 static swig_type_info
*swig_type_initial
[] = {
39951 &_swigt__p_form_ops_t
,
39953 &_swigt__p_unsigned_char
,
39954 &_swigt__p_unsigned_int
,
39955 &_swigt__p_unsigned_long
,
39957 &_swigt__p_wxANIHandler
,
39958 &_swigt__p_wxAcceleratorTable
,
39959 &_swigt__p_wxActivateEvent
,
39960 &_swigt__p_wxAlphaPixelData
,
39961 &_swigt__p_wxAlphaPixelData_Accessor
,
39962 &_swigt__p_wxAutoBufferedPaintDC
,
39963 &_swigt__p_wxBMPHandler
,
39964 &_swigt__p_wxBitmap
,
39965 &_swigt__p_wxBoxSizer
,
39966 &_swigt__p_wxBrush
,
39967 &_swigt__p_wxBrushList
,
39968 &_swigt__p_wxBufferedDC
,
39969 &_swigt__p_wxBufferedPaintDC
,
39970 &_swigt__p_wxCURHandler
,
39972 &_swigt__p_wxChildFocusEvent
,
39973 &_swigt__p_wxClientDC
,
39974 &_swigt__p_wxClipboardTextEvent
,
39975 &_swigt__p_wxCloseEvent
,
39976 &_swigt__p_wxColor
,
39977 &_swigt__p_wxColour
,
39978 &_swigt__p_wxColourDatabase
,
39979 &_swigt__p_wxCommandEvent
,
39980 &_swigt__p_wxContextMenuEvent
,
39981 &_swigt__p_wxControl
,
39982 &_swigt__p_wxControlWithItems
,
39983 &_swigt__p_wxCursor
,
39985 &_swigt__p_wxDCBrushChanger
,
39986 &_swigt__p_wxDCClipper
,
39987 &_swigt__p_wxDCOverlay
,
39988 &_swigt__p_wxDCPenChanger
,
39989 &_swigt__p_wxDCTextColourChanger
,
39991 &_swigt__p_wxDateEvent
,
39992 &_swigt__p_wxDisplayChangedEvent
,
39993 &_swigt__p_wxDropFilesEvent
,
39994 &_swigt__p_wxDuplexMode
,
39995 &_swigt__p_wxEffects
,
39996 &_swigt__p_wxEncodingConverter
,
39997 &_swigt__p_wxEraseEvent
,
39998 &_swigt__p_wxEvent
,
39999 &_swigt__p_wxEvtHandler
,
40000 &_swigt__p_wxFSFile
,
40001 &_swigt__p_wxFileSystem
,
40002 &_swigt__p_wxFlexGridSizer
,
40003 &_swigt__p_wxFocusEvent
,
40005 &_swigt__p_wxFontList
,
40006 &_swigt__p_wxFontMapper
,
40007 &_swigt__p_wxGBSizerItem
,
40009 &_swigt__p_wxGDIObjListBase
,
40010 &_swigt__p_wxGDIObject
,
40011 &_swigt__p_wxGIFHandler
,
40012 &_swigt__p_wxGraphicsBrush
,
40013 &_swigt__p_wxGraphicsContext
,
40014 &_swigt__p_wxGraphicsFont
,
40015 &_swigt__p_wxGraphicsMatrix
,
40016 &_swigt__p_wxGraphicsObject
,
40017 &_swigt__p_wxGraphicsPath
,
40018 &_swigt__p_wxGraphicsPen
,
40019 &_swigt__p_wxGraphicsRenderer
,
40020 &_swigt__p_wxGridBagSizer
,
40021 &_swigt__p_wxGridSizer
,
40022 &_swigt__p_wxHeaderButtonParams
,
40023 &_swigt__p_wxICOHandler
,
40025 &_swigt__p_wxIconBundle
,
40026 &_swigt__p_wxIconLocation
,
40027 &_swigt__p_wxIconizeEvent
,
40028 &_swigt__p_wxIdleEvent
,
40029 &_swigt__p_wxImage
,
40030 &_swigt__p_wxImageHandler
,
40031 &_swigt__p_wxImageList
,
40032 &_swigt__p_wxIndividualLayoutConstraint
,
40033 &_swigt__p_wxInitDialogEvent
,
40034 &_swigt__p_wxJPEGHandler
,
40035 &_swigt__p_wxKeyEvent
,
40036 &_swigt__p_wxLanguageInfo
,
40037 &_swigt__p_wxLayoutConstraints
,
40038 &_swigt__p_wxLocale
,
40040 &_swigt__p_wxMaximizeEvent
,
40041 &_swigt__p_wxMemoryDC
,
40043 &_swigt__p_wxMenuBar
,
40044 &_swigt__p_wxMenuEvent
,
40045 &_swigt__p_wxMenuItem
,
40046 &_swigt__p_wxMetaFile
,
40047 &_swigt__p_wxMetaFileDC
,
40048 &_swigt__p_wxMirrorDC
,
40049 &_swigt__p_wxMouseCaptureChangedEvent
,
40050 &_swigt__p_wxMouseCaptureLostEvent
,
40051 &_swigt__p_wxMouseEvent
,
40052 &_swigt__p_wxMoveEvent
,
40053 &_swigt__p_wxNativeEncodingInfo
,
40054 &_swigt__p_wxNativeFontInfo
,
40055 &_swigt__p_wxNativePixelData
,
40056 &_swigt__p_wxNativePixelData_Accessor
,
40057 &_swigt__p_wxNavigationKeyEvent
,
40058 &_swigt__p_wxNcPaintEvent
,
40059 &_swigt__p_wxNotifyEvent
,
40060 &_swigt__p_wxObject
,
40061 &_swigt__p_wxOverlay
,
40062 &_swigt__p_wxPCXHandler
,
40063 &_swigt__p_wxPNGHandler
,
40064 &_swigt__p_wxPNMHandler
,
40065 &_swigt__p_wxPaintDC
,
40066 &_swigt__p_wxPaintEvent
,
40067 &_swigt__p_wxPalette
,
40068 &_swigt__p_wxPaletteChangedEvent
,
40069 &_swigt__p_wxPaperSize
,
40071 &_swigt__p_wxPenList
,
40072 &_swigt__p_wxPixelDataBase
,
40073 &_swigt__p_wxPoint
,
40074 &_swigt__p_wxPoint2D
,
40075 &_swigt__p_wxPoint2DDouble
,
40076 &_swigt__p_wxPostScriptDC
,
40077 &_swigt__p_wxPrintData
,
40078 &_swigt__p_wxPrinterDC
,
40079 &_swigt__p_wxPseudoDC
,
40080 &_swigt__p_wxPyApp
,
40081 &_swigt__p_wxPyCommandEvent
,
40082 &_swigt__p_wxPyEvent
,
40083 &_swigt__p_wxPyFontEnumerator
,
40084 &_swigt__p_wxPyImageHandler
,
40085 &_swigt__p_wxPyLocale
,
40086 &_swigt__p_wxPySizer
,
40087 &_swigt__p_wxPyValidator
,
40088 &_swigt__p_wxQueryNewPaletteEvent
,
40090 &_swigt__p_wxRect2DDouble
,
40091 &_swigt__p_wxRegion
,
40092 &_swigt__p_wxRegionIterator
,
40093 &_swigt__p_wxRendererNative
,
40094 &_swigt__p_wxRendererVersion
,
40095 &_swigt__p_wxScreenDC
,
40096 &_swigt__p_wxScrollEvent
,
40097 &_swigt__p_wxScrollWinEvent
,
40098 &_swigt__p_wxSetCursorEvent
,
40099 &_swigt__p_wxShowEvent
,
40101 &_swigt__p_wxSizeEvent
,
40102 &_swigt__p_wxSizer
,
40103 &_swigt__p_wxSizerItem
,
40104 &_swigt__p_wxSplitterRenderParams
,
40105 &_swigt__p_wxStaticBoxSizer
,
40106 &_swigt__p_wxStdDialogButtonSizer
,
40107 &_swigt__p_wxStockGDI
,
40108 &_swigt__p_wxString
,
40109 &_swigt__p_wxSysColourChangedEvent
,
40110 &_swigt__p_wxTGAHandler
,
40111 &_swigt__p_wxTIFFHandler
,
40112 &_swigt__p_wxUpdateUIEvent
,
40113 &_swigt__p_wxValidator
,
40114 &_swigt__p_wxWindow
,
40115 &_swigt__p_wxWindowCreateEvent
,
40116 &_swigt__p_wxWindowDC
,
40117 &_swigt__p_wxWindowDestroyEvent
,
40118 &_swigt__p_wxXPMHandler
,
40121 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40136 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}};
40137 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40139 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}};
40140 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40144 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}};
40145 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40158 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}};
40159 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}};
40160 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40164 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}};
40165 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40175 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}};
40176 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40177 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}};
40178 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40179 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40185 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40186 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40206 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40223 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40224 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40225 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40227 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40228 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40229 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40230 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40240 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40241 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40242 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40243 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40269 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}};
40270 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40290 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}};
40291 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info
*swig_cast_initial
[] = {
40297 _swigc__p_form_ops_t
,
40299 _swigc__p_unsigned_char
,
40300 _swigc__p_unsigned_int
,
40301 _swigc__p_unsigned_long
,
40303 _swigc__p_wxANIHandler
,
40304 _swigc__p_wxAcceleratorTable
,
40305 _swigc__p_wxActivateEvent
,
40306 _swigc__p_wxAlphaPixelData
,
40307 _swigc__p_wxAlphaPixelData_Accessor
,
40308 _swigc__p_wxAutoBufferedPaintDC
,
40309 _swigc__p_wxBMPHandler
,
40310 _swigc__p_wxBitmap
,
40311 _swigc__p_wxBoxSizer
,
40313 _swigc__p_wxBrushList
,
40314 _swigc__p_wxBufferedDC
,
40315 _swigc__p_wxBufferedPaintDC
,
40316 _swigc__p_wxCURHandler
,
40318 _swigc__p_wxChildFocusEvent
,
40319 _swigc__p_wxClientDC
,
40320 _swigc__p_wxClipboardTextEvent
,
40321 _swigc__p_wxCloseEvent
,
40323 _swigc__p_wxColour
,
40324 _swigc__p_wxColourDatabase
,
40325 _swigc__p_wxCommandEvent
,
40326 _swigc__p_wxContextMenuEvent
,
40327 _swigc__p_wxControl
,
40328 _swigc__p_wxControlWithItems
,
40329 _swigc__p_wxCursor
,
40331 _swigc__p_wxDCBrushChanger
,
40332 _swigc__p_wxDCClipper
,
40333 _swigc__p_wxDCOverlay
,
40334 _swigc__p_wxDCPenChanger
,
40335 _swigc__p_wxDCTextColourChanger
,
40337 _swigc__p_wxDateEvent
,
40338 _swigc__p_wxDisplayChangedEvent
,
40339 _swigc__p_wxDropFilesEvent
,
40340 _swigc__p_wxDuplexMode
,
40341 _swigc__p_wxEffects
,
40342 _swigc__p_wxEncodingConverter
,
40343 _swigc__p_wxEraseEvent
,
40345 _swigc__p_wxEvtHandler
,
40346 _swigc__p_wxFSFile
,
40347 _swigc__p_wxFileSystem
,
40348 _swigc__p_wxFlexGridSizer
,
40349 _swigc__p_wxFocusEvent
,
40351 _swigc__p_wxFontList
,
40352 _swigc__p_wxFontMapper
,
40353 _swigc__p_wxGBSizerItem
,
40355 _swigc__p_wxGDIObjListBase
,
40356 _swigc__p_wxGDIObject
,
40357 _swigc__p_wxGIFHandler
,
40358 _swigc__p_wxGraphicsBrush
,
40359 _swigc__p_wxGraphicsContext
,
40360 _swigc__p_wxGraphicsFont
,
40361 _swigc__p_wxGraphicsMatrix
,
40362 _swigc__p_wxGraphicsObject
,
40363 _swigc__p_wxGraphicsPath
,
40364 _swigc__p_wxGraphicsPen
,
40365 _swigc__p_wxGraphicsRenderer
,
40366 _swigc__p_wxGridBagSizer
,
40367 _swigc__p_wxGridSizer
,
40368 _swigc__p_wxHeaderButtonParams
,
40369 _swigc__p_wxICOHandler
,
40371 _swigc__p_wxIconBundle
,
40372 _swigc__p_wxIconLocation
,
40373 _swigc__p_wxIconizeEvent
,
40374 _swigc__p_wxIdleEvent
,
40376 _swigc__p_wxImageHandler
,
40377 _swigc__p_wxImageList
,
40378 _swigc__p_wxIndividualLayoutConstraint
,
40379 _swigc__p_wxInitDialogEvent
,
40380 _swigc__p_wxJPEGHandler
,
40381 _swigc__p_wxKeyEvent
,
40382 _swigc__p_wxLanguageInfo
,
40383 _swigc__p_wxLayoutConstraints
,
40384 _swigc__p_wxLocale
,
40386 _swigc__p_wxMaximizeEvent
,
40387 _swigc__p_wxMemoryDC
,
40389 _swigc__p_wxMenuBar
,
40390 _swigc__p_wxMenuEvent
,
40391 _swigc__p_wxMenuItem
,
40392 _swigc__p_wxMetaFile
,
40393 _swigc__p_wxMetaFileDC
,
40394 _swigc__p_wxMirrorDC
,
40395 _swigc__p_wxMouseCaptureChangedEvent
,
40396 _swigc__p_wxMouseCaptureLostEvent
,
40397 _swigc__p_wxMouseEvent
,
40398 _swigc__p_wxMoveEvent
,
40399 _swigc__p_wxNativeEncodingInfo
,
40400 _swigc__p_wxNativeFontInfo
,
40401 _swigc__p_wxNativePixelData
,
40402 _swigc__p_wxNativePixelData_Accessor
,
40403 _swigc__p_wxNavigationKeyEvent
,
40404 _swigc__p_wxNcPaintEvent
,
40405 _swigc__p_wxNotifyEvent
,
40406 _swigc__p_wxObject
,
40407 _swigc__p_wxOverlay
,
40408 _swigc__p_wxPCXHandler
,
40409 _swigc__p_wxPNGHandler
,
40410 _swigc__p_wxPNMHandler
,
40411 _swigc__p_wxPaintDC
,
40412 _swigc__p_wxPaintEvent
,
40413 _swigc__p_wxPalette
,
40414 _swigc__p_wxPaletteChangedEvent
,
40415 _swigc__p_wxPaperSize
,
40417 _swigc__p_wxPenList
,
40418 _swigc__p_wxPixelDataBase
,
40420 _swigc__p_wxPoint2D
,
40421 _swigc__p_wxPoint2DDouble
,
40422 _swigc__p_wxPostScriptDC
,
40423 _swigc__p_wxPrintData
,
40424 _swigc__p_wxPrinterDC
,
40425 _swigc__p_wxPseudoDC
,
40427 _swigc__p_wxPyCommandEvent
,
40428 _swigc__p_wxPyEvent
,
40429 _swigc__p_wxPyFontEnumerator
,
40430 _swigc__p_wxPyImageHandler
,
40431 _swigc__p_wxPyLocale
,
40432 _swigc__p_wxPySizer
,
40433 _swigc__p_wxPyValidator
,
40434 _swigc__p_wxQueryNewPaletteEvent
,
40436 _swigc__p_wxRect2DDouble
,
40437 _swigc__p_wxRegion
,
40438 _swigc__p_wxRegionIterator
,
40439 _swigc__p_wxRendererNative
,
40440 _swigc__p_wxRendererVersion
,
40441 _swigc__p_wxScreenDC
,
40442 _swigc__p_wxScrollEvent
,
40443 _swigc__p_wxScrollWinEvent
,
40444 _swigc__p_wxSetCursorEvent
,
40445 _swigc__p_wxShowEvent
,
40447 _swigc__p_wxSizeEvent
,
40449 _swigc__p_wxSizerItem
,
40450 _swigc__p_wxSplitterRenderParams
,
40451 _swigc__p_wxStaticBoxSizer
,
40452 _swigc__p_wxStdDialogButtonSizer
,
40453 _swigc__p_wxStockGDI
,
40454 _swigc__p_wxString
,
40455 _swigc__p_wxSysColourChangedEvent
,
40456 _swigc__p_wxTGAHandler
,
40457 _swigc__p_wxTIFFHandler
,
40458 _swigc__p_wxUpdateUIEvent
,
40459 _swigc__p_wxValidator
,
40460 _swigc__p_wxWindow
,
40461 _swigc__p_wxWindowCreateEvent
,
40462 _swigc__p_wxWindowDC
,
40463 _swigc__p_wxWindowDestroyEvent
,
40464 _swigc__p_wxXPMHandler
,
40468 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40470 static swig_const_info swig_const_table
[] = {
40471 {0, 0, 0, 0.0, 0, 0}};
40476 /* -----------------------------------------------------------------------------
40477 * Type initialization:
40478 * This problem is tough by the requirement that no dynamic
40479 * memory is used. Also, since swig_type_info structures store pointers to
40480 * swig_cast_info structures and swig_cast_info structures store pointers back
40481 * to swig_type_info structures, we need some lookup code at initialization.
40482 * The idea is that swig generates all the structures that are needed.
40483 * The runtime then collects these partially filled structures.
40484 * The SWIG_InitializeModule function takes these initial arrays out of
40485 * swig_module, and does all the lookup, filling in the swig_module.types
40486 * array with the correct data and linking the correct swig_cast_info
40487 * structures together.
40489 * The generated swig_type_info structures are assigned staticly to an initial
40490 * array. We just loop though that array, and handle each type individually.
40491 * First we lookup if this type has been already loaded, and if so, use the
40492 * loaded structure instead of the generated one. Then we have to fill in the
40493 * cast linked list. The cast data is initially stored in something like a
40494 * two-dimensional array. Each row corresponds to a type (there are the same
40495 * number of rows as there are in the swig_type_initial array). Each entry in
40496 * a column is one of the swig_cast_info structures for that type.
40497 * The cast_initial array is actually an array of arrays, because each row has
40498 * a variable number of columns. So to actually build the cast linked list,
40499 * we find the array of casts associated with the type, and loop through it
40500 * adding the casts to the list. The one last trick we need to do is making
40501 * sure the type pointer in the swig_cast_info struct is correct.
40503 * First off, we lookup the cast->type name to see if it is already loaded.
40504 * There are three cases to handle:
40505 * 1) If the cast->type has already been loaded AND the type we are adding
40506 * casting info to has not been loaded (it is in this module), THEN we
40507 * replace the cast->type pointer with the type pointer that has already
40509 * 2) If BOTH types (the one we are adding casting info to, and the
40510 * cast->type) are loaded, THEN the cast info has already been loaded by
40511 * the previous module so we just ignore it.
40512 * 3) Finally, if cast->type has not already been loaded, then we add that
40513 * swig_cast_info to the linked list (because the cast->type) pointer will
40515 * ----------------------------------------------------------------------------- */
40525 #define SWIGRUNTIME_DEBUG
40529 SWIG_InitializeModule(void *clientdata
) {
40531 swig_module_info
*module_head
;
40532 static int init_run
= 0;
40534 clientdata
= clientdata
;
40536 if (init_run
) return;
40539 /* Initialize the swig_module */
40540 swig_module
.type_initial
= swig_type_initial
;
40541 swig_module
.cast_initial
= swig_cast_initial
;
40543 /* Try and load any already created modules */
40544 module_head
= SWIG_GetModule(clientdata
);
40546 swig_module
.next
= module_head
->next
;
40547 module_head
->next
= &swig_module
;
40549 /* This is the first module loaded */
40550 swig_module
.next
= &swig_module
;
40551 SWIG_SetModule(clientdata
, &swig_module
);
40554 /* Now work on filling in swig_module.types */
40555 #ifdef SWIGRUNTIME_DEBUG
40556 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40558 for (i
= 0; i
< swig_module
.size
; ++i
) {
40559 swig_type_info
*type
= 0;
40560 swig_type_info
*ret
;
40561 swig_cast_info
*cast
;
40563 #ifdef SWIGRUNTIME_DEBUG
40564 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40567 /* if there is another module already loaded */
40568 if (swig_module
.next
!= &swig_module
) {
40569 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40572 /* Overwrite clientdata field */
40573 #ifdef SWIGRUNTIME_DEBUG
40574 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40576 if (swig_module
.type_initial
[i
]->clientdata
) {
40577 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40578 #ifdef SWIGRUNTIME_DEBUG
40579 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40583 type
= swig_module
.type_initial
[i
];
40586 /* Insert casting types */
40587 cast
= swig_module
.cast_initial
[i
];
40588 while (cast
->type
) {
40589 /* Don't need to add information already in the list */
40591 #ifdef SWIGRUNTIME_DEBUG
40592 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40594 if (swig_module
.next
!= &swig_module
) {
40595 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40596 #ifdef SWIGRUNTIME_DEBUG
40597 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40601 if (type
== swig_module
.type_initial
[i
]) {
40602 #ifdef SWIGRUNTIME_DEBUG
40603 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40608 /* Check for casting already in the list */
40609 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40610 #ifdef SWIGRUNTIME_DEBUG
40611 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40613 if (!ocast
) ret
= 0;
40618 #ifdef SWIGRUNTIME_DEBUG
40619 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40622 type
->cast
->prev
= cast
;
40623 cast
->next
= type
->cast
;
40629 /* Set entry in modules->types array equal to the type */
40630 swig_module
.types
[i
] = type
;
40632 swig_module
.types
[i
] = 0;
40634 #ifdef SWIGRUNTIME_DEBUG
40635 printf("**** SWIG_InitializeModule: Cast List ******\n");
40636 for (i
= 0; i
< swig_module
.size
; ++i
) {
40638 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40639 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40640 while (cast
->type
) {
40641 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40645 printf("---- Total casts: %d\n",j
);
40647 printf("**** SWIG_InitializeModule: Cast List ******\n");
40651 /* This function will propagate the clientdata field of type to
40652 * any new swig_type_info structures that have been added into the list
40653 * of equivalent types. It is like calling
40654 * SWIG_TypeClientData(type, clientdata) a second time.
40657 SWIG_PropagateClientData(void) {
40659 swig_cast_info
*equiv
;
40660 static int init_run
= 0;
40662 if (init_run
) return;
40665 for (i
= 0; i
< swig_module
.size
; i
++) {
40666 if (swig_module
.types
[i
]->clientdata
) {
40667 equiv
= swig_module
.types
[i
]->cast
;
40669 if (!equiv
->converter
) {
40670 if (equiv
->type
&& !equiv
->type
->clientdata
)
40671 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40673 equiv
= equiv
->next
;
40693 /* Python-specific SWIG API */
40694 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40695 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40696 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40698 /* -----------------------------------------------------------------------------
40699 * global variable support code.
40700 * ----------------------------------------------------------------------------- */
40702 typedef struct swig_globalvar
{
40703 char *name
; /* Name of global variable */
40704 PyObject
*(*get_attr
)(void); /* Return the current value */
40705 int (*set_attr
)(PyObject
*); /* Set the value */
40706 struct swig_globalvar
*next
;
40709 typedef struct swig_varlinkobject
{
40711 swig_globalvar
*vars
;
40712 } swig_varlinkobject
;
40714 SWIGINTERN PyObject
*
40715 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40716 return PyString_FromString("<Swig global variables>");
40719 SWIGINTERN PyObject
*
40720 swig_varlink_str(swig_varlinkobject
*v
) {
40721 PyObject
*str
= PyString_FromString("(");
40722 swig_globalvar
*var
;
40723 for (var
= v
->vars
; var
; var
=var
->next
) {
40724 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40725 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40727 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40732 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40733 PyObject
*str
= swig_varlink_str(v
);
40734 fprintf(fp
,"Swig global variables ");
40735 fprintf(fp
,"%s\n", PyString_AsString(str
));
40741 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40742 swig_globalvar
*var
= v
->vars
;
40744 swig_globalvar
*n
= var
->next
;
40751 SWIGINTERN PyObject
*
40752 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40753 PyObject
*res
= NULL
;
40754 swig_globalvar
*var
= v
->vars
;
40756 if (strcmp(var
->name
,n
) == 0) {
40757 res
= (*var
->get_attr
)();
40762 if (res
== NULL
&& !PyErr_Occurred()) {
40763 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40769 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40771 swig_globalvar
*var
= v
->vars
;
40773 if (strcmp(var
->name
,n
) == 0) {
40774 res
= (*var
->set_attr
)(p
);
40779 if (res
== 1 && !PyErr_Occurred()) {
40780 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40785 SWIGINTERN PyTypeObject
*
40786 swig_varlink_type(void) {
40787 static char varlink__doc__
[] = "Swig var link object";
40788 static PyTypeObject varlink_type
;
40789 static int type_init
= 0;
40791 const PyTypeObject tmp
40793 PyObject_HEAD_INIT(NULL
)
40794 0, /* Number of items in variable part (ob_size) */
40795 (char *)"swigvarlink", /* Type name (tp_name) */
40796 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40797 0, /* Itemsize (tp_itemsize) */
40798 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40799 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40800 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40801 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40802 0, /* tp_compare */
40803 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40804 0, /* tp_as_number */
40805 0, /* tp_as_sequence */
40806 0, /* tp_as_mapping */
40809 (reprfunc
)swig_varlink_str
, /* tp_str */
40810 0, /* tp_getattro */
40811 0, /* tp_setattro */
40812 0, /* tp_as_buffer */
40814 varlink__doc__
, /* tp_doc */
40815 0, /* tp_traverse */
40817 0, /* tp_richcompare */
40818 0, /* tp_weaklistoffset */
40819 #if PY_VERSION_HEX >= 0x02020000
40820 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40822 #if PY_VERSION_HEX >= 0x02030000
40825 #ifdef COUNT_ALLOCS
40826 0,0,0,0 /* tp_alloc -> tp_next */
40829 varlink_type
= tmp
;
40830 varlink_type
.ob_type
= &PyType_Type
;
40833 return &varlink_type
;
40836 /* Create a variable linking object for use later */
40837 SWIGINTERN PyObject
*
40838 SWIG_Python_newvarlink(void) {
40839 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40843 return ((PyObject
*) result
);
40847 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40848 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40849 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40851 size_t size
= strlen(name
)+1;
40852 gv
->name
= (char *)malloc(size
);
40854 strncpy(gv
->name
,name
,size
);
40855 gv
->get_attr
= get_attr
;
40856 gv
->set_attr
= set_attr
;
40857 gv
->next
= v
->vars
;
40863 SWIGINTERN PyObject
*
40865 static PyObject
*_SWIG_globals
= 0;
40866 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40867 return _SWIG_globals
;
40870 /* -----------------------------------------------------------------------------
40871 * constants/methods manipulation
40872 * ----------------------------------------------------------------------------- */
40874 /* Install Constants */
40876 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40879 for (i
= 0; constants
[i
].type
; ++i
) {
40880 switch(constants
[i
].type
) {
40881 case SWIG_PY_POINTER
:
40882 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40884 case SWIG_PY_BINARY
:
40885 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40892 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40898 /* -----------------------------------------------------------------------------*/
40899 /* Fix SwigMethods to carry the callback ptrs when needed */
40900 /* -----------------------------------------------------------------------------*/
40903 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40904 swig_const_info
*const_table
,
40905 swig_type_info
**types
,
40906 swig_type_info
**types_initial
) {
40908 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40909 const char *c
= methods
[i
].ml_doc
;
40910 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40912 swig_const_info
*ci
= 0;
40913 const char *name
= c
+ 10;
40914 for (j
= 0; const_table
[j
].type
; ++j
) {
40915 if (strncmp(const_table
[j
].name
, name
,
40916 strlen(const_table
[j
].name
)) == 0) {
40917 ci
= &(const_table
[j
]);
40922 size_t shift
= (ci
->ptype
) - types
;
40923 swig_type_info
*ty
= types_initial
[shift
];
40924 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40925 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40926 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40929 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40931 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40933 strncpy(buff
, "swig_ptr: ", 10);
40935 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40936 methods
[i
].ml_doc
= ndoc
;
40948 /* -----------------------------------------------------------------------------*
40949 * Partial Init method
40950 * -----------------------------------------------------------------------------*/
40955 SWIGEXPORT
void SWIG_init(void) {
40958 /* Fix SwigMethods to carry the callback ptrs when needed */
40959 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40961 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40962 d
= PyModule_GetDict(m
);
40964 SWIG_InitializeModule(0);
40965 SWIG_InstallConstants(d
,swig_const_table
);
40968 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40969 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40970 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40971 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40972 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40973 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40974 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40975 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40976 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40977 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40978 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40979 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40980 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40981 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40982 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40983 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40984 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40985 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40986 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40987 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40988 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40989 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40990 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40991 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40992 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40993 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40994 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40995 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40996 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40997 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40998 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40999 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41000 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41001 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41002 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41014 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41015 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41016 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41017 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41018 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41019 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41020 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41021 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41022 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41023 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41024 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41025 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41026 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41027 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41028 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41029 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41030 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41031 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41032 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41033 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41034 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41035 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41036 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41037 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41038 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41039 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41040 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41041 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41042 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41043 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41044 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41045 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41046 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41047 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41048 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41049 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41050 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41053 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41054 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41055 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41056 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41057 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41058 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41059 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41060 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41061 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41062 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41063 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41064 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41065 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41066 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41067 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41068 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41069 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41070 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41071 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41072 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41073 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41074 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41075 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41076 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41077 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41078 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41079 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41101 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41334 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41335 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41336 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41337 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41338 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41339 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41340 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41341 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41342 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41343 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41344 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41345 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41346 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41347 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41348 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41349 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41350 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41351 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41352 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41353 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41354 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41355 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41356 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41357 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41358 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41359 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41360 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41361 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41362 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41363 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41364 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41365 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41366 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41367 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41368 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41369 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41370 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41371 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41372 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41373 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41374 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41375 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41376 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41377 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41378 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41379 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41380 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41381 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41382 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41383 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41384 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41385 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41386 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41387 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41388 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41389 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41390 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41391 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41392 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41393 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41394 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41395 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41396 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41397 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41398 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41399 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41400 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41401 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41402 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41403 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41404 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41405 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41406 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41407 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41408 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41409 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41410 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41411 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41412 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41413 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41414 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41415 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41416 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41417 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41418 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41419 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41420 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41421 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41422 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41423 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41424 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41425 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41426 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41428 // Work around a chicken/egg problem in drawlist.cpp
41429 wxPyDrawList_SetAPIPtr();